On Tue, 22 Mar 2011 17:53:12 -0300, Rich M <rich...@moremagic.com> wrote:

Okay, maybe I'm not interpreting the page lifecycle properly here, or it has changed it some way that is causing me problems? The entity is referenced and loaded properly in onPrepareForRender. Considering that BeanEditor only changes the value of the edited property if it's null, then what could be causing the private entity field to become set to null between onPrepareForRender and the coupling/rendering of the BeanEditor? I have no direct statements doing as much in my code.

Why don't you use onPrepare() instead of onPrepareForRender()?

In response to the Environment vs. Component Parameters, these are all Pages not Components. Actually this structure and exact use was discussed in this ( http://tapestry.markmail.org/thread/4rffky2r2uqno5ea#query:+page:1+mid:j375h7obo6hd2i6b+state:results ) previous thread.

I remember that. :) Yep, you need the Environment here.

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