[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-3139) the validate only works for the first inputText field if there are more then one inputText within <s:decorate> tag

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Jun 30 04:15:31 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-3139?page=all ]

Pete Muir closed JBSEAM-3139.
-----------------------------

    Resolution: Rejected

Use a s:decorate for each input.

> the validate only works for the first inputText field if there are more then one inputText within <s:decorate> tag
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-3139
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-3139
>             Project: Seam
>          Issue Type: Bug
>          Components: JSF Controls
>    Affects Versions: 2.0.2.GA
>         Environment: jboss4.2.2, seam 2.0.2GA
>            Reporter: ginger huangfu
>
> In our search page. there is balance range filter. I want to restrict the startBalance and endBalance within (1 to 5000). But the validate only works for the first <h:inputText> (startBalance in this case).
> <s:decorate id="balanceStartDecoration" template="/WEB-INF/decoration/field.xhtml">
> 		<ui:define name="label">Range</ui:define>
> 		 <h:inputText id="startBalance" value="#{test.startBalance}" >
> 				 <f:validateLongRange minimum="1" maximum="5000"/>
> 		  </h:inputText>&#160;to&#160;
> 		  <h:inputText id="endBalance" value="#{test.endBalance}" >
> 				 <f:validateLongRange minimum="1" maximum="5000"/>
> 		 </h:inputText>
> </s:decorate>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list