Accessing the current value of an input field and doing something with
that data is one of the exact things for which Javascript is the
natural tool. You may have a valuable intuition pointing in the
direction of keeping things more high-level / modular / D.R.Y. by
trying to get as much done
Or using Pylons webhelpers function in template like this $
{Markup(c.xml)}
On Apr 16, 9:51 am, Alagu Madhu [EMAIL PROTECTED] wrote:
Thank you very much everybody.
${c.xml | n}
and
from webhelpers.html import literal
def xml(self):
c.xml = literal()
working fine.
On Apr
By the way, there's a stub section in the Pylons book for XML
databases. Among those who use XML Python libraries, which would you
most recommend, and which would you disrecommend?
(PS. The database chapter and two other chapters -- testing and YUI --
are being reviewed now, and should be on
On Fri, Apr 18, 2008 at 9:24 AM, Ryan Jarvis [EMAIL PROTECTED] wrote:
I have been building templates with Mako and Webhelpers. I have parent
templates that define the html head and the html body and then include
child templates (using Mako's include function) which have the exact
forms
On Apr 21, 9:58 am, Mike Orr [EMAIL PROTECTED] wrote:
%include is mainly useful when the included section
changes much more frequently than the surrounding template, or if you
have to dynamically choose which file to include at runtime (if that
even works in Mako).
See related thread dynamic
Well, a couple ways. You can use multiple configuration files (not just
test.ini). You can also pass arguments to loadapp(), like
loadapp('test.ini', db='something'), then use %(db)s in your ini file to
substitute that value in.
Thanks for the various solutions. I like the db='something'
Was trying to install turbogears 2.0 and ran into a problem with
setup.py loading tg.migrate (output below):
sh-3.2# python setup.py develop
running develop
running egg_info
writing requirements to TurboGears2.egg-info/requires.txt
writing TurboGears2.egg-info/PKG-INFO
writing top-level names to
thanks
On Apr 21, 7:31 pm, Mike Orr [EMAIL PROTECTED] wrote:
By the way, there's a stub section in the Pylons book for XML
databases. Among those who use XML Python libraries, which would you
most recommend, and which would you disrecommend?
(PS. The database chapter and two other