2011/5/11 pbreit <pbreitenb...@gmail.com>:
> It works fine for me. I'm not sure I understand what you are reporting. Is
> your site publicly viewable so we can see the problem?


I can second what selecta says.

pbreit, try this:


controller:
---
@auth.requires_login()
def asdf():
    return dict(msg='blabla')

def index():
    asdf = LOAD(r=request,f='asdf.load')
    return dict(asdf=asdf)
---

in view, the login form to access 'asdf' function from index will
always fail. The proposed solution should work (been asdf =
LOAD(r=request,f='asdf.load', ajax_trap=False)    (althougth
ajax_trap=False appareantly also seems to do ajax=False for me, I need
to check)

Reply via email to