When I ran into this problem myself with 1.4-rc4, I remembered this
message and upgraded to rc7. But I still get the Unexpected
RuntimeException page instead of my custom SessionExpiredPage. Am I
doing something wrong?
Regards,
Linda
public class WicketApplication extends
://www.nabble.com/How-to-throw-new-PageExpiredException--tp24424791p24512117.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail
If all you want is to display a page expired page, maybe you could just use
throw new RestartResponseException(PageExpiredErrorPage.class);
in your page constructor.
Ann Baert wrote:
Can anyone help me with this problem please?
Thanks in advance, Ann.
Ann Baert wrote:
I have
-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
View this message in context:
http://www.nabble.com/How-to-throw-new-PageExpiredException--tp24424791p24512739.html
Sent from the Wicket - User mailing list archive at Nabble.com
A quote from Wicket in Action:
=
The three custom error pages can be set in the init method of your
Application using the application settings. Here’s an example:
@Override
protected void init() {
IApplicationSettings settings = getApplicationSettings();
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
View this message in context:
http://www.nabble.com/How-to-throw-new-PageExpiredException
Which wicket version are you using? With 1.4-rc7 this behaviour should
be fixed.
Peter
2009-07-16 11:13 keltezéssel, Ann Baert írta:
I do that already, see my previous post.
But the PageExpiredException is wrapped into WicketRuntimeException, so that
he doesn't come on those pages.
Linda
, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
View this message in context:
http://www.nabble.com/How-to-throw-new-PageExpiredException--tp24424791p24457324.html
Sent from the Wicket - User mailing list archive at Nabble.com
Hello,
How can I throw a PageExpiredException in the constructor of my WebPage?
Because the exception is wrapped by Wicket with WicketRuntimeException it
goes to the InternalErrorPage.
Thanks,
Ann
DISCLAIMER
A HREF=http://www.tvh.be/newen/pages/emaildisclaimer.html;
you can try unwrapping the exceptions in
requestcycle.onruntimeexception and call super with the page exipred
exception.
-igor
On Fri, Jul 10, 2009 at 3:00 AM, Ann Baertann.ba...@tvh.be wrote:
Hello,
How can I throw a PageExpiredException in the constructor of my WebPage?
Because the
1.4-rc7 should fix this, no?
On Fri, Jul 10, 2009 at 10:48 AM, Igor Vaynbergigor.vaynb...@gmail.com wrote:
you can try unwrapping the exceptions in
requestcycle.onruntimeexception and call super with the page exipred
exception.
-igor
On Fri, Jul 10, 2009 at 3:00 AM, Ann
not necessarily. we do not unwrap the exceptions to check for page
expired generally, so if you throw it from your code we can catch it
and wrap it in a WRE.
-igor
On Fri, Jul 10, 2009 at 8:32 PM, James
Carmanjcar...@carmanconsulting.com wrote:
1.4-rc7 should fix this, no?
On Fri, Jul 10,
12 matches
Mail list logo