Hi Working with SQLFORM.grid. I'm providing my own 'Add' button because I want to gather some initial values before presenting the user with the .grid 'new' page.
So, when you click on my Add button a bootstrap modal window pops up and you then select a 'site'. When I click on Next on my modal window I want to pass that site value to the 'new' page from the .grid. I'm generating the URL as follows: url = URL('applications', 'workorders', args=('new','workorder'), user_signature=True,vars=dict(siteId=siteId)) redirect(url) When I run this I get a 'not authorized' message. However, if I take out: vars=dict(siteId=siteId) ...it works fine. I don't know why I'm getting a 'not authorized' only when I'm passing vars to the URL function. Any ideas? -Jim -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.