Re: [Wicket-user] Page Expired after logout and re-login
> 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 that's only the *first* chapter! :) Eelco - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired after logout and re-login
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 solution after reading the first chapter of Wicket In Action. Thanks again, Lubos Eelco Hillenius wrote: > >> 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/ or check out what > your authorization strategy does (I assume you have a custom one > installed). > > Eelco > > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > IMPORTANT NOTICE: > > This mailing list is shutting down. Please subscribe to the Apache Wicket > user list. Send a message to: "users-subscribe at wicket.apache.org" and > follow the instructions. > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11846346 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired after logout and re-login
> 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/ or check out what your authorization strategy does (I assume you have a custom one installed). Eelco - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired after logout and re-login
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. > > Eelco > > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > IMPORTANT NOTICE: > > This mailing list is shutting down. Please subscribe to the Apache Wicket > user list. Send a message to: "users-subscribe at wicket.apache.org" and > follow the instructions. > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11845540 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired after logout and re-login
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 > [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 grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > IMPORTANT NOTICE: > > This mailing list is shutting down. Please subscribe to the Apache Wicket > user list. Send a message to: "users-subscribe at wicket.apache.org" and > follow the instructions. > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11845527 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired after logout and re-login
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 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: >> >> >> 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 then go >> to >> /MyApp/app again, I get the login page and after it the Page expired >> page. >> >> Lubos >> >> >> igor.vaynberg wrote: >> > >> > 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 tried to port my application, which uses Acegi Spring security >> to >> >> Wicket. I managed to port the core of the application, but had problem >> >> with >> >> Acegi Spring security integration. I used >> >> http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki >> >> article, but I couldn't figure out how to define login page and login >> >> error >> >> page in acegi configuration (I will post different question about it). >> >> >> >> So I decided to use plain old JSP to implement login (and login error) >> >> page. >> >> That works OK, I can login to the application. I have logout action in >> my >> >> application implemented in MyAppSession that extends >> >> AuthenticatedWebSession: >> >> >> >> setAuthentication(null); >> >> invalidate(); >> >> >> >> That logs me out OK. But when I login again, after the login page >> >> (login.jsp), instead of application home page, I get Page Expired page >> >> with >> >> a link to my application home page. >> >> >> >> My question is, how to you prevent or avoid the Page Expired page. >> >> >> >> Thanks for great framework and for your help. Lubos >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379 >> >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> >> >> >> >> - >> >> This SF.net email is sponsored by: Splunk Inc. >> >> Still grepping through log files to find problems? Stop. >> >> Now Search log events and configuration files using AJAX and a >> browser. >> >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> >> ___ >> >> IMPORTANT NOTICE: >> >> >> >> This mailing list is shutting down. Please subscribe to the Apache >> Wicket >> >> user list. Send a message to: "users-subscribe at wicket.apache.org" >> and >> >> follow the instructions. >> >> ___ >> >> Wicket-user mailing list >> >> Wicket-user@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> >> >> > >> - >> > This SF.net email is sponsored by: Splunk Inc. >> > Still grepping through log files to find problems? Stop. >> > Now Search log events and configuration files using AJAX and a browser. >> > Download your FREE copy of Splunk now >> http://get.splunk.com/ >> > ___ >> > IMPORTANT NOTICE: >> > >> > This mailing list is shutting down. Please subscribe to the Apache >> Wicket >> > user list. Send a message to: "users-subscribe at wicket.apache.org" >> and >> > follow the instructions. >> > ___ >> > Wicket-user mailing list >> > Wicket-user@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wicket-user >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844509 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> - >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> ___ >> IMPORTANT NOTICE: >> >> This mailing list is shutting down. Please subscribe to the Apache Wicket >> user
Re: [Wicket-user] Page Expired after logout and re-login
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 grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired after logout and re-login
> 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 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired after logout and re-login
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 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 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: >> >> >> 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 then go >> to >> /MyApp/app again, I get the login page and after it the Page expired >> page. >> >> Lubos >> >> >> igor.vaynberg wrote: >> > >> > 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 tried to port my application, which uses Acegi Spring security >> to >> >> Wicket. I managed to port the core of the application, but had problem >> >> with >> >> Acegi Spring security integration. I used >> >> http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki >> >> article, but I couldn't figure out how to define login page and login >> >> error >> >> page in acegi configuration (I will post different question about it). >> >> >> >> So I decided to use plain old JSP to implement login (and login error) >> >> page. >> >> That works OK, I can login to the application. I have logout action in >> my >> >> application implemented in MyAppSession that extends >> >> AuthenticatedWebSession: >> >> >> >> setAuthentication(null); >> >> invalidate(); >> >> >> >> That logs me out OK. But when I login again, after the login page >> >> (login.jsp), instead of application home page, I get Page Expired page >> >> with >> >> a link to my application home page. >> >> >> >> My question is, how to you prevent or avoid the Page Expired page. >> >> >> >> Thanks for great framework and for your help. Lubos >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379 >> >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> >> >> >> >> - >> >> This SF.net email is sponsored by: Splunk Inc. >> >> Still grepping through log files to find problems? Stop. >> >> Now Search log events and configuration files using AJAX and a >> browser. >> >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> >> ___ >> >> IMPORTANT NOTICE: >> >> >> >> This mailing list is shutting down. Please subscribe to the Apache >> Wicket >> >> user list. Send a message to: "users-subscribe at wicket.apache.org" >> and >> >> follow the instructions. >> >> ___ >> >> Wicket-user mailing list >> >> Wicket-user@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> >> >> > >> - >> > This SF.net email is sponsored by: Splunk Inc. >> > Still grepping through log files to find problems? Stop. >> > Now Search log events and configuration files using AJAX and a browser. >> > Download your FREE copy of Splunk now >> http://get.splunk.com/ >> > ___ >> > IMPORTANT NOTICE: >> > >> > This mailing list is shutting down. Please subscribe to the Apache >> Wicket >> > user list. Send a message to: "users-subscribe at wicket.apache.org" >> and >> > follow the instructions. >> > ___ >> > Wicket-user mailing list >> > Wicket-user@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wicket-user >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844509 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> - >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http:
Re: [Wicket-user] Page Expired after logout and re-login
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: > > > 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 then go > to > /MyApp/app again, I get the login page and after it the Page expired page. > > Lubos > > > igor.vaynberg wrote: > > > > 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 tried to port my application, which uses Acegi Spring security > to > >> Wicket. I managed to port the core of the application, but had problem > >> with > >> Acegi Spring security integration. I used > >> http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki > >> article, but I couldn't figure out how to define login page and login > >> error > >> page in acegi configuration (I will post different question about it). > >> > >> So I decided to use plain old JSP to implement login (and login error) > >> page. > >> That works OK, I can login to the application. I have logout action in > my > >> application implemented in MyAppSession that extends > >> AuthenticatedWebSession: > >> > >> setAuthentication(null); > >> invalidate(); > >> > >> That logs me out OK. But when I login again, after the login page > >> (login.jsp), instead of application home page, I get Page Expired page > >> with > >> a link to my application home page. > >> > >> My question is, how to you prevent or avoid the Page Expired page. > >> > >> Thanks for great framework and for your help. Lubos > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379 > >> Sent from the Wicket - User mailing list archive at Nabble.com. > >> > >> > >> > - > >> This SF.net email is sponsored by: Splunk Inc. > >> Still grepping through log files to find problems? Stop. > >> Now Search log events and configuration files using AJAX and a browser. > >> Download your FREE copy of Splunk now >> http://get.splunk.com/ > >> ___ > >> IMPORTANT NOTICE: > >> > >> This mailing list is shutting down. Please subscribe to the Apache > Wicket > >> user list. Send a message to: "users-subscribe at wicket.apache.org" > and > >> follow the instructions. > >> ___ > >> Wicket-user mailing list > >> Wicket-user@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wicket-user > >> > > > - > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ___ > > IMPORTANT NOTICE: > > > > This mailing list is shutting down. Please subscribe to the Apache > Wicket > > user list. Send a message to: "users-subscribe at wicket.apache.org" and > > follow the instructions. > > ___ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > -- > View this message in context: > http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844509 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > IMPORTANT NOTICE: > > This mailing list is shutting down. Please subscribe to the Apache Wicket > user list. Send a message to: "users-subscribe at wicket.apache.org" and > follow the instructions. > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > -
Re: [Wicket-user] Page Expired after logout and re-login
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 then go to /MyApp/app again, I get the login page and after it the Page expired page. Lubos igor.vaynberg wrote: > > 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 tried to port my application, which uses Acegi Spring security to >> Wicket. I managed to port the core of the application, but had problem >> with >> Acegi Spring security integration. I used >> http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki >> article, but I couldn't figure out how to define login page and login >> error >> page in acegi configuration (I will post different question about it). >> >> So I decided to use plain old JSP to implement login (and login error) >> page. >> That works OK, I can login to the application. I have logout action in my >> application implemented in MyAppSession that extends >> AuthenticatedWebSession: >> >> setAuthentication(null); >> invalidate(); >> >> That logs me out OK. But when I login again, after the login page >> (login.jsp), instead of application home page, I get Page Expired page >> with >> a link to my application home page. >> >> My question is, how to you prevent or avoid the Page Expired page. >> >> Thanks for great framework and for your help. Lubos >> >> -- >> View this message in context: >> http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> - >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> ___ >> IMPORTANT NOTICE: >> >> This mailing list is shutting down. Please subscribe to the Apache Wicket >> user list. Send a message to: "users-subscribe at wicket.apache.org" and >> follow the instructions. >> ___ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > IMPORTANT NOTICE: > > This mailing list is shutting down. Please subscribe to the Apache Wicket > user list. Send a message to: "users-subscribe at wicket.apache.org" and > follow the instructions. > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844509 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired after logout and re-login
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 tried to port my application, which uses Acegi Spring security to > Wicket. I managed to port the core of the application, but had problem > with > Acegi Spring security integration. I used > http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki > article, but I couldn't figure out how to define login page and login > error > page in acegi configuration (I will post different question about it). > > So I decided to use plain old JSP to implement login (and login error) > page. > That works OK, I can login to the application. I have logout action in my > application implemented in MyAppSession that extends > AuthenticatedWebSession: > > setAuthentication(null); > invalidate(); > > That logs me out OK. But when I login again, after the login page > (login.jsp), instead of application home page, I get Page Expired page > with > a link to my application home page. > > My question is, how to you prevent or avoid the Page Expired page. > > Thanks for great framework and for your help. Lubos > > -- > View this message in context: > http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > IMPORTANT NOTICE: > > This mailing list is shutting down. Please subscribe to the Apache Wicket > user list. Send a message to: "users-subscribe at wicket.apache.org" and > follow the instructions. > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Page Expired after logout and re-login
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 core of the application, but had problem with Acegi Spring security integration. I used http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki article, but I couldn't figure out how to define login page and login error page in acegi configuration (I will post different question about it). So I decided to use plain old JSP to implement login (and login error) page. That works OK, I can login to the application. I have logout action in my application implemented in MyAppSession that extends AuthenticatedWebSession: setAuthentication(null); invalidate(); That logs me out OK. But when I login again, after the login page (login.jsp), instead of application home page, I get Page Expired page with a link to my application home page. My question is, how to you prevent or avoid the Page Expired page. Thanks for great framework and for your help. Lubos -- View this message in context: http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired in AjaxLink after backbutton FF2
> 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 the AjaxLink of my first page, I got a > "Page Expired" with Firefox 2, but not with IE6. > > I think a possible reason is that IE makes a new HTTP request to get > the page, and Firefox uses the page from it's cache without requesting > the server. But how can I handle that with Wicket ? Can you tell us what Wicket version you are using, and whether you have this completely reproducable? Eelco - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Page Expired in AjaxLink after backbutton FF2
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 the AjaxLink of my first page, I got a "Page Expired" with Firefox 2, but not with IE6. I think a possible reason is that IE makes a new HTTP request to get the page, and Firefox uses the page from it's cache without requesting the server. But how can I handle that with Wicket ? thanks Matthieu - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired
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 this issue. Thanks a million. Great help! Sajeev igor.vaynberg wrote: > > 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, 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 >> > dont >> > get the page expiry page. >> > >> > I have the following set in My application. >> > >> > getApplicationSettings().setPageExpiredErrorPage( >> > PageExpiredErrorPage.class ); >> > >> > Earlier before the page maps usage I use to get the page expired page >> > quite >> > frequently now I dont get it at all :). >> > >> > Am I doing something incorrectly. Please help! >> > >> > Thanks, >> > Sajeev >> > >> > >> > sunraider wrote: >> > > >> > > 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 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] > wrote: >> > >>> > >> > >>> > 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 (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 in the forum but I am unable to >> > get a >> > >>> > > solution to this problem. Can someone help me on this? >> > >>> > > >> > >>> > > Thanks, >> > >>> > > Sajeev >> > >>> > > >> > >>> > >> > >>> > -- >> > >>> > Erik van Oosten >> > >>> > http://www.day-to-day-stuff.blogspot.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 >> > >>> > >> > >>> >> > >>> >> > >>> >> > >> - >> > >>> 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 >> > >>> >> > >>> >> > >>> >> > >> >> > >> >> > >> - >> > >> 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 >> > >> ___ >> > >>
Re: [Wicket-user] Page Expired
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, 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 > dont > get the page expiry page. > > I have the following set in My application. > > getApplicationSettings().setPageExpiredErrorPage( > PageExpiredErrorPage.class ); > > Earlier before the page maps usage I use to get the page expired page > quite > frequently now I dont get it at all :). > > Am I doing something incorrectly. Please help! > > Thanks, > Sajeev > > > sunraider wrote: > > > > 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 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] > wrote: > >>> > > >>> > 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 (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 in the forum but I am unable to > get a > >>> > > solution to this problem. Can someone help me on this? > >>> > > > >>> > > Thanks, > >>> > > Sajeev > >>> > > > >>> > > >>> > -- > >>> > Erik van Oosten > >>> > http://www.day-to-day-stuff.blogspot.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 > >>> > > >>> > >>> > >>> > - > >>> 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 > >>> > >>> > >>> > >> > >> > - > >> 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 > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Page-Expired-tf3122565.html#a8781325 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.n
Re: [Wicket-user] Page Expired
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 dont get the page expiry page. I have the following set in My application. getApplicationSettings().setPageExpiredErrorPage( PageExpiredErrorPage.class); Earlier before the page maps usage I use to get the page expired page quite frequently now I dont get it at all :). Am I doing something incorrectly. Please help! Thanks, Sajeev sunraider wrote: > > 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 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] > wrote: >>> > >>> > 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 (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 in the forum but I am unable to get a >>> > > solution to this problem. Can someone help me on this? >>> > > >>> > > Thanks, >>> > > Sajeev >>> > > >>> > >>> > -- >>> > Erik van Oosten >>> > http://www.day-to-day-stuff.blogspot.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 >>> > >>> >>> >>> - >>> 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 >>> >>> >>> >> >> - >> 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 >> >> > > -- View this message in context: http://www.nabble.com/Page-Expired-tf3122565.html#a8781325 Sent from the Wicket - User mailing list archive at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net ht
Re: [Wicket-user] Page Expired
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. getApplicationSettings().setPageExpiredErrorPage(PageExpiredErrorPage.class); Earlier before the page maps usage I use to get the page expired page quite frequently now I dont get it at all :). Am I doing something incorrectly. Please help! Thanks, Sajeev sunraider wrote: > > 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 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] > wrote: >>> > >>> > 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 (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 in the forum but I am unable to get a >>> > > solution to this problem. Can someone help me on this? >>> > > >>> > > Thanks, >>> > > Sajeev >>> > > >>> > >>> > -- >>> > Erik van Oosten >>> > http://www.day-to-day-stuff.blogspot.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 >>> > >>> >>> >>> - >>> 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 >>> >>> >>> >> >> - >> 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 >> >> > > -- View this message in context: http://www.nabble.com/Page-Expired-tf3122565.html#a8781325 Sent from the Wicket - User mailing list archive at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired
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 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] > wrote: >> > >> > 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 (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 in the forum but I am unable to get a >> > > solution to this problem. Can someone help me on this? >> > > >> > > Thanks, >> > > Sajeev >> > > >> > >> > -- >> > Erik van Oosten >> > http://www.day-to-day-stuff.blogspot.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 >> > >> >> >> - >> 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 >> >> >> > > - > 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 > > -- View this message in context: http://www.nabble.com/Page-Expired-tf3122565.html#a8658899 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
Re: [Wicket-user] Page Expired
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 this page : http://cwiki.apache.org/WICKET/using-frames.html Marc On 1/26/07, Erik van Oosten <[EMAIL PROTECTED] > wrote: > > 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 (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 in the forum but I am unable to get a > > solution to this problem. Can someone help me on this? > > > > Thanks, > > Sajeev > > > > -- > Erik van Oosten > http://www.day-to-day-stuff.blogspot.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 > - 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 - 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
Re: [Wicket-user] Page Expired
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]> wrote: 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 (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 in the forum but I am unable to get a > solution to this problem. Can someone help me on this? > > Thanks, > Sajeev > -- Erik van Oosten http://www.day-to-day-stuff.blogspot.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 - 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
Re: [Wicket-user] Page Expired
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 (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 in the forum but I am unable to get a > solution to this problem. Can someone help me on this? > > Thanks, > Sajeev > -- Erik van Oosten http://www.day-to-day-stuff.blogspot.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
[Wicket-user] Page Expired
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 in the forum but I am unable to get a solution to this problem. Can someone help me on this? Thanks, Sajeev -- View this message in context: http://www.nabble.com/Page-Expired-tf3122565.html#a8651858 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
Re: [Wicket-user] Page Expired Error on pages containing Link and PagingNavigator
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] Imam <[EMAIL PROTECTED]> wrote: > > 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 when i have moved away from the first link of the navigator and > then > tries to go back. > > > > Anybody can help me resolve this issue ? > > Shams > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Page Expired Error on pages containing Link and PagingNavigator
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 when i have moved away from the first link of the navigator and then tries to go back.Anybody can help me resolve this issue ?Shams - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page expired problem
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 causing your problem. Try to make a small quickstart app containing your problem and send it here so we could see what we can do. Iman Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Page expired problem
Hi All, A am experiencing some wired behavior, every few pages wicket (1.2 and 1.2.1rc1) redirects to expired page. During this the session stays active and I can go to the home page without having to login again. This behavior is not deterministic (it happens when I go do different pages), but it looks like it is related to how ajax requests are handled. When I remove all ajax behaviors, the problem seams not to occur anymore. The redirect comes from DefaultRequestTargetResolverStrategy, method resolveRenderedPage. This method tries to retrieve the page from the session, but the PageMap in the session does not contain it, so expired page is returned. I don't explicitly use any page maps in the application. Does someone have he same issue? Could this be related to ajax? Dose someone have more (high level) information how page/page maps are handled in the session or have tips how to debug this in the best way? Appreciative for any tips, Adam Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] page expired when i restart jetty
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 need to get a page from the session first. Eelco 叶卫国 wrote: >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 first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user > > --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] page expired when i restart jetty
not if you where on a bookmarkable page Or if jetty stores the session on disk and read them back in if you restart. If both is not the case then the session isn't there any more and we can't construct the components/page so we have no idea where to dispatch the request. So the page was expired. johan 叶卫国 wrote: >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 first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user > > > --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] page expired when i restart jetty
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 first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page expired error
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 can reload the page as many times as needed with no problems. No other pages are created or reloaded, but the page still expires. This doesn't happen with wicket examples. I'm kind of confused, as far as I can tell my Application class and Page classes don't do anything differend then classes in wicket example, but the expiration happens no matter what. Any hints? Thanks. -Matej --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Page expired error
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 still expires. This doesn't happen with wicket examples. I'm kind of confused, as far as I can tell my Application class and Page classes don't do anything differend then classes in wicket example, but the expiration happens no matter what. Any hints? Thanks. -Matej --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user