At 10:50 08/08/02 -0500, you wrote:
How do I do the following in ZPT please?
<dtml-if "REQUEST.has_key('nofile')"> Please enter a file name by browsing your system </dtml-if>
Try something like this:
<span tal:omit-tag="" tal:condition="REQUEST/has_key('nofile')"> Please enter a filename by browsing your system. </span>
The condition might need to be "python:REQUEST.has_key('nofile')".
// mark -
Thanks for the quick reply but that doesn't work I get the following error. I am in fact trying to trap if I have done a RESPONSE.redirect (fileinput?nofile = 1) to the ZPT in which case I display the text otherwise the user just gets the file input box to fill in. Error Type: Undefined Error Value: REQUEST not found in "REQUEST/has_key('nofile')", at line 6, column 4 THX Marie