Re: [web2py] Huston We've got a problem! ( Web2py templating == qooxdoo 1.6 templating !)

2011-12-09 Thread Phyo Arkar
Thanks a loT! On Fri, Dec 9, 2011 at 4:59 PM, Vasile Ermicioi wrote: > oops, not like that but like that > > > import os > from gluon.template import render > view_content = open( os.path.join(request.folder, 'views', > 'your_view.html')).read() > return render(view_content,delim

Re: [web2py] Huston We've got a problem! ( Web2py templating == qooxdoo 1.6 templating !)

2011-12-09 Thread Vasile Ermicioi
On Fri, Dec 9, 2011 at 12:20 PM, Phyo Arkar wrote: > cool thanks. > so this would render templates like this right? > > >
  • > {% for v in vals %} > > > {%pass%

  • Re: [web2py] Huston We've got a problem! ( Web2py templating == qooxdoo 1.6 templating !)

    2011-12-09 Thread Vasile Ermicioi
    oops, not like that but like that import os from gluon.template import render view_content = open( os.path.join(request.folder, 'views', 'your_view.html')).read() return render(view_content,delimiters=('{%','%}'))

    Re: [web2py] Huston We've got a problem! ( Web2py templating == qooxdoo 1.6 templating !)

    2011-12-09 Thread Phyo Arkar
    cool thanks. so this would render templates like this right?
  • {% for v in vals %} {%pass%}
  • On Fri, Dec 9, 2011 at 4:42 PM, Vasile Ermicio

    Re: [web2py] Huston We've got a problem! ( Web2py templating == qooxdoo 1.6 templating !)

    2011-12-09 Thread Vasile Ermicioi
    you can do response.render('your_qooxdoo_view.html', context=context, delimiters=('{%','%}')

    [web2py] Huston We've got a problem! ( Web2py templating == qooxdoo 1.6 templating !)

    2011-12-09 Thread Phyo Arkar
    Hello to both qooxdoo and web2py developers! Check this out : http://demo.qooxdoo.org/1.6/apiviewer/#qx.bom.Template Qooxdoo now got a js templating system called mustache JS http://mustache.github.com/ here is the syntax: