It expects an url where you could insert a new record. Right now all it does
is open a link on a new tab, so anything that could go into a href would
work.

On my model i did like that:
requires=IS_IN_DB(db, db.auth_user.id, insert_url=URL(a=request.application,
c='appadmin', f= 'insert', args=['db','auth_user']))

so a link will be inserted like that next to the options:
A("New", _target='_blank', _href=item.insert_url)

where item is the IS_IN_DB validator.


-- 
►Rafael Pinheiro
►Email: moriarty.pinhe...@gmail.com
►Email: pinheiro....@gmail.com
►MSN: rafae...@hotmail.com
►Blog: http://rbpinheiro.wordpress.com/


-- 
To unsubscribe, reply using "remove me" as the subject.

Reply via email to