what about using backbone.js or angularjs? On Oct 26, 12:00 pm, Krishnakant Mane <[email protected]> wrote: > Dear Pylons/ piramid developers, > I am forwarding this email from mailing list for GNUKhatawww.gnukhata.org, a > free and open source accounting software which I am > leading. > Basically we use Pylons version 1.0 for the front end. > We are now planning to use some ui refinement library like bootstrap in > particular. > OUr developers have faced a problem integrating the tmpl_context (c) > related data with javascript. > The details on the problem follow in the forwarded email. > Kindly help. > happy hacking. > Krishnakant. > > > > > > > > -------- Original Message -------- > Subject: [Gnukhata-devel] separation of js code from mako files > Date: Thu, 25 Oct 2012 20:00:34 +0530 > From: ujwala pawade <[email protected]> > To: gnukhata dev <[email protected]> > > Hello Developers, > All of you are aware that I and Mukesh have started working on Bootstrap > which will give very nice refinements to GNUKhata front-end. > I have almost separated js code from mako files and problem here i m > facing is about accessing python values from controllers i.e. > tmpl_context as c > Since javascript code is been separated from mako files and for some > files in the document.ready function this template context variable > value has been used. > Now javascript file can't locate its value. So whatever value or message > is attached in that tmpl_context is not getting accessed or displayed. > Currently i am finding a way to fix this problem. > If anyone have any idea, solution or suggestion for this , I welcome them. > Thank You :-) > -- > Ujwala... > Freedom Matters, Not The Cost... :) > > > > Attached Message Part > < 1KViewDownload
-- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
