Yes the problem is that the callback URL in the example is not written by the book. You will find that this: http://web2py.com/examples/simple_examples/ajaxwiki works fine but this http://web2py.com/examples/simple_examples/ajaxwiki/ does not.
Because the example contains (for short) _onclick="ajax('ajaxwiki_onclick',['text'],'html')" but should contain _onclick="ajax('%s',['text'],'html')" % URL(r=request,f='ajaxwiki_onclick') On Mar 30, 9:07 am, Skiros <hansen.marc...@gmail.com> wrote: > Hello! > > I have a strange error when loading dynamic content with AJAX. When > the controller receives a parameter in the URL and made a call with > AJAX the result is formatted with generic template. As example can > prove the correct behavior (without parameter): > > http://web2py.com/examples/simple_examples/ajaxwiki/ > > and the problem (with parameter): > > http://web2py.com/examples/simple_examples/ajaxwiki/55 > > Some idea? > Thanks! -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.