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)
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 )
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Diego Rodrigo Neufert
<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??
<dtml if InMethod> <dtml-in InMethod> <input type=text name=Name value="<dtml-var name null="Name Here">"> </dtml-in> </dtml-if> will probably suffice Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein
participants (3)
-
Diego Rodrigo Neufert -
Max M -
Phil Harris