parameters: ()
return_statement: return UL(*items).xml()
docstring: an ajax callback that returns a <ul> of links to clients
docstring_summary: an ajax callback that returns a <ul> of links to clients
docstring_tokens: an ajax callback that returns a <ul > of links to clients
function: def bg_findprojects():
       "an ajax callback that returns a <ul> of links to clients"
       pattern = '%' + request.vars.keyword.lower() + '%'
       project = db(db.project.name.lower().like(pattern))\
         .select(orderby=db.project.name)
       items = [A(row.name, _href=URL('showproject', args=row.id)) \
              for row in project]
       return UL(*items).xml()
function_tokens: def bg_findprojects ( ) : pattern = '%' + request . vars . keyword . lower ( ) + '%' project = db ( db . project . name . lower ( ) . like ( pattern ) ) . select ( orderby = db . project . name ) items = [ A ( row . name , _href = URL ( 'showproject' , args = row . id ) ) for row in project ] return UL ( * items ) . xml ( )