RE: [Zope] dtml-in returning null

2000-10-24 Thread Max M

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]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: [EMAIL PROTECTED] work: [EMAIL PROTECTED]
-
Specialization is for insects.  -  Robert A. Heinlein


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] dtml-in returning null

2000-10-24 Thread Phil Harris

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" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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) ([EMAIL PROTECTED])
| (curitiba) (pr)
| 
| ___
| Zope maillist  -  [EMAIL PROTECTED]
| 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 )


___
Zope maillist  -  [EMAIL PROTECTED]
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 )