2011/9/23 António Ramos <ramstei...@gmail.com>

> Context: Jqplot graph in web2py
>
> Hello
> i have a controller
>
> def index():
>       ticks = ['May', 'June', 'July', 'August']
>       return dict(ticks=ticks)
>
>
> my view
> {{=ticks}}
>
> the code of the html generated is
>
> [&#x27;May&#x27;, &#x27;June&#x27;, &#x27;July&#x27;, &#x27;August&#x27;]
>
>
> but i passed   ['May', 'June', 'July', 'August']
>
>
I am also interested in an answer to this question.

I also ran into this problem when I tried to use jqplot.  I suspect one has
to use some other method of transfering data from python to javascript like
json - but I am too much of a newby with this to help you.

Regards
Johann

-- 
 May grace and peace be yours in abundance through the full knowledge of God
and of Jesus our Lord!  His divine power has given us everything we need for
life and godliness through the full knowledge of the one who called us by
his own glory and excellence.
                                                    2 Pet. 1:2b,3a

Reply via email to