selecting namespaces with with (was RE: [Zope] Enitity syntax and 2.2) 2.2)
24 Jul
2000
24 Jul
'00
3:13 p.m.
And how about:
&dtml.missing-REQUEST.form['foo'];
That is, allow expressions to be used. I guess this makes the entity syntax act more like <dtml-var>.
This would allow a really clear syntax for refilling <input type=text> tags with previously entered values in a form.
You can explicitly select a namespace (and exclude others) using <dtml-with ... only>, for example: <dtml-with expr="REQUEST.form" only> <form> <input .... value="&dtml.missing-foo;"> </form> </dtml-with> If you don't use the "only", this still enforces that the REQUEST.form namespace is the first searched.
9388
Age (days ago)
9388
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jeffrey Shell