Have I misunderstood something or shouldn't the following code produce an
"!" after both fields after clicking the button?
| <h:form>
| <f:facet name="afterInvalidField">
| <ice:outputText value="!" />
| </f:facet>
| <s:validateAll>
| <s:decorate>
| <h:inputText value="# identity.username}"
required="true"/>
| </s:decorate>
| <s:decorate>
| <h:inputText value="#{identity.password}"
required="true"/>
| </s:decorate>
| <h:commandButton value="login"
action="#{identity.login}"/>
| </s:validateAll>
| </h:form>
|
Now it is only drawn after the last invalid field? (2.0.0CR1)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090929#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...