But as I see in org.apache.wicket.Component.info(String), that method
already adds that message to the session. Wouldn't be the same?
Vytautas Racelis escribió:
Hi,
maybe getSession().info <http://this.info/>(""User account activated");
would help
On Mon, Oct 19, 2009 at 8:08 PM, 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