What about
redirectToInterceptPage(new FormPage());
and in FormPage onSubmit:
if (!continueToOriginalDestination()) {
setResponsePage(Application.get().getHomePage());
}
Regards,
Bernard
On Wed, 1 Sep 2010 20:30:20 -0700, you wrote:
do not pass the page, pass the page reference, see
you would create one that would write out some html like
htmlheadscripthistory.go(-2);/script/headbody//html
-igor
On Wed, Sep 1, 2010 at 4:26 PM, Chris Colman
chr...@stepaheadsoftware.com wrote:
I have a form/page that can be invoked from different pages so I can't
easily specify which page
On 9/1/2010 7:26 PM, Chris Colman wrote:
I have a form/page that can be invoked from different pages so I can't
easily specify which page should be returned to after submit.
When I needed to do this, I passed the original page into the page constructor
where it was passed to the onSubmit()
do not pass the page, pass the page reference, see page#getpagereference()
-igor
On Wed, Sep 1, 2010 at 6:21 PM, Chris Merrill ch...@webperformance.com wrote:
On 9/1/2010 7:26 PM, Chris Colman wrote:
I have a form/page that can be invoked from different pages so I can't
easily specify which