[Opensource] SimpleLoginControler

pmergaux pmergaux at noos.fr
Thu Sep 11 08:51:46 PDT 2003


Juris Zubkans wrote:

>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/
>>
>>    
>>
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/
>
>  
>
OK but the error messages stay after displaying. How to clear them

Thanks

PMX

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20030911/3f1c834c/attachment-0002.htm


More information about the Opensource mailing list