Hi,

Try by mounting the login page to some path.
In YourApp#init() method add:
mountPage("/login", LoginPage.class);


On Thu, Dec 12, 2013 at 9:05 PM, Entropy <blmulholl...@gmail.com> wrote:

> I just tried replacing the exception line with:
>
> try {
>         throw new RestartResponseAtInterceptPageException((Page)
> getLoginPageClass().newInstance());
> } catch (IllegalAccessException e) {
>         // TODO Auto-generated catch block
>         e.printStackTrace();
> } catch (InstantiationException e) {
>         // TODO Auto-generated catch block
>         e.printStackTrace();
> }
>
> And it "works".  Works is in quotes because although the LoginPage renders,
> something downstream of it breaks when I try to submit, but when I send in
> a
> Class<Page> it treats it like a string URL.  When I send in an instnatiated
> Page, it works.  Anyone know why that might be?
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Converting-1-4-7-to-6-12-Login-Error-tp4662916p4662961.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to