Em Sat, 18 Apr 2009 07:38:53 -0300, manuel aldana <ald...@gmx.de> escreveu:

Generally I would need something more flexible how to tell whether a parameter is read-only or editable inside the form. For my current problem the read-only vs. editable depends on roles (i.e. different roles have different access rights to edit certain fields).

This is easy: create a method that returns a BeanModel that will be passed to BeanEditForm/BeanEditor. This method will remove or reorder BeanModel properties according to your requirements.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to