Igor,

Done. 
https://issues.apache.org/jira/browse/WICKET-2037

Regards - Cemal
http://www.jWeekend.co.uk jWeekend 



igor.vaynberg wrote:
> 
> sounds about right. attach the quickstart to a jira issue and we will
> take a look.
> 
> -igor
> 
> On Tue, Jan 20, 2009 at 11:35 AM, jWeekend <[email protected]>
> wrote:
>>
>> Igor,
>>
>> I've had a look at Wayne's quickstart.
>>
>> The problem he hit is that if a page, P,  with a no-args constructor (ie
>> P
>> is "bookmarkable") has an AJAX behaviour added to it and P is arrived at
>> via
>> a BookmarkablePageLink on some other page, then Wicket can't find that P
>> instance in the session to handle any callbacks and delivers the infamous
>> "Page Expired" page. If you add the same AJAX behaviour to a label on P,
>> then the callback works.
>>
>> If you change the BookmarkablePageLink to a PageLink things work as
>> expected.
>>
>> It's almost as if, when the the page is created due to a click on a
>> BookmarkableLink, Wicket is deciding it only needs to consider the page
>> stateful if it contains components that have callbacks/ajax-bahaviours,
>> but
>> if there are none, it doesn't bother checking the page object itself for
>> such callbacks. Is that what you'd expect?
>>
>> The result is the same with both 1.3.5 and 1.4-rc1.
>>
>> See the attached quickstart which is the simplest example I could make to
>> demonstrate what Wayne sent me.
>>
>> Regards - Cemal
>> http://www.jWeekend.co.uk jWeekend
>>
>>
>>
>> igor.vaynberg wrote:
>>>
>>> no, it is not normal. please provide a quickstart.
>>>
>>> -igor
>>>
>>> On Tue, Jan 20, 2009 at 4:20 AM, Wayne Pope
>>> <[email protected]> wrote:
>>>> Hi,
>>>>
>>>> when I use an AbstractDefaultAjaxBehavior on a Bookmarkable page I get
>>>> a
>>>> :
>>>>
>>>> org.apache.wicket.protocol.http.PageExpiredException: Cannot find the
>>>> rendered page in session
>>>> [pagemap=null,componentPath=37,versionNumber=0]
>>>>
>>>> However if the AbstractDefaultAjaxBehavior  is on a none nookmarkable
>>>> page it works fine.
>>>>
>>>> Is this normal?
>>>>
>>>> thanks
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>>
>> http://www.nabble.com/file/p21570037/quickstart.zip quickstart.zip
>> --
>> View this message in context:
>> http://www.nabble.com/Using-AbstractDefaultAjaxBehavior-on-a-Bookmarkable-page--tp21562119p21570037.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-AbstractDefaultAjaxBehavior-on-a-Bookmarkable-page--tp21562119p21592960.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to