Skip to main content

JSF 1.2 - f:validateLength + EL

2 replies [Last post]
israelbgf
Offline
Joined: 2009-03-31
Points: 0

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'm using Seam 2.1.1, on top of JSF 1.2_09 (with JBoss EL).

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Ed Burns

>>>>> On Thu, 02 Apr 2009 13:15:43 -0700 (PDT), webtier@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> 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>
I>

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

Ed

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

israelbgf
Offline
Joined: 2009-03-31
Points: 0

Request scope. It is a variable from another component:


id="none"
title="#{field.description}"
value="#{field.value}"
styleClass="input medium_field"
rendered="#{field.mask == null}"
required="true">




integracaoUsuario is Session scoped.