that? I somehow
cannot cross the wall between the templace code and the javascript
code... Is JSON a possible solution? Could someone provide an example?
thank you!
Cheers,
aus
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
m not
the only beginner around :)
Traceback (most recent call last):
File "/home/aus/Software/Web2py/web2py/gluon/restricted.py", line
62, in restricted
exec ccode in environment
File "/home/aus/Software/Web2py/web2py/applications/test/controllers/
matplotlib.py", line 29,
ok, it works, but firefox displays the raw data, not a figure. I guess
I need an appropriate view for that, am I right?
Cheers
aus
On Dec 16, 4:56 pm, mdipierro wrote:
> response.header['content-type']='image/png'
>
> should have been
>
> response
ok, I found it, I mistyped 'Content-Type', my fault
thanks!
aus
On Dec 16, 5:04 pm, aus wrote:
> ok, it works, but firefox displays the raw data, not a figure. I guess
> I need an appropriate view for that, am I right?
>
> Cheers
> aus
>
> On De
http://www.scipy.org/Cookbook/Matplotlib/Django . Is there a similar
feature in web2py?
Thank you!
Cheers,
aus
On Dec 16, 6:57 am, mdipierro wrote:
> I do not know about Dojo. I have been using flot instead. perhaps this
> helps
>
> {{import gluon.contrib.simplejson as sj}}
> {{=sj.dumps(d
now the question is how to place the figure in a variable to be used
in a template. What's the best way of doing that? Should I pack the
stream into a dict? How should the view look like?
thanks!
aus
On Dec 16, 5:27 pm, aus wrote:
> ok, I found it, I mistyped 'Content-Ty
now the question is how to place the figure in a variable to be used
in a template. What's the best way of doing that? Should I pack the
stream into a dict? How should the view look like?
thanks!
aus
On Dec 16, 5:27 pm, aus wrote:
> ok, I found it, I mistyped 'Content-Ty
now the question is how to place the figure in a variable to be used
in a template. What's the best way of doing that? Should I pack the
stream into a dict? How should the view look like?
thanks!
aus
On Dec 16, 5:27 pm, aus wrote:
> ok, I found it, I mistyped 'Content-Ty
now the question is how to place the figure in a variable to be used
in a template. What's the best way of doing that? Should I pack the
stream into a dict? How should the view look like?
thanks!
aus
On Dec 16, 5:27 pm, aus wrote:
> ok, I found it, I mistyped 'Content-Ty
Thank you, Massimo!
Sorry for the multiple posts... I didn't mean it :)
cheers,
ale
On Dec 16, 7:26 pm, mdipierro wrote:
> You have to do it the old fashion way
>
>
>
> web2py allows you to do
>
> but this is not
> supported by IE.
>
> Massimo
>
> O
syntax is wrong:
response.write(embed64(data = {{=imagebinarydata)
^
SyntaxError: invalid syntax
and I don't quite understand why.
Is it also necessary to include extension='image/png' in the call to
embed64?
Thanks!
Cheers,
aus
On Dec 17, 1:02 am
works fine,
but
does not
Is it a good practice to use a relative path or am I missing anything?
thanks!
aus
On Dec 17, 3:45 pm, mdipierro wrote:
> consider the previous example with mathplotlib:
>
> def simple(): . return stream.getvalue()
>
> now from a template you can do
&
intended behavior or am I
again missing something?
thanks!
aus
On Dec 17, 4:09 pm, aus wrote:
> ok... I'm slowing getting there...
>
> now, I've got a file "test/views/testfigure/index.html" where I have
> {{extend 'layout.html'}}
> This is the testfi
is there any example for doing that? I just cannot figure out how to
call a python function (action) from a template...
thanks!
aus
On Dec 17, 7:31 am, mdipierro wrote:
>
>
> will work (not on IE).
>
> Be aware that nobody ever does this. Nobody ever embeds images in
> HT
great, thanks once again!
aus
On Dec 17, 4:54 pm, mdipierro wrote:
>
>
> should be
>
>
>
> the view simple.html is not used because simple() returns a string
> (the page body, the image) and not a dictionary.
>
> Massimo
>
> On Dec 17, 9:23 am, a
Hi everybody!
Does anyone have tried out qooxdoo with web2py? If not, is there any
foreseeable integration problem?
Thanks!
Cheers,
Alessandro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework"
Store in Web2Py admin.
>
> 2009/2/2 aus
>
>
>
> > Hi everybody!
>
> > Does anyone have tried out qooxdoo with web2py? If not, is there any
> > foreseeable integration problem?
>
> > Thanks!
>
> > Cheers,
> > Alessandro
--~--~-~--~-
17 matches
Mail list logo