List Info

Thread: setting an error message for the login screen.




setting an error message for the login screen.
user name
2007-02-15 09:03:52
Hi,

I'd like to add an error message when an user fails to
login.

In my customised login action (extends VelocityAction)
I put a message in the velovity context.
But, that message is never shown in the template.

I can't figure out what to do.
Can that be the fault of
data.setUser(TurbineSecurity.getAnonymousUser());
which is called at the end of the action when the user is
not logged ?


Thanks in advance for any help.


Raphaƫl
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )