I am working on a project where the datamodel is being changed
frequently. The bean edit form is a huge timesaver because it changes
automatically and I don't have to go in an edit every form.
However, I'm finding that I need a bit more explanatory information
for my test users. I know I can override the fields like this:
<t:beaneditform t:id="user" submitlabel="message:create-user">
<p:age>
<t:label for="age"/>
<t:textfield t:id="age" value="user.age"/>
<em>
Users must be between 18 and 99.
</em>
</p:age>
</t:beaneditform>
But then I have to maintain the .tml file more than I'd like at this stage.
Does anyone have any suggestions on how to get a bit more descriptive
information to the users from the .java page or a messages file
without needing to edit the .tml and override
For example an annotation that will give you a tooltip or fill in the
<em> tags as shown above would work, but I'm open to any suggestions
and looking for the simplest solution.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]