[Zope] Sorry - resend: verifying existence

Steven Turoff steveturoff@home.com
Fri, 04 Jan 2002 06:23:08 -0600


Greetings,

I am trying to figure out how a page can tell if it exists or is displayed 
using acquisition. For example, say  /index_html exists, but 
/services/index_html, and /products/index_html do not.  If a user goes to 
the url, http://www.mysite.com/services   I want to do something like:

<dtml-with "currentDirectory.aq_explicit" only>
<dtml-if "thisPage exists">
	do something
</dtml-if>

Thanks,

Steve