Re: What does Page Expired mean?

This normally happens when your HttpSession expires. I'm not sure what
could be the reason in your case.

Edwin Ansicodd wrote:
> I see in the Page maps documentation:
>
> http://cwiki.apache.org/WICKET/page-maps.html>
> that Page Exoured will be shown if the id and version for a page doesn't
> exist. But I can't see how the id and version of the page would not exist
> anymore.
>

Re: What does Page Expired mean?

Can you suggest a way to debug this? I am not showing anything in the logs or in the debugger.

Dave Schoorl wrote

This normally happens when your HttpSession expires. I'm not sure what
could be the reason in your case.

Edwin Ansicodd wrote:
> I see in the Page maps documentation:
>
> http://cwiki.apache.org/WICKET/page-maps.html>
> that Page Exoured will be shown if the id and version for a page doesn't
> exist. But I can't see how the id and version of the page would not exist
> anymore.
>

Re: What does Page Expired mean?

They will not exist if the session has expired or if the page cache
has become inconsistent somehow.
Usually you'll get this is you wait on a page for a while, or are in
dev mode and change the code a lot.

Re: What does Page Expired mean?

In my experience the most often case is when I have a non-serializable
field in a page with Ajax components.

On the first Ajax interaction the serialization fails
(SerializableChecker logs its detailed exception) and on the next Ajax
request Wicket cannot find a page with the latest version and complains
with PageExpiredException.

So "page expiration" is not exactly "session expiration". Session
expiration is just one of the cases in which your page(s) is(are) lost.

El mié, 04-03-2009 a las 14:39 +0100, Dave Schoorl escribió:

> This normally happens when your HttpSession expires. I'm not sure what
> could be the reason in your case.
>
>
> Edwin Ansicodd wrote:
> > I see in the Page maps documentation:
> >
> > http://cwiki.apache.org/WICKET/page-maps.html> >
> > that Page Exoured will be shown if the id and version for a page doesn't
> > exist. But I can't see how the id and version of the page would not exist
> > anymore.
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]> For additional commands, e-mail: [hidden email]>
>

Re: What does Page Expired mean?

It's not an error or something to debug, which is why you are not
seeing anything in the log.
Session is a basic webapp (not just java webapp) concept, I recommend
reading up on it in the docs for your application server.

- Brill

On 4-Mar-09, at 10:05 AM, Edwin Ansicodd wrote:

>
> Can you suggest a way to debug this? I am not showing anything in
> the logs
> or in the debugger.
>
>
>
> Dave Schoorl wrote:
>>
>> This normally happens when your HttpSession expires. I'm not sure
>> what
>> could be the reason in your case.
>>
>>
>> Edwin Ansicodd wrote:
>>> I see in the Page maps documentation:
>>>
>>> http://cwiki.apache.org/WICKET/page-maps.html>>>
>>> that Page Exoured will be shown if the id and version for a page
>>> doesn't
>>> exist. But I can't see how the id and version of the page would not
>>> exist
>>> anymore.
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]>> For additional commands, e-mail: [hidden email]>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/What-does-Page-Expired-mean--tp22327219p22331861.html> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]> For additional commands, e-mail: [hidden email]>