Thanks, was expecting a call to the the 'index' function as defined within 
the default controller.
('index' is just calling a simple grid - to see if something/ anything 
could be called)

This was a derivation of an earlier thread (jstree, controller call) and 
was part of a many of attempts (all failures) to a function.


On Wednesday, 18 April 2012 00:58:45 UTC+10, Anthony wrote:
>
> Just wondering why a 'A' helper with a call back as follows:
>>
>> {{=A('click me', callback=URL('index'))}}
>>
>> would return the following:
>>
>> <a href="#null <http://127.0.0.1:8000/tree/stree/tree#null>" 
>> onclick="ajax(&#x27;/tree/stree/index&#x27;,[],&#x27;&#x27;);return 
>> false;">click me</a>
>>
>
> What would you expect it to return? The purpose of the callback argument 
> is to make an Ajax call to the server when the link is clicked. It is 
> explained more here: 
> http://web2py.com/books/default/chapter/29/5#Built-in-helpers.
>
> Anthony
>

Reply via email to