redirectToInterceptPage,continueToOriginalDestination and cookies

2013-11-01 Thread wen zhang
Hi, In the JavaDoc of Component.html#redirectToInterceptPage, it says "Redirects browser to an intermediate page such as a sign-in page. ". In my sign-in page, I want to store cookies for implementing 'remember me'. And I also want to use continueToOriginalDestination to return to the previous pag

Re: Installing Wicket application on a VPS server - How?!

2013-11-01 Thread David Beer
Hi Martino If you have glasshfish running the simple answer is to make sure that port 8080 (which is the default for glassfish) is open on your file. Build your WAR file of your application upload to your VPS and deploy to glassfish. You should then be able to see your application by doing the fol

Component detecting Ajax update

2013-11-01 Thread Nick Pratt
Is there a way for a Component to detect if its been added to an AjaxRequestTarget? N

Re: Component detecting Ajax update

2013-11-01 Thread vineet semwal
see AjaxRequestTarget#getComponents() On Fri, Nov 1, 2013 at 7:15 PM, Nick Pratt wrote: > Is there a way for a Component to detect if its been added to an > AjaxRequestTarget? > > N > -- regards, Vineet Semwal

Cannot get to desired error page on handling RuntimeException in AbstractRequestCycleListener#onException()

2013-11-01 Thread dgn
I have a page in which an entity's ID is passed as a parameter. During the page construction a check is done on the backing database for the entity's existence. If it doesn't exist a custom RepositoryProviderException is thrown (which extends RuntimeException). I have extended AbstractRequestCycle

Re: Cannot get to desired error page on handling RuntimeException in AbstractRequestCycleListener#onException()

2013-11-01 Thread Sven Meier
Which Wicket version? Try out: new PageProvider(CustomErrorPage.class) Regards Sven On 11/01/2013 08:42 PM, dgn wrote: I have a page in which an entity's ID is passed as a parameter. During the page construction a check is done on the backing database for the entity's existence. If it doesn't