To enable the reset service you should set the
"org.apache.tapestry.enable-reset-service" configuration property to true
(as a JVM system property).
To "activate" it from Java code:
- get the ResetService instance (inject it into your component (<inject>
element) or use IEngine.getService()), create a link to access it using
getLink() and finally redirect the client to it
- check the source code of ResetService.service(), it's very simple...
Br,
Norbi
----- Original Message -----
From: "Tomas Jucius" <[EMAIL PROTECTED]>
To: "Tapestry users" <[email protected]>
Sent: Tuesday, June 14, 2005 10:12 AM
Subject: Reset service Question?
How could I activate Reset service in java code?
Also is it possible to reset only one page?
Best Regards..
Tomas Jucius
---------------------------------------------------------------------
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]