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: Seam Text
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> to 
<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