On Mon, 21 May 2012 06:07:55 -0300, Michael Schmidt <css.liq...@googlemail.com> wrote:

Hi all,

Hi!

I'm trying to use the BeanEditForm for editing the data of a object and persist it using hibernate.

You either @Persist the object or use BeanEditor (which is the base of BeanEditForm) and use the Hidden component for the non-editable ones.

I expected non visual properties to be stored in hidden fields or something like this!?

Nope, they're ignored.

Btw: Is there a better way than using the @NonVisual annotation cause i dont't want to put this in my property.

Use the exclude parameter of BeanEditForm or BeanEditor.

--
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