Found the solution :), please find below the working code:

redirect(URL(r=request,f='record_config',vars={'record_id':recordId}))

def record_config():
    recordid = request.vars.record_id
    

it will give you the value of record id inside function redirect().




On Tuesday, 28 August 2012 11:09:56 UTC+5:30, Amit wrote:
>
> hi,
> I have to send the arguments value from redirect to the target function, 
> for e.g:
>
> redirect(URL(r=request,f='record_config'))
>
> def record_config(record_id):
>     
>
> I have to send the value of record_id from the redirect() to the 
> record_config() function OR is it some other way to send value of record_id 
> and access it inside record_config() function So i can avoid defining 
> argument in the function?
>
>

-- 



Reply via email to