different page expired error page?

2012-12-10 Thread Karsten Gaul
Hi, is there a way to have different page expiry error pages? For my app I would like to redirect browsing users (not logged in) to a real error page which is plain and simple but logged in users should be redirected to the login page on session timeout. Thanks, Karsten

Re: different page expired error page?

2012-12-10 Thread Karsten Gaul
. Thanks, Karsten Am 10.12.2012 12:14, schrieb Martin Grigorov: Hi, See org.apache.wicket.request.cycle.AbstractRequestCycleListener#onException With this you can return RenderPageRequestHanlder specific for any type of exception. On Mon, Dec 10, 2012 at 11:37 AM, Karsten Gaul karsten.g

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Karsten Gaul
as provided by AjaxLazyLoadPanel. Thanks, Karsten Am 05.12.2012 09:38, schrieb 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

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Karsten Gaul
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 wait for a soap response every 10

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Karsten Gaul
06.12.2012 12:37, schrieb 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

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Karsten Gaul
pages as well. Am 06.12.2012 13:00, schrieb 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

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

Re: Authorization without redirect

2012-11-29 Thread Karsten Gaul
Reinaldo Barreiro: See https://cwiki.apache.org/confluence/display/WICKET/Modal+Windows Opening a modal window on page load (no AJAX involved) You could use one to block the page till pin is typed. On Wed, Nov 28, 2012 at 1:29 PM, Karsten Gaul karsten.g...@exedio.comwrote: Hi everyone, I'm

Authorization without redirect

2012-11-28 Thread Karsten Gaul
Hi everyone, I'm currently building an application using wicket 1.4.21 and what I'm trying to achieve is the following: I have a protected area (stage 1) which requires the user to input his credentials and I'm using an AuthorizationStrategy for this. This Strategy throws a