wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Solved // Re: Page expiration error on AJAX call
Date Wed, 17 Oct 2012 07:02:59 GMT
Hi,

On Wed, Oct 17, 2012 at 7:24 AM, Ondrej Zizka <ozizka@redhat.com> wrote:
> You were right, like usually :)
>
> What's the preffered way for CDI fields - making them transient, or the
> class serializable?

CDI injects serializable proxy instead of your bean, so there is no
reason to make it serializable.
Do you use wicket-cdi ?

>
> Thanks,
> Ondra
>
>
>
> On Tue, 2012-10-09 at 15:52 +0200, Ondrej Zizka wrote:
>
>> I was thinking about that, but saw no errors in the log. Maybe hidden?
>> What would be the logging group?
>>
>> Thanks,
>> Ondra
>>
>>
>>
>>
>> On Tue, 2012-10-09 at 07:41 +0300, Martin Grigorov wrote:
>>
>> > Hi,
>> >
>> > Check your logs for errors related to the serialization of the page.
>> > If the page is not properly serialized then next attempts to find it
>> > will fail with PageExpiredException.
>> >
>> > On Tue, Oct 9, 2012 at 4:37 AM, Ondrej Zizka <ozizka@redhat.com> wrote:
>> > > Hi,
>> > >
>> > > I have an AjaxEditableLabel wrapped in a component.
>> > > After some changes (I'm still finding which), it's behavior gone totally
>> > > astray:
>> > >
>> > > On click, it gave me Page Expired every time.
>> > > That was happening with
>> > >       this.getPageSettings().setRecreateMountedPagesAfterExpiry(false);
>> > > When this is true, it redirects me to an invalid URL - from
>> > > http://localhost:8080/essc-portal/release/EAP/5.0.0.GA?10   to
>> > > http://localhost:8080/essc-portal/release//?12
>> > >
>> > > The AEL's code is:
>> > > <span id="label40" onclick="var
>> > > wcall=wicketAjaxGet('./5.0.0.GA?6-1.IBehaviorListener.0-releaseBox-form-traits-releasedBinaries-link-label',function()
{ }.bind(this),function() { }.bind(this), function() {return Wicket.$('label40') != null;}.bind(this));">
>> > >
>> > > I have tried everything that came to my mind.
>> > >
>> > > Any ideas what could be wrong?
>> > >
>> > > Thanks,
>> > > Ondra
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
>>
>
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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


Mime
View raw message