Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Karsten Gaul
Hi guys, I still have no clue. Any suggestions? A work-around would also be much appreciated. I need to stay stateless but I definetely need this lazy loading as I have to wait for a soap response every 10 mins and for user experience issues need to display some loading component/icon as

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Martin Grigorov
Show us some code and the real exception. On Thu, Dec 6, 2012 at 11:26 AM, Karsten Gaul karsten.g...@exedio.comwrote: Hi guys, I still have no clue. Any suggestions? A work-around would also be much appreciated. I need to stay stateless but I definetely need this lazy loading as I have to

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Karsten Gaul
Trying to: /// StatelessAbstractDefaultAjaxBehavior /// @Override public CharSequence getCallbackUrl(final boolean onlyTargetActivePage) { final CharSequence url = super.getCallbackUrl(onlyTargetActivePage); final PageParameters params = getPageParameters(); //

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Martin Grigorov
On Thu, Dec 6, 2012 at 11:53 AM, Karsten Gaul karsten.g...@exedio.comwrote: Trying to: /// StatelessAbstractDefaultAjaxBe**havior /// @Override public CharSequence getCallbackUrl(final boolean onlyTargetActivePage) { final CharSequence url = super.getCallbackUrl(**

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Karsten Gaul
Hi Martin, myContent is the id of the StatelessAjaxLazyLoadPanel which contains a constant private static final String LAZY_LOAD_COMPONENT_ID = content; which is used in getLazyLoadComponent(String markupId). 'myContent' contains the lazy load component 'content'.

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Martin Grigorov
On Thu, Dec 6, 2012 at 12:57 PM, Karsten Gaul karsten.g...@exedio.comwrote: Hi Martin, myContent is the id of the StatelessAjaxLazyLoadPanel which contains a constant private static final String LAZY_LOAD_COMPONENT_ID = content; which is used in getLazyLoadComponent(String markupId).

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Karsten Gaul
The exception is thrown when this = content and path = myForm:enumChoice It seems the content has no other children as it only contains a parent member field I already tested the stateful version and can confirm it works OK which made me hope I could write a similar version for stateless

stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-05 Thread Karsten Gaul
Hi, I'm trying to use the functionality of an AjaxLazyLoadPanel in a stateless page but this doesn't seem to work as the injected content is not a container and the following exception is thrown: java.lang.IllegalArgumentException: Component is not a container and so does not contain the