Re: How to manage StalePageException

2015-02-18 Thread Martin Grigorov
Hi,

if (e instanceof IWicketInternalException) {return null;}
...

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Feb 18, 2015 at 6:10 PM, dpmihai dpmi...@yahoo.com wrote:

 Can someone confirm if this:

  if (e instanceof StalePageException) {
 return super.onException(cycle, e);
  }

 is the right way to let StalePageException be handled by wicket?

 Is there a problem if the page has PageParameters?

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/How-to-manage-StalePageException-tp4669601p4669617.html
 Sent from the Users forum mailing list archive at Nabble.com.

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




Re: How to manage StalePageException

2015-02-18 Thread dpmihai
Can someone confirm if this:

 if (e instanceof StalePageException) {
return super.onException(cycle, e);
 }

is the right way to let StalePageException be handled by wicket?

Is there a problem if the page has PageParameters? 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-manage-StalePageException-tp4669601p4669617.html
Sent from the Users forum mailing list archive at Nabble.com.

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