I see a strange behavior using web2py_component()

I am using current Trunk version;

I have the following code.

<a href="javascript:web2py_component('contacts.load','contact_list')">Load Contacts</a>

<div id="contact_list">

</div>

The URL is http://mydomain.com/list (or whatever controller)

clicking the link on the page works fine it loads the 'contacts.load' view.

But here is the strange thing I see;

if I add args to the URL for example

http://mydomain.com/list/joe

and I click the click the link

web2py_component returns a HTML view not the LOAD view;

I hope I am being clear while trying to describe the issue.

Thanks.

David.

Reply via email to