On Jan 23, 11:46 am, Fran <[email protected]> wrote:
> I have therefore had to copy T2's login() to my modified T2 class to
> catch the invalid_login message as a .error instead of .flash.

Had to also copy/edit T2's redirect() to add an 'error=None' parameter
To allow my modified register() to use:
self.redirect(error=self.messages.unable_to_send_email)

I wonder whether it would be better to have the style associated with
the text?
- same message would always have the same style?

F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to