I would like to know what's the "best" way to manage optional parameters in the tml template ?
For example, if i have to write a tag like : <div t:id="zipCodeField" t:type="TextField" value="zipcode" validate="required" /> or <div t:id="zipCodeField" t:type="TextField" value="zipcode" /> based on the value of a property. In one hand, i would rather avoid <t:if> tags in the template but in the other hand, something simple like validate="${myvalue}" won't work. So, is there a simple way to do this ? Thanks in advance. Stephane