On Fri, 04 Feb 2011 19:08:06 -0200, <[email protected]> wrote:

Here is what eventually seemed to work.  Is there a better way to do it?

I added @Persist to the item declaration:
@Persist
@Property
Item item;

I'd suggest using @Persist("flash") and invoking componentResources.discardPersistentFieldChanges() in the afterRender event:

void afterRender() {
        componentResources.discardPersistentFieldChanges();
}

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to