You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by ketanbparekh <ta...@yahoo.com> on 2008/12/02 06:02:11 UTC
how to set response to the previous page
hi i am trying to create a generic confirmation page which can be called by
an page after its operation is done.
the confirmation page has a back button which clicked goes back to the page
which called the confirmation page.
eg -> edit user page calls -> confirm page, back button click calls-> edit
user page.
same for other functionality but only one generic confirm page is used.
is it something to do with websession store or requestcycle in wicket.
can any one guide me, that will be really appreciated.
thanks,
Ketan.B.Parekh
--
View this message in context: http://www.nabble.com/how-to-set-response-to-the-previous-page-tp20786201p20786201.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: how to set response to the previous page
Posted by Igor Vaynberg <ig...@gmail.com>.
pass the page instance into the confirmation page
setresponsepage(new confirmationpage(this)) or new confirmationpage(getpage());
then in confirmationpage setresponsepage(passedininstance)
-igor
On Mon, Dec 1, 2008 at 9:02 PM, ketanbparekh <ta...@yahoo.com> wrote:
>
> hi i am trying to create a generic confirmation page which can be called by
> an page after its operation is done.
>
> the confirmation page has a back button which clicked goes back to the page
> which called the confirmation page.
>
> eg -> edit user page calls -> confirm page, back button click calls-> edit
> user page.
>
> same for other functionality but only one generic confirm page is used.
>
> is it something to do with websession store or requestcycle in wicket.
>
> can any one guide me, that will be really appreciated.
>
> thanks,
> Ketan.B.Parekh
> --
> View this message in context: http://www.nabble.com/how-to-set-response-to-the-previous-page-tp20786201p20786201.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org