Thanks.
An excellent explanation and much appreciated.
That works.
I'll look at extending this to a new page and/ or a modal window.
On Wednesday, 18 April 2012 08:53:50 UTC+10, Niphlod wrote:
>
> sorry to be so late
>
> if you have {{=URL('tree','stree','index')}} anywhere in the view it ge
sorry to be so late
if you have {{=URL('tree','stree','index')}} anywhere in the view it gets
translated to:
/appname/tree/stree/index
Now, if you check your source, you should see it.
So, try to "hardcode" that url without using {{=URL()}} syntax and check if
your javascript is working.
Thanks but unfortunately this doesn't help as the controller needs to be
called from within the view.
(what we believe to be normal python escaping techniques i.e. {{ ... }}
doesn't seems to be returning appropriate responses.
Have been stuck on this for weeks now.
While our javascript skills m
>From the book:
response.render(view, vars): a method used to call the view explicitly
inside
the controller. view is an optional parameter which is the name of the view
file, vars is a dictionary of named values passed to the view.
HTH David
Ok, I'll rephrase this:
- what's the best/ simpliest way of calling a controller from a view?
- using javascript? or escaping python code?
On Sunday, 15 April 2012 16:30:16 UTC+10, Simon Ashley wrote:
>
> Having difficulties coming up with an appropriate call back from a jstree
> trigg
5 matches
Mail list logo