On 5/23/09, mdipierro <mdipie...@cs.depaul.edu> wrote: > > ok, I think I found a better solution: > > request.args stays as originally was > > but I will also define > > request.arg0 as request.args[0] or None > request.arg1 as request.args[1] or None > request.arg2 as request.args[2] or None
I like more the old solution. When I use a var to get "argument number" it is better to have a list-like to do request.args[i] then some other way to get 'arg%d' % i from request. I like this solution returning None and don't see a problem as Storage and Messages (so T, request.env etc.) do this already with dicts. -- Álvaro Justen Peta5 - Telecomunicações e Software Livre 21 3021-6001 / 9898-0141 http://www.peta5.com.br/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---