Re: Ajax onTimer() method not called when running from embedded Jetty

2011-04-06 Thread Marek Šabo
Hi, thank you, it helped. If that does not bother you, could you please elaborate a little bit? Reqards, Marek On 04/05/2011 08:37 PM, Martin Grigorov wrote: you should set init-param org.apache.wicket.protocol.http.WicketFilter.FILTER_MAPPING_PARAM with value == the one you would put in

Re: Ajax onTimer() method not called when running from embedded Jetty

2011-04-06 Thread Martin Grigorov
WicketFilter needs to know the filter path it listens at. By default it extracts this information from web.xml but since you don't use web.xml you need to let Wicket know explicitly. The sequence is: 1) WicketFilter.FILTER_MAPPING_PARAM 2) @ServletFilter's initParams (when Servlet 3.0 API is used

Re: Ajax onTimer() method not called when running from embedded Jetty

2011-04-06 Thread Marek Šabo
Thank you for explanation. On 04/06/2011 02:01 PM, Martin Grigorov wrote: WicketFilter needs to know the filter path it listens at. By default it extracts this information from web.xml but since you don't use web.xml you need to let Wicket know explicitly. The sequence is: 1)

Ajax onTimer() method not called when running from embedded Jetty

2011-04-05 Thread Marek Šabo
Hi all, I would like to know whether any of you ran into similar issue: I need timer behaviour to repaint panel that displays some data/stats provided by a network engine. When I run my app in tomcat or via mvn jetty:run as common webapp it gets called. But in my setup it's feasible to

Re: Ajax onTimer() method not called when running from embedded Jetty

2011-04-05 Thread Martin Grigorov
you should set init-param org.apache.wicket.protocol.http.WicketFilter.FILTER_MAPPING_PARAM with value == the one you would put in web.xml - url-pattern On Tue, Apr 5, 2011 at 6:30 PM, Marek Šabo ms...@buk.cvut.cz wrote: Hi all, I would like to know whether any of you ran into similar issue: