Re: Stateless Wicket and Ajax

2011-09-01 Thread Decebal Suiu
Hi I have the same problem unable to find component with path... (a DropDownChoice with StatelessAjaxFormComponentUpdatingBehavior(onchange) on each item in a repeater ). It's now a solution without to modify wicket sources (probably with the wicket 1.5 version)? Thanks, decebal -- View this

Re: Stateless Wicket and Ajax

2011-03-13 Thread Martin Grigorov
On Sat, Mar 12, 2011 at 2:48 PM, Serban Balamaci serban.balam...@asf.rowrote: Yes I was looking at jolira tools, but I get the exception unable to find component and looking at the source: final Component component = page.get(pageRelativeComponentPath); if (component == null) {

Re: Stateless Wicket and Ajax

2011-03-13 Thread Martin Grigorov
Hi, On Sat, Mar 12, 2011 at 10:41 PM, robert.mcguinness robert.mcguinness@gmail.com wrote: Martin, With a custom StatelessRequestMapper and and a the change to Behaviors.getBehaviorById(int id) below I was able to get stateless components to work in 1.5 using a clone

Re: Stateless Wicket and Ajax

2011-03-13 Thread Serban Balamaci
Hello everybody. It is indeed as Robert is saying. And after changing the code, it works Component component = page.get(pageRelativeComponentPath); // See {@link // BookmarkableListenerInterfaceRequestTarget#processEvents(RequestCycle)} // We make have to try to

Re: Stateless Wicket and Ajax

2011-03-12 Thread Serban Balamaci
Yes I was looking at jolira tools, but I get the exception unable to find component and looking at the source: final Component component = page.get(pageRelativeComponentPath); if (component == null) { throw new WicketRuntimeException(unable to find component with path

Re: Stateless Wicket and Ajax

2011-03-12 Thread robert.mcguinness
Martin, With a custom StatelessRequestMapper and and a the change to Behaviors.getBehaviorById(int id) below I was able to get stateless components to work in 1.5 using a clone https://github.com/martin-g/wicket-stateless. This is probably not the best approach but it was a fun exercise.

Re: Stateless Wicket and Ajax

2011-03-12 Thread robert.mcguinness
Serban, If you make the change below in StatelessWebRequestCodingStrategy the component should be found in the page. It's a copy from BookmarkableListenerInterfaceRequestTarget#processEvents. Jolira noted this might be needed in their comments. private static Component getComponent(final Page

Re: Stateless Wicket and Ajax

2011-03-11 Thread Vojtěch Krása
Hi, check this http://apache-wicket.1842946.n4.nabble.com/Removing-the-jsessionid-for-SEO-td1854094.html no error should occur. 2011/3/11 Serban Balamaci serban.balam...@asf.ro Hello everybody. I'm interested in Wicket for a public site. I want to use stateless pages in order to have nice

Re: Stateless Wicket and Ajax

2011-03-11 Thread robert.mcguinness
I built a stateless site using the http://code.google.com/p/jolira-tools/wiki/stateless Jolira Tools and it worked out great, you just have to get used to using PageParameters for everything (contructors, pagination, etc). During development I had conditional breakpoints in locations that

Re: Stateless Wicket and Ajax

2011-03-11 Thread Martin Grigorov
On Fri, Mar 11, 2011 at 8:28 PM, robert.mcguinness robert.mcguinness@gmail.com wrote: I built a stateless site using the http://code.google.com/p/jolira-tools/wiki/stateless Jolira Tools and it worked out great, you just have to get used to using PageParameters for everything