Hello,
I think it is a critical bug.

My site has these views:
- template.html - base template system
- index.html - extends template.html, only used in main page
- pagina.html - extends template.html, used in other pages
- padrao.html - extends pagina.html, used in some special pages
- pagina2.html - same as pagina.html, but replace {{include}} by
{{=BEAUTIFY(response._vars)}}

I'm trying to do auth and if I have in default.py controller:
def bla():
    response.view = 'padrao.html'
    return dict(f=auth())

def blu():
    response.view = 'pagina2.html'
    return dict(f=auth())

So:
http://localhost:8000/myapp/default/bla/login shows response.flash as
None, always
http://localhost:8000/myapp/default/blu/login shows correct response.flash

Both padrao.html and pagina2.html have {{=response.flash}}

-- 
 Álvaro Justen
 Peta5 - Telecomunicações e Software Livre
 21 3021-6001 / 9898-0141
 http://www.peta5.com.br/

--~--~---------~--~----~------------~-------~--~----~
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