I have reduced the view to this:

{{ extend 'layout.html' }}
Search:
{{=search_form}}
{{=target_div}}


Here's search:

def search():
    return dict(search_form=FORM(INPUT(_id='keyword',_name='keyword',
_onkeyup="ajax('bg_find', ['keyword'], 'target');")),
                target_div=DIV(_id='target') )

where bg_find is defined as in the book.


As I said before, http://domainname.com/search works  and
http://domainname.com/search/ breaks.





On Dec 25, 11:13 am, mdipierro <[email protected]> wrote:
> The same answer as in that thread applies: I cannot tell without
> looking at the code.
> I suspect some {{=URL(...)}} is missing when specifying the action.
>
> On Dec 25, 3:09 am, VP <[email protected]> wrote:
>
> > I am having the exact problem as 
> > this:http://groups.google.com/group/web2py/browse_thread/thread/9707f3d66d...
>
> > Right now, i'm testing a simple search page, with nothing but the
> > search form and div to display the result.
>
> >http://mydomain.com/searchworksfine.
>
> > buthttp://mydomain.com/search/ breaks in this very mysterious way.
>
> > Can some try and see if you have the same problem?
>
> > Thanks.
>
>

Reply via email to