Re: Access to Dynamically Generated AjaxEditableLabel Value

2017-05-18 Thread Martin Grigorov
Hi, You are using "cellItem.add(new AjaxEditableLabel(componentId)" i.e. the AEL has no its own model but uses IComponentInheritedModel from its parents. Try by using a model for AEL: cellItem.add(new AjaxEditableLabel(componentId, Model.of(0)) Martin Grigorov Wicket Training and Consulting

Re: Access to Dynamically Generated AjaxEditableLabel Value

2017-05-18 Thread Ehsan
Hi Martin, Thank you for your answer. I changed the the Model of the AEL but still can not retrieve the values which are entered in them. Could you please let me know how can I retrieve these values for each row of table? Thanks in advance -- View this message in context:

Re: Wicket page expired if push button to open new page

2017-05-18 Thread Maxim Solodovnik
Maybe it worth to add paging and limit displayed rows to some reasonable count? Or block page navigations until data will be fully available? On Thu, May 18, 2017 at 3:12 PM, Erwan Tanajaya wrote: > hi all, > I have problem always get Page Expired error(event i set my

Re: Access to Dynamically Generated AjaxEditableLabel Value

2017-05-18 Thread Martin Grigorov
Hi, You have to update the models, so you are doing it right! Please create a simple demo application and share it with us (e.g. at GitHub, BitBucket) and we will try to see where is the problem. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, May 18, 2017

Re: Wicket page expired if push button to open new page

2017-05-18 Thread Erwan Tanajaya
Hi Maxim, Thank you for your answer, The user don't want a paging, how to block the page navigation until data fully available ? Best Regards,Erwan Tanajaya On Thursday, May 18, 2017, 3:16:21 PM GMT+7, Maxim Solodovnik wrote:Maybe it worth to add paging and limit

Re: Wicket page expired if push button to open new page

2017-05-18 Thread Martin Grigorov
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

Re: Wicket page expired if push button to open new page

2017-05-18 Thread Maxim Solodovnik
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()));

Wicket page expired if push button to open new page

2017-05-18 Thread Erwan Tanajaya
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

[ANNOUNCE] WicketStuff 8.0.0-M6 Released

2017-05-18 Thread Martin Grigorov
WicketStuff core 8.0.0-M6 based on Apache Wicket 8.0.0-M6 is released and soon will be available at Maven Central! The changelog since 8.0.0-M5 is: Andrea Del Bene (3): Fix to servlet api dependency Fixes for the last 8 snapshot Fix to SessionPageStore#canBeAsynchronous. Now it

Re: FileUploadField with AJAX Behavior

2017-05-18 Thread Martin Grigorov
Hi, Please create a quickstart app and attach it to a ticket in JIRA! Thanks! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, May 16, 2017 at 6:35 PM, SeldonCrisis wrote: > Hello everyone, > > I would like to perform some actions in

Re: ResourceReference that contains relative paths

2017-05-18 Thread Martin Grigorov
Hi, The easiest solution is to move BootstrapCssResourceReference.java one level up and change the relative path to: css/bootstrap.css Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, May 17, 2017 at 2:03 PM, Ravi wrote: > Hi, > >

Re: FileUploadField with AJAX Behavior

2017-05-18 Thread Maxim Solodovnik
We are using: http://www.jasny.net/bootstrap/javascript/#fileinput integrated into our application [1] Looks good, works as expected :) [1] https://github.com/apache/openmeetings/tree/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/util/upload On Fri, May 19, 2017 at 5:57 AM,

[ANNOUNCE] Apache Wicket 8.0.0-M6 released

2017-05-18 Thread Andrea Del Bene
The Apache Wicket PMC is proud to announce Apache Wicket 8.0.0-M6! Apache Wicket is an open source Java component oriented web application framework that powers thousands of web applications and web sites for governments, stores, universities, cities, banks, email providers, and more. You can

Re: Wicket page expired if push button to open new page

2017-05-18 Thread Erwan Tanajaya
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 wrote:In case Ajax is available you

Re: Wicket page expired if push button to open new page

2017-05-18 Thread Erwan Tanajaya
Hi Martin, Thank you for your answer How can i know if the page has not been saved ?There are no stacktrace in my log saying anything when the exception occurred. Best Regards, Erwan PS: Sorry for bad formatted email i don't know why(and English :p ), using yahoo mail On Thursday, May 18,