I would like to add optional "description" attribute to the
input fields. Field description could be included in the
label or it could be described by a custom tag that
is placed just before or after the input field tag but I feel
it makes sense to add this to the tag itself as a separate
optional attribute.

Take a look at the added picture of input fields that are
rendered using tags like this:
#tag( TextField "label='Field label'" "name='text'" "value=text"
"description='Description text explaining what kind of input is expected in
this field'")

This requires adding getter and setter methods to the
AbstractUITag, modifying taglib for jsp tags and
modifying controlheader or controlfooter template as well.
And of course this feature would be entirely optional.

Well, what do you think? After all, we all want to create
better user interfaces for our apps.

taavi.

<<attachment: description-attribute.png>>

Reply via email to