[web2py] A helper callback not working as expected

2015-10-06 Thread Tom Campbell
I would expect this to link to default/completed. My app is named ajaxtodo. I have controller() defined in default.py. However, the A helper below only links to http://127.0.0.1:8000/ajaxtodo/default/index#null {{=A('Completed', callback=URL(c='default', f='completed'))}} How can I get that to

[web2py] A helper callback not working

2014-04-21 Thread Ruud Schroen
Hi, I've got a A helper with a callback function, which is created in the controller return A(T('Send friend request'), callback=URL('friendship', args=[ 'request', user.id]), _class='bt_white sendrequest', _id='friendship_button' , target=':eval') It used to render this: http://localhost:9000