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...
+[ [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 ...
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]
[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