Can you specify it as POST? -Thadeus
On Wed, Nov 18, 2009 at 3:09 PM, mdipierro <[email protected]> wrote: > > GET > > On Nov 18, 3:08 pm, Thadeus Burgess <[email protected]> wrote: > > does vars get passed as a GET url or a POST url? > > > > -Thadeus > > > > On Wed, Nov 18, 2009 at 3:03 PM, mdipierro <[email protected]> > wrote: > > > > > 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 -~----------~----~----~----~------~----~------~--~---

