http://jakarta.apache.org/tapestry/UsersGuide/events.html

PageAttachListener/PageBeginRenderListener seem to be the choices. Or even @InitialValue.

Be careful with PageBeginRender, since it's called twice on form submittal, so depending on your situation you might need to check getRequestCycle().isRewinding().



----- Original Message ----- From: "Jesse Kuhnert" <[EMAIL PROTECTED]> To: "Tapestry users" <[email protected]>; <[EMAIL PROTECTED]>
Sent: Monday, January 30, 2006 6:46 PM
Subject: Re: Rendering a method once when entering a page


PageBeginListener interface with pageBeginRender() method?

On 1/30/06, Joseph Faisal Nusairat <[EMAIL PROTECTED]> wrote:

Kind of like an external link. I want to go into the page, and i want a
method called to basically set up some things.

In this case i want to set up stuff pulled from the session.

However i dont really want to use an external link, since its really not
one. Its not passing any parameters to it.

Is there something else i should be using?? Any events?? All the ones i
see
keep re-calling the same method if you call the page again while in it.
Which i dont need since the variables should be there each time
regardless.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to