Re: Session.attach

2010-10-20 Thread Jeremy Thomerson
On Wed, Oct 20, 2010 at 1:44 PM, jowen.gsb jo...@globalscape.com wrote: Since Session.attach() is deprecated, where would the best place be to put code instead? The current use case is to check that a user has not been deleted/disabled between request cycles. /** * Any

Re: Session.attach

2010-10-20 Thread James Carman
Is there any chance, since we can break the API a bit, that we can try to introduce a more listenery method for stuff like this, rather than overriding methods? Developing frameworks for Wicket is difficult because in order to use these hooks you have to have your custom code installed (such as a

Re: Session.attach

2010-10-20 Thread Igor Vaynberg
we started doing that in 1.5. egg see RequestCycle#register(detachCallback). add an rfe for something like irequestlistener { onbegin()/onend()} -igor On Wed, Oct 20, 2010 at 2:31 PM, James Carman ja...@carmanconsulting.com wrote: Is there any chance, since we can break the API a bit, that we

Re: Session.attach

2010-10-20 Thread Jeremy Thomerson
On Wed, Oct 20, 2010 at 4:39 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: we started doing that in 1.5. egg see RequestCycle#register(detachCallback). add an rfe for something like irequestlistener { onbegin()/onend()} -igor On Wed, Oct 20, 2010 at 2:31 PM, James Carman

Re: Session.attach

2010-10-20 Thread Jeremy Thomerson
Added: https://issues.apache.org/jira/browse/WICKET-3125 And now completed (for 1.5-M3) -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*