[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 type=text ... value="">
> </dtml-if>

<dtml-let value="REQUEST.get('foo', '')">
  <input type=text ... value="&dtml-value;">
</dtml-let>

This is probably the best you're going to get. :-)

Shane

_______________________________________________
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 )

Reply via email to