You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Deb2002 <su...@yahoo.com> on 2008/05/09 20:49:02 UTC

Reloading a Page in Wicket

Hi,

I need help on wicket.

I am trying to reaload my entire page on a click of a button in that page. 


In the page constructor I fetch data from the DB and create some tables.  I
have a button, on click of which the data has to be re-fetched and updated
in the table.


Could anyone please help me on this.

Thanks.


-- 
View this message in context: http://www.nabble.com/Reloading-a-Page-in-Wicket-tp17154374p17154374.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: Reloading a Page in Wicket

Posted by Ryan Gravener <ry...@ryangravener.com>.
You can use loadable detachable models or you can call
setResponsePage(Page.class) in the link.  I recommend the former.

On Fri, May 9, 2008 at 2:49 PM, Deb2002 <su...@yahoo.com> wrote:

>
> Hi,
>
> I need help on wicket.
>
> I am trying to reaload my entire page on a click of a button in that page.
>
>
> In the page constructor I fetch data from the DB and create some tables.  I
> have a button, on click of which the data has to be re-fetched and updated
> in the table.
>
>
> Could anyone please help me on this.
>
> Thanks.
>
>
> --
> View this message in context:
> http://www.nabble.com/Reloading-a-Page-in-Wicket-tp17154374p17154374.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
>
>


-- 
Ryan Gravener
http://twitter.com/ryangravener