Looks like maybe whatever process generates the post request is 
representing a nested data structure via brackets -- so the key 
"latlon[lat]" is meant to represent an object like {'latlon': {'lat': 
the_value}}. However, web2py doesn't know to parse keys containing brackets 
into a nested data structure, so it just takes the key as is. You can 
probably access the relevant value via request.post_vars['latlon[lat]'].

Anthony

On Thursday, May 19, 2016 at 11:52:50 AM UTC-4, Pierre wrote:
>
> here is the view output displaying the object
>
> r : 
> address : 
> 17 Rue Farges, 13008 Marseille, France
> admlev_one : 
> Provence-Alpes-Côte d'Azur
> admlev_two : 
> Bouches-du-Rhône
> country : 
> FR
> latlon[lat] : 
> 43.2806116
> latlon[lon] : 
> 5.384511599999996
> locality : 
> Marseille
> postalcode : 
> 13008
> t : 
> <class 'gluon.storage.Storage'>
>
> it's well parsed '*latlon'* is nested as *'ab'* in the example above
> how do I print it /where ?
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to