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 <[email protected]> > 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 > > > >
