[Opensource] SimpleLoginControler

Michael Rimov rimovm at centercomp.com
Tue Sep 9 22:49:18 PDT 2003


At 10:30 PM 9/9/2003 +0300, you wrote:

>Dear all
>
>I downloaded and installed expresso 5.3RC3,
>The new  Login controller has localized error messages in function
>attemptlogin().
>Good and all localization stuff works fine in expresso login form with
>new SimpleLoginControler.class.
>
>Then I derive my own login controller form this
>SimpleLoginControler.class
>and I add (setSchema) my schema class to constructor to read new
>MessagesBoundle.
>And on this case errors always return keys and not strings for
>attemptlogin messages like: error.invalidusername and error.nologinname.
>This happens in all languages and and also in case if I do not add my
>onwn schema object to my controller.

Juris,

Take a look at the JSP pages for login.  They have a MessageBundle error 
tag that is different and performs the message bundle lookup at the JSP end 
of things.  [This is off the top of my head]

I think that should point you in the right direction.

HTH!
                                                 -Mike





More information about the Opensource mailing list