How do I go into a folder rather than just call it, ie. the equivalent of cd folderName in DOS I tried, as part of a dtml-in loop: <dtml-call "absolute_url() + '/'+_['sequence-item']"> this calls the folder but does not go into it I want to go into it so that I can set a local role <dtml-call expr="manage_addLocalRoles(_['sequence-item'],['Manager'])"> this line works but is setting the local roles in the parent folder, I want them set in the child folders then I want to back out of it, the equivalent to cd.. I looked in Appendix B under Folder, get, manage but no joy I tried "this(absolute_url() + '/'+_['sequence-item']" and "this('absolute_url() + '/'+_['sequence-item']' "but didn't work - Bill Kerr
Hi Bill, check <dtml-with> tag. <dtml-with folder> do something </dtml-with> Michal On Sun, Jun 02, 2002 at 07:01:17AM +0930, Bill Kerr wrote:
How do I go into a folder rather than just call it, ie. the equivalent of cd folderName in DOS I tried, as part of a dtml-in loop:
<dtml-call "absolute_url() + '/'+_['sequence-item']">
this calls the folder but does not go into it I want to go into it so that I can set a local role
<dtml-call expr="manage_addLocalRoles(_['sequence-item'],['Manager'])">
this line works but is setting the local roles in the parent folder, I want them set in the child folders
then I want to back out of it, the equivalent to cd.. I looked in Appendix B under Folder, get, manage but no joy I tried "this(absolute_url() + '/'+_['sequence-item']" and "this('absolute_url() + '/'+_['sequence-item']' "but didn't work - Bill Kerr
_______________________________________________ Zope maillist - Zope@zope.org 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 )
participants (2)
-
Bill Kerr -
Michal Bencur