Ok, I'm starting to get a mental model of how the pages are set up/reused

One question, what is the ordering of these lifecycle events?

Is it

PageLoaded() // Fired when the container first loads the page

PageAttached() // Page attached to request
OnPassivate() // To create the URL + context
OnActivate() << When is this called?
PageDetached()  // Request has been sent

On Fri, Apr 17, 2009 at 10:34 PM, daniel joyce <daniel.a.jo...@gmail.com> wrote:
> I am using the Generic Select model with a Hibernate selected object.
>
> if I jump to the page with a non persisted object, make changes in my
> form and hit save, it throws up a exception.
>
> If I then reload the page, the form displays the object with all my
> changes. The OnActivate/Passivate method relay the object.
>
> If I go to the page from a page which initializes it with a persisted
> hibernate object, the page has a exception. Reload, and the form now
> displays fine.
>
> I've worked very hard to ensure the object is a member of the session
> before performing any operations, but it still crashes in this weird
> way. Changes are saved to the DB though when I get a successful
> commit.
>

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

Reply via email to