At some point, serializing that model
into the session has to get intensive.
Jonathan
> -Original Message-
> From: Luca Fossato [mailto:[EMAIL PROTECTED]
> Sent: Saturday, April 19, 2008 2:31 PM
> To: Tapestry users
> Subject: Re: [T5] way to check if the application is ent
Hi Geoff,
yes, I read those threads and I modeled my CRUD page using the
suggestions listed on your Mk VI page. Thank you.
As I was trying to explain to Jonathan Barker in my previous mail (ah,
my poor english ;^) , my CRUD page already used @Persist("flash") to
store the entity to modify.
Fossato [mailto:[EMAIL PROTECTED]
Sent: Friday, April 18, 2008 10:24 AM
To: Tapestry users
Subject: Re: [T5] way to check if the application is entering or exiting
from a page
Hi Chris,
thank you.
Sorry, I didn't explain well. I intended from an "html page" point of
view.
Examp
Hi Luka,
It's probably best to ditch the mental model of "rewind" and "render"
in T5. I think what you're after is covered in this thread on "Edit
page best practice":
http://thread.gmane.org/gmane.comp.java.tapestry.user/56176/focus=57580
It's discussed and demonstrated in Tapest
orm submit). You
may find this is satisfactory for your "cache".
Jonathan
> -Original Message-
> From: Luca Fossato [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 18, 2008 10:24 AM
> To: Tapestry users
> Subject: Re: [T5] way to check if the application i
It sounds like what you are describing is @Persist("flash") which
stores the object in the session until the next time its read
(generally on the render pass)
You can also take a look at
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/ComponentResourcesCommon.html#isRendering()
I'm sorry but I'm a bit confused by the terminology. I'm not a T4 user
and the only thing I know about "rewind" is that it does not exist in
T5. If you want to initialize business data, onActivate is the place to
do it. If you want to handle form events, use event handlers to catch
them. If you wan
Hi Chris,
thank you.
Sorry, I didn't explain well. I intended from an "html page" point of view.
Example: I have a page with a form. I'd like to track its lifecycle
both for the "rewind" and "render" phase
(I use T4 "rewind" term to indicate that the application is "exiting"
from a page, and "ren
Luca,
I think what you want is the page life cyle method "PageDetached." See:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/lifecycle.html
sincerely,
chris
Luca Fossato wrote:
> Hi,
>
> in Tapestry 5 is there a way to determine if the application is
> entering or exiting from a page (