On Thu, 03 Nov 2011 16:54:33 -0200, Wechsung, Wulf <wulf.wechs...@sap.com> wrote:

Hello T5-Users!

Hi!

However, I was wondering if there might be an easier way since the Form Component seems to add the 'name' attribute to each input element independent of the PropertyEditBlock. Is this done via JavaScript or is there as server-side mechanism in place that I could also use?

It's done by the form field components themselves, not by Form, and all server-side. You can write a mixin for Form components that uses Tapestry DOM rewriting (a.k.a. MarkupWriter and Element) to add the title attribute based in matching the id with some message in app.properties, just like field labels do.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to