Wicket Session Management

2010-03-09 Thread Nishant Neeraj
Hi, I have a registration system where, when you request for registration, you are mailed a URL with unique-key as parameter. When user clicks the link, he lands on a page where I am setting his UserVO object in session. This page has another BookmarkablePageLink that points to the user's profile

Re: Wicket Session Management

2010-03-09 Thread Nishant Neeraj
Ok, I got the answer. Wicket tries to be as stateless as long as possible, I believe it takes some hints from how your pages are built to know if it needs to keep a Session around for longer than a Request. [1] [1] http://basementcoders.com/?p=65cpage=1 Thanks Nishant On Tue, Mar 9, 2010 at

Re: Wicket - Session Management

2009-03-07 Thread Jeremy Thomerson
clicking a link from one to the other? - I have two apps in two JVMs - how do I expire state in the first when moving to the second? -- Jeremy Thomerson http://www.wickettraining.com -- View this message in context: http://www.nabble.com/Wicket---Session-Management-tp22288083p22325909.html

Re: Wicket - Session Management

2009-03-04 Thread subbu_tce
in the first when moving to the second? -- Jeremy Thomerson http://www.wickettraining.com -- View this message in context: http://www.nabble.com/Wicket---Session-Management-tp22288083p22325909.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Wicket - Session Management

2009-03-03 Thread Jeremy Thomerson
in wicket. Thanks, Subbu. -- View this message in context: http://www.nabble.com/Wicket---Session-Management-tp22288083p22288083.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Wicket - Session Management

2009-03-02 Thread subbu_tce
the partially/fully managed on the client side? And also please help me point to good materials/articles on session management and custom session management in wicket. Thanks, Subbu. -- View this message in context: http://www.nabble.com/Wicket---Session-Management-tp22288083p22288083.html Sent from

Re: Wicket - Session Management

2009-03-02 Thread subbu_tce
? And also please help me point to good materials/articles on session management and custom session management in wicket. Thanks, Subbu. -- View this message in context: http://www.nabble.com/Wicket---Session-Management-tp22288083p22288126.html Sent from the Wicket - User mailing list archive

Wicket Session Management (constructor called twice)

2008-06-17 Thread Ravi_116
(SelectChannelEndPoint.java:329) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) -- View this message in context: http://www.nabble.com/Wicket-Session-Management-%28constructor-called-twice%29-tp17956814p17956814.html Sent from the Wicket - User mailing list

Re: Wicket Session Management (constructor called twice)

2008-06-17 Thread Igor Vaynberg
) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) -- View this message in context: http://www.nabble.com/Wicket-Session-Management-%28constructor-called-twice%29-tp17956814p17956814.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Wicket Session Management (constructor called twice)

2008-06-17 Thread Ravi_116
(BoundedThreadPool.java:475) -- View this message in context: http://www.nabble.com/Wicket-Session-Management-%28constructor-called-twice%29-tp17956814p17956814.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Wicket Session Management (constructor called twice)

2008-06-17 Thread Igor Vaynberg
) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) -- View this message in context: http://www.nabble.com/Wicket-Session-Management-%28constructor-called-twice%29-tp17956814p17956814.html Sent from

Explanation of Wicket session management

2008-03-11 Thread Rajiv Jivan
I am having a tough time understanding how sessions are created/managed specifically related to the calls public RequestCycle newRequestCycle(Request request, Response response) and public Session newSession(Request request, Response response) I am creating a new session by overriding the

Re: Explanation of Wicket session management

2008-03-11 Thread Martijn Dashorst
Did you read the javadoc for Session#exists() ? http://wicket.sourceforge.net/apidocs/wicket/Session.html#exists() Checks if the Session threadlocal is set in this thread So not if the session was created or not. Martijn On 3/11/08, Rajiv Jivan [EMAIL PROTECTED] wrote: I am having a tough

Re: Explanation of Wicket session management

2008-03-11 Thread Rajiv Jivan
Yes I did. I was assuming that once newSession is called, on subsequent calls, the session will be set on a thread local variable. If that is not the case, what would be the right way to check if a session has been created. On Tue, Mar 11, 2008 at 10:32 AM, Martijn Dashorst [EMAIL PROTECTED]

Re: Explanation of Wicket session management

2008-03-11 Thread Johan Compagner
RequestCycle is first made and the the Session is being resolved. Because the session creation code needs the request cycle first. So thats why your code doesn't work that test that you want should be done in Requestcycle.onBeginRequest On Tue, Mar 11, 2008 at 4:47 PM, Rajiv Jivan [EMAIL

Re: Explanation of Wicket session management

2008-03-11 Thread Johan Compagner
Yes that is true, Session is lazy created in Session.get() so only after the first time that is called Session.exists() works. I guess Session.exists() doesnt really make much sense On Tue, Mar 11, 2008 at 8:29 PM, Rajiv Jivan [EMAIL PROTECTED] wrote: I have updated the code based on Johan's

Re: Wicket Session Management?

2007-10-31 Thread Johan Compagner
- Also it looks like wicket requires code changes when more pages are added and each page needs to have separate handler and it can not be done in configuration file. This may become an issue when number of pages increase in future. what do you mean with this? You want to have the flow

Re: Wicket Session Management?

2007-10-30 Thread Matej Knopp
Pen wrote / napĂ­sal(a): I have a few question regarding the wicket usage. we are trying to Implement wicket as our next MVC framework, Can please someone answer the questions below Hi - about session support - wicket stores the render state of most renderer's in session for different users

Re: Wicket Session Management?

2007-10-30 Thread Pen
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Wicket-Session-Management--tf4721575.html#a13500318 Sent from the Wicket - User mailing list archive at Nabble.com