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