try web.input()  http://webpy.org/cookbook/input


params = web.input(jtSorting="default")
sorting = params.jtSorting


On Thu, Sep 13, 2012 at 4:51 PM, Tomas Schertel <tscher...@gmail.com> wrote:

> My application receives a POST and his web.ctx.fullpath is this:
> /account/list/?jtStartIndex=0&jtPageSize=20&jtSorting=name%20ASC
>
> I want to get just the value of jtSorting. I'm using
> web.ctx.env.get('jtSorting'), but I receive "None" as value.
> I've looked at http://webpy.org/cookbook/ctx. but I'm doing something
> wrong and I can't figure it out.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/webpy/-/5BE8z_wHYAAJ.
> To post to this group, send email to webpy@googlegroups.com.
> To unsubscribe from this group, send email to
> webpy+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to