From gns24 at cam.ac.uk Wed Jul 2 13:16:38 2003 From: gns24 at cam.ac.uk (Graham Stratton) Date: Wed Jul 2 07:16:46 2003 Subject: [ZPT] Including a variable which may exist in a tag Message-ID: I have been trying to create a input tag as follows: where variable may or may not exist - if not then value="" or no value tag would both be fine. In DTML I could write: In a page template I'd like to write something like: but can't find any such device. Is there any elegant way of doing this in a template? Many thanks, Graham From lists at elvix.com Wed Jul 2 14:33:09 2003 From: lists at elvix.com (=?ISO-8859-15?B?R2VpciBC5mtob2x0?=) Date: Wed Jul 2 07:31:15 2003 Subject: [ZPT] Including a variable which may exist in a tag In-Reply-To: References: Message-ID: <643645126.20030702133309@elvix.com> 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: > > 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 From jean at upfrontsystems.co.za Wed Jul 2 18:04:57 2003 From: jean at upfrontsystems.co.za (Jean Jordaan) Date: Wed Jul 2 11:14:52 2003 Subject: [ZPT] How do I preserve HTML comments in TAL ? Message-ID: <3F02F499.90004@upfrontsystems.co.za> Hi all How do I write this in a page template? """ """ I want to make the path ('/emss/...') dynamic, but this escapes the angle-brackets: """ Is there a way I'm missing? -- Jean Jordaan http://www.upfrontsystems.co.za From lists at elvix.com Wed Jul 2 20:05:52 2003 From: lists at elvix.com (=?ISO-8859-15?B?R2VpciBC5mtob2x0?=) Date: Wed Jul 2 13:03:59 2003 Subject: [ZPT] How do I preserve HTML comments in TAL ? In-Reply-To: <3F02F499.90004@upfrontsystems.co.za> References: <3F02F499.90004@upfrontsystems.co.za> Message-ID: <329892678.20030702190552@elvix.com> On Wed, 02 Jul 2003 17:04:57 +0200 GMT (..17:04 where i live(GMT+2) ) Jean Jordaan asked the ZPT mailinglist about the following: > Hi all > How do I write this in a page template? > I want to make the path ('/emss/...') dynamic, but this escapes the > angle-brackets: >