args are a list, vars are a dict. You should do

roll_type={'200909009':'full'}
redirect(URL(r=request,f='admin_applicant_list_3',vars=roll_type))

def admin_applicant_list_3():
   rollType=request.vars
   return dict(rollType=rollType)

On Nov 18, 10:01 am, harshit agrawal <[email protected]>
wrote:
> hi,
>      When I am trying to redirect to a funciton with dictionary as an
> arguement then its showing invalid request .
> roll_type={'200909009':'full'}
> redirect(URL(r=request,f='admin_applicant_list_3',args=[roll_type]))
> def admin_applicant_list_3:
> rollType=request.args[0]
> return dict(rollType=rollType)
>
> Please reply as soon as possible......
> thanks in advance...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to