[Zope] dtml-in returning null
Phil Harris
phil.harris@zope.co.uk
Mon, 23 Oct 2000 21:57:38 +0100
Diego,
Do you mean that you want at least one input tag appearing at all times?
If so, try this:
<dtml-in InMethod>
<input type=text name=Name value="<dtml-var name null="Name Here">">
<dtml-else>
<input type=text name=Name value="<dtml-var name null="Name Here">">
</dtml-in>
hth
Phil
----- Original Message -----
From: "Diego Rodrigo Neufert" <diego@magicwebdesign.com.br>
To: <zope@zope.org>
Sent: Tuesday, October 24, 2000 4:24 PM
Subject: [Zope] dtml-in returning null
| Hi...
|
| I want to do something like this...
|
| <dtml-in InMethod>
| <input type=text name=Name value="<dtml-var name null="Name Here">">
| </dtml-in>
| But, if InMethod return nothing it display this <input> tag one time....
|
| There's a way to do that??
|
| Thanks
| --
| ---------------------------
| Diego Rodrigo Neufert
| -webmaster
| ---------------------------
| (Magic Web Design)
| (email) (diego@magicwebdesign.com.br)
| (curitiba) (pr)
|
| _______________________________________________
| Zope maillist - Zope@zope.org
| http://lists.zope.org/mailman/listinfo/zope
| ** No cross posts or HTML encoding! **
| (Related lists -
| http://lists.zope.org/mailman/listinfo/zope-announce
| http://lists.zope.org/mailman/listinfo/zope-dev )