Sorry, I posted this too soon.  more details...

Wicket 1.3 (revision 518581)
I know that the code was working correctly with the SecLvlCacheStore as
recently as the week of  01MAR2007 - 07MAR2007 if not even a few days after
that.


ChuckDeal wrote:
> 
> I need some help tracking down a problem with the
> SecondLevelCacheSessionStore/FilePageStore.  I think the problem is there
> because when I switched to the HttpSessionStore, it went away.  That only
> took me 5 or 6 hours to figure out...arghh
> 
> Anyway, my scenario is this:
> I have a Page that contains an enhanced ModalWindow (I added a couple of
> methods to return state info; which button was clicked, what is the return
> value Object is).  The actual operation of the ModalWindow appears to be
> fine.  When I click one of the buttons on my Page (ie a CANCEL button that
> sets the button state to CANCEL and returnValue=null, then closes the
> ModalWindow), I can see that the state info is stored in the correct
> fields on the corrent *instance* of the ModalWindow object.  But, by the
> time the ModalWindow.WindowClosedCallback.onClose() method fires, I have a
> handle to the wrong *instance* of the ModalWindow!  We're talking the
> actual ModalWindow Component instance has changed (I verify this in the
> debugger by looking at the Java Object id).
> 
> I'm dumbfounded, I couldn't imagine how that could happen, then I
> remembered all the talk about serialization and such, so just for fun, I
> overrode the newSessionStore() method of my Application to return new
> HttpSessionStore() and sonofabitch if the same code didn't work this time.
> 
> Can someone offer me some guidance on how to verify that the
> SecLvlCahce/FilePageStore is actually the culprit?  Can I provide some
> debugging info/log output that would be of use to a Wicket dev in tracking
> it down?  Mind you, I'm not getting anything in my logs that says there is
> a problem, it just isn't working...
> 
> Is there a big difference in using HttpSessionStore instead of the
> SecLvlCacheStore in the mean time?
> 
> Thanks
> Chuck
> 

-- 
View this message in context: 
http://www.nabble.com/HttpSessionStore-vs-SecondLevelCacheSessionStore%28FilePageStore%29-tf3408964.html#a9496931
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to