Hi guys! I seek for a way to do the following:
<p class="aaa" py:if="value" py:cotent="value">The value will only be shown if it is true</p> But with a short way... <p class="aaa" py:if="value or None">The value will only be shown if it is true</p> The first case evaluates to an empty string, the second one evaluates to an empty p tag. I don't want to use py:replace as I must keep the class information. Is there a short form for the first case? If doesn't exists, is it a good idea the second case evaluates to an empty string? Thanks for help -- Michel Thadeu Sabchuk Curitiba - Brasil Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ kid-template-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kid-template-discuss
