Re: Page Expired page with PatternDateConverter
Yes, it works fine if we do not override the getConverter method. In which case it behaves like a normal AjaxEditableLabel, as would be expected, and we are using AjaxEditableLabel instances in many places in our application. - Hemant On 10/11/2010 6:24 AM, Altuğ Bilgin Altıntaş wrote: if you don't override IConverter then everything works fine ? 2010/10/11 Hemant Shahprot...@gmail.com Altuğ, thanks for responding. There are no errors reported in the log. All the classes in the project are serializable. Could this be a bug? Regards, Hemant On 10/10/2010 5:03 PM, Altuğ Bilgin Altıntaş wrote: Did you look at Wicket's logs ? Be sure serialization is done correctly. 2010/10/10 Hemant Shahprot...@gmail.com I am new to the Wicket framework and I hope I can get some help with a problem I am facing. I am using version 1.4.12. I am overriding the AjaxEditableLabel class and its overridden getConverter method is at follows: @Override public IConverter. getConverter(Class type) { return new PatternDateConverter(MM/dd/, true); } However, the first time in a session the component is updated, I get the Page Expired message. The error results only when the getConverter method is called. Note that this happens only the first time I access it in a session. If I go to the home page and from there back to the page which contains the component, it works without any problems. I am not sure how to overcome this problem. I hope you guys can help. Thanks. - Hemant
Page Expired page with PatternDateConverter
I am new to the Wicket framework and I hope I can get some help with a problem I am facing. I am using version 1.4.12. I am overriding the AjaxEditableLabel class and its overridden getConverter method is at follows: @Override public IConverter getConverter(Class type) { return new PatternDateConverter(MM/dd/, true); } However, the first time in a session the component is updated, I get the Page Expired message. The error results only when the getConverter method is called. Note that this happens only the first time I access it in a session. If I go to the home page and from there back to the page which contains the component, it works without any problems. I am not sure how to overcome this problem. I hope you guys can help. Thanks. - Hemant
Re: Page Expired page with PatternDateConverter
Altuğ, thanks for responding. There are no errors reported in the log. All the classes in the project are serializable. Could this be a bug? Regards, Hemant On 10/10/2010 5:03 PM, Altuğ Bilgin Altıntaş wrote: Did you look at Wicket's logs ? Be sure serialization is done correctly. 2010/10/10 Hemant Shahprot...@gmail.com I am new to the Wicket framework and I hope I can get some help with a problem I am facing. I am using version 1.4.12. I am overriding the AjaxEditableLabel class and its overridden getConverter method is at follows: @Override public IConverter. getConverter(Class type) { return new PatternDateConverter(MM/dd/, true); } However, the first time in a session the component is updated, I get the Page Expired message. The error results only when the getConverter method is called. Note that this happens only the first time I access it in a session. If I go to the home page and from there back to the page which contains the component, it works without any problems. I am not sure how to overcome this problem. I hope you guys can help. Thanks. - Hemant