[Zope] ZPT newbie question

Mark McEahern marklists@mceahern.com
Thu, 8 Aug 2002 11:12:14 -0500


<<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.>>

OK, this time I actually tried it.  ;-)

  <span tal:condition="python:request.has_key('tree-s')">
  tree-s found
  </span>

I just picked tree-s because I saw it when I did this example:

  http://www.zope.org/Members/peterbe/DTML2ZPT/#example8

// m

-