You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by HHB <hu...@yahoo.ca> on 2009/05/18 10:42:23 UTC

How to get ride of page's state?

Hey,
How to get ride of the page's state after the request is done?
Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to get ride of page's state?

Posted by HHB <hu...@yahoo.ca>.
My problem is that I have a page with two major components:
A refreshing view that lists groups
An AjaxFallbackDefaultDataTable that lists the contacts that belong to a
group upon clicking on the group name.
The user could navigate to another page a delete a group and if he returned
to the page that lists contacts and if his last group of choice to be shown
is now deleted, I got NullPointerException.
This is why I want to get ride of the page's state.
Do you have another and a better solution to my case?
BTW, how to make a page stateless?
Thanks.


Marat Radchenko-2 wrote:
> 
> Make it stateless :)
> 
> 2009/5/18 HHB <hu...@yahoo.ca>:
>> Hey,
>> How to get ride of the page's state after the request is done?
>> Thanks.
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-get-ride-of-page%27s-state--tp23593406p23593715.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 get ride of page's state?

Posted by Marat Radchenko <sl...@gmail.com>.
Make it stateless :)

2009/5/18 HHB <hu...@yahoo.ca>:
> Hey,
> How to get ride of the page's state after the request is done?
> Thanks.
>
>
> ---------------------------------------------------------------------
> 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