I want it to be shown in the LoginPage, because the activation page does
not show anything, it only activates the user.
I tried something like:
LoginPage page = new LoginPage();
page.info("User account activated");
setResponsePage(page);
but it didn't work. Anyway, as I know, in order to leave a feedback
message that needs to be shown in the next whateverPage, you'll need to
leave it to the session. Am I missing something?
Thanks,
Esteban
Igor Vaynberg escribió:
you want the message to show on the loginpage or on the activation page?
-igor
On Mon, Oct 19, 2009 at 10:08 AM, Esteban Masoero
<emaso...@getsense.com.ar> wrote:
Hi:
We've implemented the classic registration process:
- user registers
- app sends him an email with a generated link
- user clicks that link, which it's oppened in a new window/tab
- The UserActivationPage that responds to that link request does:
this.info(""User account activated"); setResponsePage(LoginPage.class); (so
the user can log in for the first time)
The problem is that the message is only shown when the link is oppened in
the same window/tab the user has previously registered. After trying a few
things, we ended up doing
this.getPageSettings().setAutomaticMultiWindowSupport(false); in
MyApplication, which seems to work (we think is related to wicket using the
same session, but we're not sure).
However, we're not sure whether it's the best way of solving this. Any other
ideas or comments?
Thanks,
Esteban
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org