webtier@glassfish.java.net

Re: [webtier] JSF 1.2 - f:validateLength + EL

From: Ed Burns <Ed.Burns_at_Sun.COM>
Date: Fri, 03 Apr 2009 14:01:24 +0200

>>>>> On Thu, 02 Apr 2009 13:15:43 -0700 (PDT), webtier_at_javadesktop.org said:

I> Is it possible to dynamically set the maximum and minimum attribute of the f:validateLength? I tried with an EL and it didn't work:
I> <h:inputText
I> id="none"
I> title="#{field.description}"
I> value="#{field.value}"
I> styleClass="input medium_field"
I> rendered="#{field.mask == null}"
I> required="true">
I> <f:validateLength maximum="#{field.max}" minimum="#{field.min}"/>
I> </h:inputText>

What's the scope for the managed-bean with name "field"?

Ed