Thank you Maxim, I will try to implement your example as workaround Best Regards,Erwan
PS: Sorry for bad formatted email i don't know why(and English :p ), using yahoo mail On Thursday, May 18, 2017, 3:39:53 PM GMT+7, Maxim Solodovnik <[email protected]> wrote:In case Ajax is available you can start with button disabled by default Then add AbstractDefaultAjaxBehavior to the page and trigger it on dom ready: @Override public void renderHead(IHeaderResponse response) { response.render(OnDomReadyHeaderItem.forScript(myBehavior.getCallbackScript())); } and enable your buttons in myBehavior response On Thu, May 18, 2017 at 3:30 PM, Martin Grigorov <[email protected]> wrote: > Hi, > > See PageExpiredException javadoc. > The exception is not thrown only when the session is expired. > Most probably the page has not be saved at all. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, May 18, 2017 at 10:12 AM, Erwan Tanajaya <[email protected]> > wrote: > >> hi all, >> I have problem always get Page Expired error(event i set my session >> expired time to 8 hour), it happen if i open a page that had a datatable >> with have hundred of row.If i click a button that had a setResponsePage to >> a new page when the page is still loading and do something in the new >> opened page(push a button for example) it will cause Page Expired. >> can anybody help me to solve this problem ? >> i using :wicket 7.3tomcat 8.5java 8 >> >> Best Regards,Erwan >> -- WBR Maxim aka solomax --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
