Jim
unread,Feb 23, 2009, 2:18:56 PM2/23/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py Web Framework
I'm using the AJAX search example from the manual.
def add_message():
response.title="Add Message"
return dict(form=FORM(INPUT(_id='keyword',
_onkeyup="ajax('add_issue_find',
['keyword'],'target');")),
target_div=DIV(_id='target'))
If I call this as "/add_message" it works fine.
If I call it as as "/add_message/", I get the page repeated at the
search box.
-----------------------------
Logo
| search [ ]
| --------------------------------
| Logo
| | search [ ]
I've tried testing for empty argument and setting keyword = '' but
that doesn't help.
I'm obviously new to programming, python and web2py so sorry if
there's an obvious fix.