Re: different page expired error page?

2012-12-10 Thread Karsten Gaul
e it a try. 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 wrote:

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: 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 wrote: Hi Martin, myContent is the id of the StatelessAjaxLazyLoadPanel which contains a constant private static final String LAZY_LOAD_COMPONENT_ID = "content"; which

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Karsten Gaul
not a container? Regards, Karsten Am 06.12.2012 12:37, schrieb Martin Grigorov: On Thu, Dec 6, 2012 at 11:53 AM, Karsten Gaul wrote: Trying to: /// StatelessAbstractDefaultAjaxBe**havior /// @Override public CharSequence getCallbackUrl(final boolean onlyTargetActivePage) { final

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Karsten Gaul
nt? Thanks, Karsten Am 06.12.2012 11:30, schrieb Martin Grigorov: Show us some code and the real exception. On Thu, Dec 6, 2012 at 11:26 AM, Karsten Gaul wrote: Hi guys, I still have no clue. Any suggestions? A work-around would also be much appreciated. I need to stay stateless but I definet

Re: stateless AjaxLazyLoadPanel wicket 1.4.21

2012-12-06 Thread Karsten Gaul
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

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 pat

Re: Authorization without redirect

2012-11-29 Thread Karsten Gaul
en Am 28.11.2012 13:36, schrieb Ernesto 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

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 RestartResponseAt