Em Thu, 10 Dec 2009 09:01:05 -0200, Jim O'Callaghan <jc1000...@yahoo.co.uk> escreveu:

Hi,

Hi!

Client - is it an incorrect approach to used Validators / Translators in
this scenario and if so can anyone advise on how to abstract and reuse an
embedded Address rendering approach?

Validators and translators are meant to be used with form fields, not rendering. They're not used by Grid nor BeanDisplay. To do what you want, you need to provide a viewing block to your Address class. The corresponding documentation is http://tapestry.apache.org/tapestry5.1/guide/beaneditform.html, section "Adding New Property Editors".

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, 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