[Zope] Entity syntax and 2.2

Andrew Kenneth Milton akm@mail.theinternet.com.au
Fri, 21 Jul 2000 19:54:49 +1000 (EST)


+----[ andres@corrada.com ]---------------------------------------------
|
| Perhaps you can suggest a simple way to do something like the following:
| 
| <dtml-if "REQUEST.form.has_key('foo')">
|   <dtml-let previouslyEnteredValue="REQUEST.form['foo']>
|      <input type=text ... value="&dtml-previouslyEnteredValue;">
|   </dtml-let>
| <dtml-else>
|      <input type=text ... value="">
| </dtml-if>

Replace the whole mess with:-

<input type="TEXT" value="&dtml.missing-foo;">


-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   | 
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|