[web2py] jQuery templates

2011-07-22 Thread guruyaya
I am trying to start using jQuery templates on something, but it creates a problem. jQuery templates use the {{ }} syntax to do a lot of tasks. Web2py too. I can use another delimiter on web2py, but that will force me to change the syntax for all my templates, because the template I'm working

Re: [web2py] jQuery templates

2011-07-22 Thread Bruno Rocha
I am using Jquery templates for PowerGrid[0] and I have no problem. example: script id=template type=text/x-jquery-tmpl div div${name}/div div${email}/div div class=gridy-button a href=#edit/a /div /div /script Look it working:

Re: [web2py] jQuery templates

2011-07-22 Thread Bruno Rocha
I got the diiffs HTML encoding Using {{html fieldNameOrExpression}} is equivalent to using ${fieldNameOrExpression}, except that it renders unencoded text into the HTML DOM, whereas ${} encodes values by default. On Fri, Jul 22, 2011 at 4:56 AM, Bruno Rocha rochacbr...@gmail.com wrote: I am