[ZPT] Including a variable which may exist in a tag

Geir Bækholt lists at elvix.com
Wed Jul 2 14:33:09 EDT 2003


On  Wed, 2 Jul 2003 12:16:38 +0100 GMT (..13:16 where i live(GMT+2) )
Graham Stratton asked the ZPT mailinglist about the following:
  
> I have been trying to create a input tag as follows:

> <input type="text" value=variable>

> where variable may or may not exist - if not then value="" or no value 
> tag would both be fine.

tal:attributes="value variable | nothing"
ought to work

:)

--
Geir Bækholt




More information about the ZPT mailing list