In article <[EMAIL PROTECTED]
iams.com>, Farrell, Troy <[EMAIL PROTECTED]> writes
>Sorry.  -2 points for lack of clarity (my fault)
>
>I thought you were talking about a document.  If you want to do something
>like that you will need to use <dtml-with> inside your documents.  The only
>way I know to prevent a user from doing this by typing a URL is to set some
>security permissions.
>
>You might look at
>http://www.zope.org/Members/rossl/SpecificContext
>It is not specific to your problem, but it might help.
>
>Troy
>
...
well I eventually succeeded for dtml-methods with this kind of thing

<dtml-if "absolute_url() != URL1">
  <dtml-raise NotFound>.....</dtml-raise>
</dtml-if>
-- 
Robin Becker

_______________________________________________
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