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
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
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
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
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
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
?
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
(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
)
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
(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
)
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
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
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
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]
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
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
- 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
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
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
19 matches
Mail list logo