> 1) args should be an array
>  form.add_button("Print_Tag", URL("tagprint", 
> args=[record.bike_identifier]))
> instead of 
>  form.add_button("Print_Tag", URL("tagprint", args=record.bike_identifier))
>

Note, if you have just a single arg, you do not need to put it in a list 
(this will be done automatically), so the second version is also correct. 
This is mentioned in the book: 
http://web2py.com/books/default/chapter/29/04#URL.

Anthony

-- 



Reply via email to