Re: Solved // Re: Page expiration error on AJAX call
Hi, On Wed, Oct 17, 2012 at 7:24 AM, Ondrej Zizka ozi...@redhat.com wrote: You were right, like usually :) What's the preffered way for CDI fields - making them transient, or the class serializable? CDI injects serializable proxy instead of your bean, so there is no reason to make it serializable. Do you use wicket-cdi ? Thanks, Ondra On Tue, 2012-10-09 at 15:52 +0200, Ondrej Zizka wrote: I was thinking about that, but saw no errors in the log. Maybe hidden? What would be the logging group? Thanks, Ondra On Tue, 2012-10-09 at 07:41 +0300, Martin Grigorov wrote: Hi, Check your logs for errors related to the serialization of the page. If the page is not properly serialized then next attempts to find it will fail with PageExpiredException. On Tue, Oct 9, 2012 at 4:37 AM, Ondrej Zizka ozi...@redhat.com wrote: Hi, I have an AjaxEditableLabel wrapped in a component. After some changes (I'm still finding which), it's behavior gone totally astray: On click, it gave me Page Expired every time. That was happening with this.getPageSettings().setRecreateMountedPagesAfterExpiry(false); When this is true, it redirects me to an invalid URL - from http://localhost:8080/essc-portal/release/EAP/5.0.0.GA?10 to http://localhost:8080/essc-portal/release//?12 The AEL's code is: span id=label40 onclick=var wcall=wicketAjaxGet('./5.0.0.GA?6-1.IBehaviorListener.0-releaseBox-form-traits-releasedBinaries-link-label',function() { }.bind(this),function() { }.bind(this), function() {return Wicket.$('label40') != null;}.bind(this)); I have tried everything that came to my mind. Any ideas what could be wrong? Thanks, Ondra -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Solved // Re: Page expiration error on AJAX call
You were right, like usually :) What's the preffered way for CDI fields - making them transient, or the class serializable? Thanks, Ondra On Tue, 2012-10-09 at 15:52 +0200, Ondrej Zizka wrote: I was thinking about that, but saw no errors in the log. Maybe hidden? What would be the logging group? Thanks, Ondra On Tue, 2012-10-09 at 07:41 +0300, Martin Grigorov wrote: Hi, Check your logs for errors related to the serialization of the page. If the page is not properly serialized then next attempts to find it will fail with PageExpiredException. On Tue, Oct 9, 2012 at 4:37 AM, Ondrej Zizka ozi...@redhat.com wrote: Hi, I have an AjaxEditableLabel wrapped in a component. After some changes (I'm still finding which), it's behavior gone totally astray: On click, it gave me Page Expired every time. That was happening with this.getPageSettings().setRecreateMountedPagesAfterExpiry(false); When this is true, it redirects me to an invalid URL - from http://localhost:8080/essc-portal/release/EAP/5.0.0.GA?10 to http://localhost:8080/essc-portal/release//?12 The AEL's code is: span id=label40 onclick=var wcall=wicketAjaxGet('./5.0.0.GA?6-1.IBehaviorListener.0-releaseBox-form-traits-releasedBinaries-link-label',function() { }.bind(this),function() { }.bind(this), function() {return Wicket.$('label40') != null;}.bind(this)); I have tried everything that came to my mind. Any ideas what could be wrong? Thanks, Ondra
Re: Page expiration error on AJAX call
I was thinking about that, but saw no errors in the log. Maybe hidden? What would be the logging group? Thanks, Ondra On Tue, 2012-10-09 at 07:41 +0300, Martin Grigorov wrote: Hi, Check your logs for errors related to the serialization of the page. If the page is not properly serialized then next attempts to find it will fail with PageExpiredException. On Tue, Oct 9, 2012 at 4:37 AM, Ondrej Zizka ozi...@redhat.com wrote: Hi, I have an AjaxEditableLabel wrapped in a component. After some changes (I'm still finding which), it's behavior gone totally astray: On click, it gave me Page Expired every time. That was happening with this.getPageSettings().setRecreateMountedPagesAfterExpiry(false); When this is true, it redirects me to an invalid URL - from http://localhost:8080/essc-portal/release/EAP/5.0.0.GA?10 to http://localhost:8080/essc-portal/release//?12 The AEL's code is: span id=label40 onclick=var wcall=wicketAjaxGet('./5.0.0.GA?6-1.IBehaviorListener.0-releaseBox-form-traits-releasedBinaries-link-label',function() { }.bind(this),function() { }.bind(this), function() {return Wicket.$('label40') != null;}.bind(this)); I have tried everything that came to my mind. Any ideas what could be wrong? Thanks, Ondra
RE: Page expiration error on AJAX call
That's the problem, that the changes were quite unrelated - I started changing the structure of components, and found out this regression after quite some work. However I think I will end up going `git reset HEAD^` until I find... On Mon, 2012-10-08 at 22:49 -0400, Paul Bors wrote: Start by looking for a JS onClick event/behavior through your recent changes :) Or add some code for us to view... ~ Thank you, Paul Bors -Original Message- From: Ondrej Zizka [mailto:ozi...@redhat.com] Sent: Monday, October 08, 2012 9:37 PM To: wicket-users Subject: Page expiration error on AJAX call Hi, I have an AjaxEditableLabel wrapped in a component. After some changes (I'm still finding which), it's behavior gone totally astray: On click, it gave me Page Expired every time. That was happening with this.getPageSettings().setRecreateMountedPagesAfterExpiry(false); When this is true, it redirects me to an invalid URL - from http://localhost:8080/essc-portal/release/EAP/5.0.0.GA?10 to http://localhost:8080/essc-portal/release//?12 The AEL's code is: span id=label40 onclick=var wcall=wicketAjaxGet('./5.0.0.GA?6-1.IBehaviorListener.0-releaseBox-form-traits-releasedBinaries-link-label',function() { }.bind(this),function() { }.bind(this), function() {return Wicket.$('label40') != null;}.bind(this)); I have tried everything that came to my mind. Any ideas what could be wrong? Thanks, Ondra - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Page expiration error on AJAX call
Start by looking for a JS onClick event/behavior through your recent changes :) Or add some code for us to view... ~ Thank you, Paul Bors -Original Message- From: Ondrej Zizka [mailto:ozi...@redhat.com] Sent: Monday, October 08, 2012 9:37 PM To: wicket-users Subject: Page expiration error on AJAX call Hi, I have an AjaxEditableLabel wrapped in a component. After some changes (I'm still finding which), it's behavior gone totally astray: On click, it gave me Page Expired every time. That was happening with this.getPageSettings().setRecreateMountedPagesAfterExpiry(false); When this is true, it redirects me to an invalid URL - from http://localhost:8080/essc-portal/release/EAP/5.0.0.GA?10 to http://localhost:8080/essc-portal/release//?12 The AEL's code is: span id=label40 onclick=var wcall=wicketAjaxGet('./5.0.0.GA?6-1.IBehaviorListener.0-releaseBox-form-traits-releasedBinaries-link-label',function() { }.bind(this),function() { }.bind(this), function() {return Wicket.$('label40') != null;}.bind(this)); I have tried everything that came to my mind. Any ideas what could be wrong? Thanks, Ondra - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Page expiration error on AJAX call
Hi, Check your logs for errors related to the serialization of the page. If the page is not properly serialized then next attempts to find it will fail with PageExpiredException. On Tue, Oct 9, 2012 at 4:37 AM, Ondrej Zizka ozi...@redhat.com wrote: Hi, I have an AjaxEditableLabel wrapped in a component. After some changes (I'm still finding which), it's behavior gone totally astray: On click, it gave me Page Expired every time. That was happening with this.getPageSettings().setRecreateMountedPagesAfterExpiry(false); When this is true, it redirects me to an invalid URL - from http://localhost:8080/essc-portal/release/EAP/5.0.0.GA?10 to http://localhost:8080/essc-portal/release//?12 The AEL's code is: span id=label40 onclick=var wcall=wicketAjaxGet('./5.0.0.GA?6-1.IBehaviorListener.0-releaseBox-form-traits-releasedBinaries-link-label',function() { }.bind(this),function() { }.bind(this), function() {return Wicket.$('label40') != null;}.bind(this)); I have tried everything that came to my mind. Any ideas what could be wrong? Thanks, Ondra -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Page expiration
i use tomcat .But have the same problem.i used iframe in a page.,and when i click several times,it's 'page expired'.it puzzled me all the time. 2007/9/20, Swaroop Belur [EMAIL PROTECTED]: We are facing the same problem here - but its only with jetty and not with tomcat. After a re login everything seems to work fine. Its only the first time. (i guess the resource was loaded the next time.) The problem however does not occur with tomcat. -swaroop On 9/20/07, Holda, Dariusz [EMAIL PROTECTED] wrote: I don't have but from time to time I'm getting this error: ERROR Unable to render resource stream jar:file:/vendor/Wicket_ext/1.2.6/wicket-extensions-1.2.6.jar!/wicket/ex tensions/markup/html/datepicker/style/aqua/menuarrow.gifwicket.WicketRun timeException: Unable to render resource stream jar:file:/vendor/Wicket_ext/1.2.6/wicket-extensions-1.2.6.jar!/wicket/ex tensions/markup/html/datepicker/style/aqua/menuarrow.gif Could this be the cause of the problem? Thx, Dariusz -Original Message- From: Dipu Seminlal [mailto:[EMAIL PROTECTED] Sent: 20 September 2007 13:03 To: users@wicket.apache.org Subject: Re: Page expiration Hi, Can you please check if you have any img tags in your html with empty src attributes ? Regards Dipu On 9/20/07, Holda, Dariusz [EMAIL PROTECTED] wrote: Hi, I've came across a strange behaviour. I'm running Wicket app on Jetty server and most of the times it's working fine but from time to time I'm getting Page expired message even if user is actively using the app. Unfortunately it's not happening on the same events. Sometimes it's after pressing 'Save' after choosing a date in DatePicker, sometimes it's happening after clicking on a different tab after editing a textfield. Anyone has an idea what may be the cause of this problem? I'm using wicket-1.2.6 and each of the editable fields has an Ajax behaviour. Thx, Dariusz - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Page expiration
Hi, Can you please check if you have any img tags in your html with empty src attributes ? Regards Dipu On 9/20/07, Holda, Dariusz [EMAIL PROTECTED] wrote: Hi, I've came across a strange behaviour. I'm running Wicket app on Jetty server and most of the times it's working fine but from time to time I'm getting Page expired message even if user is actively using the app. Unfortunately it's not happening on the same events. Sometimes it's after pressing 'Save' after choosing a date in DatePicker, sometimes it's happening after clicking on a different tab after editing a textfield. Anyone has an idea what may be the cause of this problem? I'm using wicket-1.2.6 and each of the editable fields has an Ajax behaviour. Thx, Dariusz - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Page expiration
I don't have but from time to time I'm getting this error: ERROR Unable to render resource stream jar:file:/vendor/Wicket_ext/1.2.6/wicket-extensions-1.2.6.jar!/wicket/ex tensions/markup/html/datepicker/style/aqua/menuarrow.gifwicket.WicketRun timeException: Unable to render resource stream jar:file:/vendor/Wicket_ext/1.2.6/wicket-extensions-1.2.6.jar!/wicket/ex tensions/markup/html/datepicker/style/aqua/menuarrow.gif Could this be the cause of the problem? Thx, Dariusz -Original Message- From: Dipu Seminlal [mailto:[EMAIL PROTECTED] Sent: 20 September 2007 13:03 To: users@wicket.apache.org Subject: Re: Page expiration Hi, Can you please check if you have any img tags in your html with empty src attributes ? Regards Dipu On 9/20/07, Holda, Dariusz [EMAIL PROTECTED] wrote: Hi, I've came across a strange behaviour. I'm running Wicket app on Jetty server and most of the times it's working fine but from time to time I'm getting Page expired message even if user is actively using the app. Unfortunately it's not happening on the same events. Sometimes it's after pressing 'Save' after choosing a date in DatePicker, sometimes it's happening after clicking on a different tab after editing a textfield. Anyone has an idea what may be the cause of this problem? I'm using wicket-1.2.6 and each of the editable fields has an Ajax behaviour. Thx, Dariusz - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Page expiration
We are facing the same problem here - but its only with jetty and not with tomcat. After a re login everything seems to work fine. Its only the first time. (i guess the resource was loaded the next time.) The problem however does not occur with tomcat. -swaroop On 9/20/07, Holda, Dariusz [EMAIL PROTECTED] wrote: I don't have but from time to time I'm getting this error: ERROR Unable to render resource stream jar:file:/vendor/Wicket_ext/1.2.6/wicket-extensions-1.2.6.jar!/wicket/ex tensions/markup/html/datepicker/style/aqua/menuarrow.gifwicket.WicketRun timeException: Unable to render resource stream jar:file:/vendor/Wicket_ext/1.2.6/wicket-extensions-1.2.6.jar!/wicket/ex tensions/markup/html/datepicker/style/aqua/menuarrow.gif Could this be the cause of the problem? Thx, Dariusz -Original Message- From: Dipu Seminlal [mailto:[EMAIL PROTECTED] Sent: 20 September 2007 13:03 To: users@wicket.apache.org Subject: Re: Page expiration Hi, Can you please check if you have any img tags in your html with empty src attributes ? Regards Dipu On 9/20/07, Holda, Dariusz [EMAIL PROTECTED] wrote: Hi, I've came across a strange behaviour. I'm running Wicket app on Jetty server and most of the times it's working fine but from time to time I'm getting Page expired message even if user is actively using the app. Unfortunately it's not happening on the same events. Sometimes it's after pressing 'Save' after choosing a date in DatePicker, sometimes it's happening after clicking on a different tab after editing a textfield. Anyone has an idea what may be the cause of this problem? I'm using wicket-1.2.6 and each of the editable fields has an Ajax behaviour. Thx, Dariusz - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Page expiration
shumbola wrote: Jonathan Locke wrote: what version of wicket are you using? shumbola wrote: I've in My application class this: getApplicationSettings().setPageExpiredErrorPage(MyPageExpired.class); In my application I've got a menu - a few links to other pages. If i click links everything works ok, but if click a link or two, and go back with browser's back button two times and go forth once it shows me my PageExpired page. Is it due to my application mixes BookmarkablePages and normal pages or what could be the problem of this behavior? I'm using wicket snapshot from July 30. shumbola Of course, it is wicket-1.3 snapshot ;) -- View this message in context: http://www.nabble.com/Page-expiration-tf4191798.html#a11959367 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]