##plugin_wiki
There was some change in the URL() helper, from 1.81.4 to 1.81.5?

To the search widget in <
http://web2pybrasil.appspot.com/cursoweb2py/default/index>
before, in 1.81.4 I did this:

return UL(*[LI(*[A(db(db.plugin_wiki_page.slug==row)\

.select(db.plugin_wiki_page.title)[0].title,\

_href=URL(r=request,f='page',args=[row,]))])\
                                for row in found])


and the result was:
<ul><li><a href="/application/plugin_wiki/page/home">Home</a></li></ul>

but trying localy with the new version 1.81.5 the result is:

<ul><li><a href="/application/plugin_wiki/page.load/home">Home</a></li></ul>

Notice, that I am doing it with ajax() to load the item list

$('#search').keyup(function(){
    ajax("{{=URL(r=request,
c='plugin_wiki',f='page.load/searchpages')}}",['search'],'target');
        return false;
    });

Why .load is being appended to the url generated by URL() ?

Something that can be done to continue as before?

Tks

-- 

http://rochacbruno.com.br

Reply via email to