Maybe try "cleaning" the request at the end of your listener using a
redirect. Something like:
public static void cleanRequest(IRequestCycle cycle){
IEngineService pageService =
cycle.getEngine().getService(Tapestry.PAGE_SERVICE);
String pageName = cycle.getPage().getExtendedId();
String redirector = pageService.getLink(cycle, null, new
String[]{pageName}).getURL();
throw new RedirectException(redirector);
}
Br,
Norbi
----- Original Message -----
From: "Joerg Bergner" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, June 14, 2005 12:41 AM
Subject: Problems while reloading a site
Hallo to everybody!
I implemented a form with a table component and some text fields for
adding a
new user. Adding a new user to the table is not a problem. But if I click
after
the rendering of the page to the reload button of the browser, the same
user is
added again. But I don’t want that. That happens too, if I try to reload
the
page after deleting a user. Then an error occurs, because this user doesn’t
exit.
Please help me! Thank you!
Joerg Bergner
[EMAIL PROTECTED]
---------------------------------------------------------------------
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]