Notice in Tim's example, vars is an argument of URL().

On Saturday, March 1, 2014 7:40:36 AM UTC-5, horridohobbyist wrote:
>
> <type 'exceptions.TypeError'> redirect() got an unexpected keyword 
> argument 'vars'
>
>
> On Friday, 28 February 2014 18:34:54 UTC-5, Tim Richardson wrote:
>>
>> In my slice on inline-editable grid (
>> http://www.web2pyslices.com/slice/show/1928/basic-inline-editing-in-sqlformgrid-no-plugin-no-javascript
>> )
>> I do this to reload
>> redirect(URL('default','editable_grid',vars=request._get_vars)),
>>  ) #preserving _get_vars means user goes back to same grid page, same 
>> sort options etc
>>
>>
>>
>> On Saturday, 1 March 2014 04:28:59 UTC+11, horridohobbyist wrote:
>>>
>>> I have a SQLFORM.grid and I would like to add a link or function to each 
>>> row that will do something and immediately refresh/update the webpage. Is 
>>> this possible?
>>>
>>> Thanks.
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to