myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard <gerhard.petra...@gmail.com>
Subject Re: evaluating JSR-303 @Size(max=) for input fields?
Date Tue, 24 Aug 2010 21:44:12 GMT
hi,

extval supports such features (see [1] - in this case you just have to
switch to the bv-module - the rest works automatically).

regards,
gerhard

[1] http://jsfcentral.com/articles/myfaces_extval_1.html

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


2010/8/24 Mark Struberg <struberg@yahoo.de>

> Hi!
>
> Not sure if this is covered in the spec, but wouldn't if be useful to parse
> for
> the JSR-303 Size annotation [1] and use this value for the maxlength
> attribute
> of h:inputText fields if nothing is manually specified in the xhtml?
>
> LieGrue,
> strub
>
>
> [1]
> http://download.oracle.com/javaee/6/api/javax/validation/constraints/Size.html
>
>
>
>

Mime
View raw message