[Opensource] SimpleLoginControler

Juris Zubkans juris at ri.lv
Wed Sep 10 00:04:52 PDT 2003


Solved,
 must use expresso:ErrorMessages tag
 instead of old expresso:ErrorTag
Juris

> -----Original Message-----
> From: opensource-admin at jcorporate.com 
> [mailto:opensource-admin at jcorporate.com]On Behalf Of Juris Zubknas
> Sent: Tuesday, September 09, 2003 10: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