[Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp
Hi guys, my first wicket mailing list post. I just started using Wicket couple gays ago (after using Tapestry and ZK), and I have to say, I am impressed. Congratulation to great framework! I have tried to port my application, which uses Acegi Spring security to Wicket. I managed to port the

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Igor Vaynberg
what url causes the page expired page? -igor On 7/28/07, lubosp [EMAIL PROTECTED] wrote: Hi guys, my first wicket mailing list post. I just started using Wicket couple gays ago (after using Tapestry and ZK), and I have to say, I am impressed. Congratulation to great framework! I have

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp
Igor, after login page (login.jsp) it is redirected to /MyApp/app which goes to my wicket home page, and that one is expired. Is it possible that I am missing something on logout action? Is it enough to do session.invalidate()? Note, it works properly the first time, only after I log out and

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Igor Vaynberg
hrm, i dont see how /MyApp/app can ever cause a page expired error because it is a bookmarkable url and so a new instance of page is always created. i would debug the request cycle and see why it cannot find the page, seems very strange to me -igor On 7/28/07, lubosp [EMAIL PROTECTED] wrote:

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp
Igor, so you do not think that session.invalidate() can cause the page to expire? I do not know if it makes difference, but I use Acegi, and regular login.jsp page for login page, not a Wicket managed page (I did not figure out how to use Wicket managed login page with Acegi). Lubos

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Eelco Hillenius
so you do not think that session.invalidate() can cause the page to expire? Only if you try to render a page that is part of that old - now invalidated - session. Make sure Wicket doesn't try to do that (e.g. check whether the authorization strategy doesn't try to do another redirect). Eelco

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Eelco Hillenius
Btw this user list is about to shut down. Please subscribe to [EMAIL PROTECTED] (by sending an email to [EMAIL PROTECTED]) and have future discussions there. Eelco - This SF.net email is sponsored by: Splunk Inc. Still

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp
After re-login when I get Page Expired, the url is: http://localhost:8080/MyApp/app/?wicket:interface=:0:: igor.vaynberg wrote: hrm, i dont see how /MyApp/app can ever cause a page expired error because it is a bookmarkable url and so a new instance of page is always created. i would

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp
Thanks Eelco, I already did. But I like using Nabble so that is how I got to this mailing list, and thought it is the new mailing list. Do you know if [EMAIL PROTECTED] is available on Nabble? Lubos Eelco Hillenius wrote: Btw this user list is about to shut down. Please subscribe to

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp
Oops, never mind. I see the new users list on Nabble. Just clicked on wrong one. Sorry for the noise. Eelco Hillenius wrote: Btw this user list is about to shut down. Please subscribe to [EMAIL PROTECTED] (by sending an email to [EMAIL PROTECTED]) and have future discussions there.

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Eelco Hillenius
After re-login when I get Page Expired, the url is: http://localhost:8080/MyApp/app/?wicket:interface=:0:: Yeah, that's a reference to an already rendered page. Try to find why it tries to render that. You could try setting a break point in the Wicket filter and go from there for instance, and/

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp
I added: setResponsePage(MyAppHome.class); after session.invalidate(); , and that fixed the problem. Thanks guys for all the help, you are amazingly responsive. Now I feel bad and have to be more responsive with open source project I manage 8-). You are setting the example! BTW, I came with

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Eelco Hillenius
Thanks guys for all the help, you are amazingly responsive. Now I feel bad and have to be more responsive with open source project I manage 8-). You are setting the example! Heh, cool. Which one is that? BTW, I came with solution after reading the first chapter of Wicket In Action. And

Re: [Wicket-user] Page Expired in AjaxLink after backbutton FF2

2007-07-02 Thread Eelco Hillenius
Hi, I have some ajax link in a page that are used to select items in a list (the items are stored in an ArrayList on the server). It works fine with any browser. But from this page if I click on a BookmarkableLink to another page and after click on the back button of my browser, when

[Wicket-user] Page Expired in AjaxLink after backbutton FF2

2007-06-27 Thread Matthieu Casanova
Hi, I have some ajax link in a page that are used to select items in a list (the items are stored in an ArrayList on the server). It works fine with any browser. But from this page if I click on a BookmarkableLink to another page and after click on the back button of my browser, when clicking on

Re: [Wicket-user] Page Expired

2007-02-05 Thread sunraider
Hi Igor, My bad, I had extended the pageexpiry page from my base page and it checks for @Authorized. Though the page expired page came in the background it gets navigated to login page. The issue is fixed now. I have changed it from BasePage to WebPage. Your questions really helped me to debug

Re: [Wicket-user] Page Expired

2007-02-03 Thread sunraider
Hi Guys, The page expired problem has resolved but now I am having a new problem after I changed the stuff to pagemaps. When the session gets expired I dont get the page expiry page. I have the following set in My application.

