Re: Lock timeout per page class

2014-10-28 Thread Martin Grigorov
Hi, I share Sebastien's concern. I'll see how to workaround this. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sat, Oct 25, 2014 at 2:57 PM, Sebastien seb...@gmail.com wrote: Hi Guillaume, Generally speaking, you cannot call a non final method from a

Re: jquery DataTable + wicket Cannot bind a listener

2014-10-28 Thread Martin Grigorov
Hi, You should read about JavaScript event delegation. This is what they recommend. Wicket has basic support for this with org.apache.wicket.ajax.attributes.AjaxRequestAttributes#setChildSelector. I.e. you can register an Ajax behavior on the table or tbody and use childSelector to listen for

Re: Lock timeout per page class

2014-10-28 Thread Martin Grigorov
Here is my version: http://pastie.org/9680245 Please create a ticket in JIRA if you like it. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Oct 28, 2014 at 9:52 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, I share Sebastien's concern. I'll see

Re: [7.0.0-SNAPSHOT] WebSocketResponse#sendError throws UnsupportedOperationException

2014-10-28 Thread Martin Grigorov
Hi Sebastien, I've improved it with https://issues.apache.org/jira/browse/WICKET-5737 Please let me know if you see more improvements. Thanks ! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Oct 23, 2014 at 8:08 PM, Sebastien seb...@gmail.com wrote: Hi

Re: jquery DataTable + wicket Cannot bind a listener

2014-10-28 Thread Jason Novotny
Hi Martin, Are there examples? What about this simple piece of code... WebMarkupContainer tbody = new WebMarkupContainer(tbody); tbody.add(new AjaxEventBehavior(onclick) { @Override protected void onEvent(AjaxRequestTarget target) { }

Re: [7.0.0-SNAPSHOT] WebSocketResponse#sendError throws UnsupportedOperationException

2014-10-28 Thread Sebastien
Hi Martin, Tested, I like it :) Thanks, Sebastien. On Tue, Oct 28, 2014 at 10:37 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi Sebastien, I've improved it with https://issues.apache.org/jira/browse/WICKET-5737 Please let me know if you see more improvements. Thanks ! Martin

Re: jquery DataTable + wicket Cannot bind a listener

2014-10-28 Thread Martin Grigorov
Hi, On Tue, Oct 28, 2014 at 5:00 PM, Jason Novotny jason.novo...@gmail.com wrote: Hi Martin, Are there examples? What about this simple piece of code... I don't have any open source example at hand ... :-/ WebMarkupContainer tbody = new WebMarkupContainer(tbody); tbody.add(new

Re: Lock timeout per page class

2014-10-28 Thread Guillaume Smet
Hi Martin, Looks sane to me. I created a JIRA issue: https://issues.apache.org/jira/browse/WICKET-5740 . Thanks again for your help! On Tue, Oct 28, 2014 at 9:45 AM, Martin Grigorov mgrigo...@apache.org wrote: Here is my version: http://pastie.org/9680245 Please create a ticket in JIRA if you