>add(new BookmarkablePageLink("signin", SigninPage.class));
That is one thing I tried, but it didn't work for me. I am using
org.apache.wicket.authentication.panel.SignInPanel and with the above
bookmarkable link, I get the following exception in onSignInSucceeded:
java.lang.IllegalArgumentException: wrong number of arguments
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:149)
at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:88)
at org.apache.wicket.authentication.panel.SignInPanel
onSignInSucceeded(SignInPage.java:65)
I'm not able to spot the problem from the 1.3.2 source code:
protected void onSignInSucceeded()
{
// If login has been called because the user was not yet
// logged in, than continue to the original destination,
// otherwise to the Home page
if (!continueToOriginalDestination())
{
setResponsePage(getApplication().getSessionSettings().getPageFactory().newPage(
getApplication().getHomePage(), (PageParameters)null));
}
}
I did verify that getHomePage() is correctly returning my home page class
and my home page constructors look like this:
public Index() {
this(null);
}
public Index(final PageParameters parameters) {
super(parameters);
}
Any idea what I'm doing wrong?
Thanks,
Tim
--
View this message in context:
http://www.nabble.com/Expired-sign-in-link-after-signing-out-tp23732685p23741603.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]