Re: [Wicket-user] Page Expired

2007-02-03 Thread Igor Vaynberg
its hard to help without seeing a working example. can you recreate in quickstart? -igor On 2/3/07, sunraider [EMAIL PROTECTED] wrote: Hi Guys, The page expired problem has resolved but now I am having a new problem after I changed the stuff to pagemaps. When the session gets expired I

Re: [Wicket-user] Page Expired

2007-02-03 Thread Igor Vaynberg
also make sure your expired page doesnt throw an error, and check your logs to make sure there arent any exceptions in there -igor On 2/3/07, Igor Vaynberg [EMAIL PROTECTED] wrote: its hard to help without seeing a working example. can you recreate in quickstart? -igor On 2/3/07,

[Wicket-user] Page Expired

2007-01-26 Thread sunraider
Hi, I am using Frames in my application, I have three framesets one with header second with tree (Wicket Tree) and three with content. I get page expired quite often when the user does series of actions on the content frame and then click on the link in the tree. I have read through many posts

Re: [Wicket-user] Page Expired

2007-01-26 Thread Erik van Oosten
Hi Sajeev, You should probably use another pagemap for each frame. This can be as simple as adding the pageMapName attribute to the initial frame URL. Regards, Erik. sunraider wrote: Hi, I am using Frames in my application, I have three framesets one with header second with tree

Re: [Wicket-user] Page Expired

2007-01-26 Thread Marc-Andre Houle
Like Erik say, probably that using a different page map will help you (Got something like that when I didn't use the proper page map name someday.) Give a look to the wiki under this page : http://cwiki.apache.org/WICKET/using-frames.html Marc On 1/26/07, Erik van Oosten [EMAIL PROTECTED]

Re: [Wicket-user] Page Expired

2007-01-26 Thread Igor Vaynberg
there is also a frames example in wicket-examples -igor On 1/26/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: Like Erik say, probably that using a different page map will help you (Got something like that when I didn't use the proper page map name someday.) Give a look to the wiki under

Re: [Wicket-user] Page Expired

2007-01-26 Thread sunraider
Thank you guys, you are a great help! Sajeev igor.vaynberg wrote: there is also a frames example in wicket-examples -igor On 1/26/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: Like Erik say, probably that using a different page map will help you (Got something like that when I

Re: [Wicket-user] Page Expired Error on pages containing Link and PagingNavigator

2006-07-14 Thread Eelco Hillenius
We'd need a bit more detail on your setup/ configuration etc. Does the problem occor with all web browsers, or just a particular? Wicket supports using the back button out-of-the-box, and page expiry certainly points to something going wrong in your web app. Eelco On 7/12/06, [EMAIL PROTECTED]

[Wicket-user] Page Expired Error on pages containing Link and PagingNavigator

2006-07-12 Thread [EMAIL PROTECTED] Imam
Hi,i seem to get the page expired error when a user tries to go to a previous page using the browsers back button.This error mainly occurs in pages using 'Link's Pages containing BookMarkablePageLinks dont seem to create trouble.The error also occurs in pages using PagingNavigators. Especially

Re: [Wicket-user] Page expired problem

2006-07-08 Thread Iman Rahmatizadeh
Hmmm, I remember having such problems before. The problem was with firefox generating invalid requests because of a bad script in my page. Look at (http://www.wicket-wiki.org.uk/wiki/index.php/Best_Practices_and_Gotchas) to read about it. However, what we can do here is see what exactly is

[Wicket-user] page expired when i restart jetty

2005-05-20 Thread 叶卫国
When i restart jetty in eclipse, display this message: Page Expired The page you requested has expired. Return to home page why? and how to avoid it? thanks --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the

Re: [Wicket-user] page expired when i restart jetty

2005-05-20 Thread Eelco Hillenius
That happens because your session is invalidated on a restart. I think tomcat serializes its sessions first, so on a restart of Tomcat you can continue with the same/ reloaded session. No way to avoid in as far as I know. B.t.w, all bookmarkable pages should work without a problem, as they don't

[Wicket-user] Page expired error

2005-05-18 Thread Matej Knopp
Hi. I'm getting a page expired error and I don't know why. I'm using wicket RC2. Every page expires on 10th reload. This only happens with internet explorer. Mozilla and Opera can reload the page as many times as needed with no problems. No other pages are created or reloaded, but the page

Re: [Wicket-user] Page expired error

2005-05-18 Thread Eelco Hillenius
Hmmm. I have no idea... could you send me (some of your) code to my personal email address? Eelco Matej Knopp wrote: Hi. I'm getting a page expired error and I don't know why. I'm using wicket RC2. Every page expires on 10th reload. This only happens with internet explorer. Mozilla and Opera