[jboss-as7-dev] Attribute meta-data: max-length
Jeff Mesnil
jmesnil at redhat.com
Tue Jan 22 11:25:12 EST 2013
Le 22 janv. 2013 à 16:56, Heiko Braun <hbraun at redhat.com> a écrit :
> Some implications I would like to hear your thoughts about:
>
> a) lowering the default max-length might break your subsystem and/or specific clients
> b) keeping the current default and doing it case-by-case will result in text input (opposed to text area) for all String attributes once we switch to a dynamic UI (usability drawback).
That also means that depending on the max-length, the attributes would have to guard their values against line breaks (that you can have in a text area and not in a text input)…. Not sure if that'd a real problem in practice…
what about c) add an additional metadata flag to the attribute definition that can be set for the attributes that must be represented in a text area.
Heiko, wont' we have the same question with other types of input (e.g. time input to represent timeout, etc.)
jeff
--
Jeff Mesnil
JBoss, a division of Red Hat
http://jmesnil.net/
More information about the jboss-as7-dev
mailing list