Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread andres
On Fri, Jul 21, 2000 at 10:05:08AM +0100, Chris Withers wrote: [EMAIL PROTECTED] wrote: And how about: dtml.missing-REQUEST.form['foo']; over my dead body! ;-) I thought the point of the entity syntax was to keep it simple... which including python expressions does not...

Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread Andrew Kenneth Milton
+[ [EMAIL PROTECTED] ]- | | 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 ...

Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread andres
Thanks guys, Replace the whole mess with:- input type="TEXT" value="dtml.missing-foo;" input type=text ... value="dtml-var "REQUEST.for['foo']" html_quote missing -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED]

Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: 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