[Opensource] SimpleLoginControler

Thompson, Kris kris.thompson at seurat.com
Wed Sep 10 08:26:57 PDT 2003


Sounds like those messages are not in the messagebundle that you added to your schema, is that correct?

Kris

> -----Original Message-----
> From: Juris Zubknas [mailto:jurisz at rct.lv]
> Sent: Tuesday, September 09, 2003 1:30 PM
> To: opensource at jcorporate.com
> Subject: [Opensource] SimpleLoginControler
> 
> 
> 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.  
> 
> In 5.0.4 I overwrite attemtlogin procedure with localized 
> stuff in about
> same way as it is now in 5.3 and all worked fine.
> 
> Thanks
> Juris
> 
> _______________________________________________
> Opensource mailing list
> Opensource at jcorporate.com
> http://mail.jcorporate.com/mailman/listinfo/opensource
> Archives: http://mail.jcorporate.com/pipermail/opensource/
> 
> 



More information about the Opensource mailing list