On Sat, Mar 3, 2012 at 5:08 AM, grazia <[email protected]> wrote:
> I did bind the session as you suggested. IN addition, I noticed that I had
> not appropriately accounted for my custom RequestCyle.
> Thank you for your feedback, it was very useful.
> I add the code hoping to help anybody running into this problem.
>
> this.setRequestCycleProvider(new MyRequestCycleProvider());
>
> private final class MyRequestCycleProvider implements IRequestCycleProvider
> {
>
>        @Override
>        public RequestCycle get(RequestCycleContext context) {
>            if (context.getRequest() instanceof WebRequest){
>            return new MyRequestCycle( context );
>            }
>            return this.get(context);

stackoverflowexception ^^

>
>
>        }
>    }
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/loosing-custom-wicket-session-tp4439069p4440588.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



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

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

Reply via email to