[jboss-user] [JBoss Seam] - s:validateAll and invalid facet only rendered on last invali

nickarls do-not-reply at jboss.com
Wed Oct 3 05:17:56 EDT 2007


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#4090929

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090929



More information about the jboss-user mailing list