Re: WicketSessionFilter Problem: java.lang.IllegalStateException

2008-08-01 Thread James Perry
Problem: java.lang.IllegalStateException I can't work out why it doesn't work so I decided to subclass the WebRequestCycle and access the HTTPSession's attributes via my PharmisisSession. Cheers, Jim. On Wed, Jul 30, 2008 at 11:19 AM, James Perry [EMAIL PROTECTED] wrote: Thanks

WicketSessionFilter Problem: java.lang.IllegalStateException

2008-07-30 Thread James Perry
Hello! I would be grateful for any advice with the below problem I am encountering with the WicketSessionFilter. I managed to convince my colleagues to migrate our www.mypharmisis.com (a drug ordering system for the Pharmaceutical industry) from Struts to Wicket after the success of a greenfield

Re: WicketSessionFilter Problem: java.lang.IllegalStateException

2008-07-30 Thread Martijn Dashorst
I think you have to wrap the wicket session filter around your *.do mapping, not your new/* mapping. Martijn On Wed, Jul 30, 2008 at 11:35 AM, James Perry [EMAIL PROTECTED] wrote: Hello! I would be grateful for any advice with the below problem I am encountering with the WicketSessionFilter.

Re: WicketSessionFilter Problem: java.lang.IllegalStateException

2008-07-30 Thread James Perry
Thanks for the swift reply. That's what I originally had but it didn't work and just tried again to re-confirm. :-) Any other suggestions? I've checkout the source code to see if that helps. On Wed, Jul 30, 2008 at 10:42 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: I think you have to wrap the

Re: WicketSessionFilter Problem: java.lang.IllegalStateException

2008-07-30 Thread James Perry
I can't work out why it doesn't work so I decided to subclass the WebRequestCycle and access the HTTPSession's attributes via my PharmisisSession. Cheers, Jim. On Wed, Jul 30, 2008 at 11:19 AM, James Perry [EMAIL PROTECTED] wrote: Thanks for the swift reply. That's what I originally had but it

Re: WicketSessionFilter Problem: java.lang.IllegalStateException

2008-07-30 Thread Johan Compagner
he? And what you are trying to do is completely the opposite (accessing the wicket session in struts) But if you want to get the wicket session in struts then that filter should be ok Does the filter hit just before your struts things? johan On Wed, Jul 30, 2008 at 1:31 PM, James Perry [EMAIL

Re: WicketSessionFilter Problem: java.lang.IllegalStateException

2008-07-30 Thread Igor Vaynberg
also make sure that there is an actual session to be set...there is session.exists() iirc. -igor On Wed, Jul 30, 2008 at 4:38 AM, Johan Compagner [EMAIL PROTECTED] wrote: he? And what you are trying to do is completely the opposite (accessing the wicket session in struts) But if you want to

RE: WicketSessionFilter Problem: java.lang.IllegalStateException

2008-07-30 Thread Zappaterrini, Larry
if that is what is happening in this situation, but it might be worth a shot. -Original Message- From: James Perry [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2008 7:31 AM To: users@wicket.apache.org Subject: Re: WicketSessionFilter Problem: java.lang.IllegalStateException I can't