Microsoft
Software
Hardware
Network
Question : Simple conditional in Kid template used with CherryPy
I'm very new to CherryPy, but managed to get it running on FreeBSD. Working great. I started using the Kid template, as it is easier to implement than Cheetah, and I need only very basic functionality. However, I've been unable to get any conditional (py:if) to work within the template. Or more to the point, every conditional defaults to true apparently, or more likely the conditional is just not processed whatsoever.
I've used the example from the following, but it doesn't work.....even if I may 5*6=2, it still shows the text.
http://kid-templating.org/
language.h
tml#condit
ionals-py-
if
Any hints as to where I might be going wrong or if perhaps there is some configuration thing I need to do?
Answer : Simple conditional in Kid template used with CherryPy
The question why I am asking is:
Do you have any proof, that kid-template is really running and active?
Do you have anything working from kids template (except passing code through tpo the browser)?
Random Solutions
Re-designing an existing DB - start from paper?
sharepoint foundation 2010 on 32 bit?
How do I check if the the value of a column
Backup Exec 2010 on VMWare server backing up iSCSI targets - looking to improve throughput
office 2007 settings not saved in user profile in terminal server
Filemaker Pro Summary Report - Obtraining Fractions from Summary Field
Columns cannot convert between unicode and non-unicode string data types.
rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed.
Remote Web Workplace - Windows Server 2008
Exchange 2007 Relay to External