This is not what @Retain is for. If you use it, the value won't be
cleared out at the end of the request.
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/annotations/Retain.html
-Filip
Michael Gerzabek skrev:
6) @Retain could do the job. Your String will be available until the end
of the request.
János Jarecsni schrieb:
Hi there,
I have an activatable page, in its onActivate(String param) method I save
the param to a normal instance variable of the page class (no
persistence!).
How can any component embedded within this page access this variable?
the page class:
//...
private String param;
public void onActivate(String param) {
this.param = param;
}
public String getParam() {...}
Thx in advance!
Janos
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]