[Zope] What's wrong with this code?
Evan Simpson
evan@4-am.com
Thu, 3 Feb 2000 16:50:56 -0600
----- Original Message -----
From: Helge Tesdal <tesdal@stud.ntnu.no>
> By removing the <dtml-in PARENTS skip_unauthorized> part it works. Is this
> somehow iterating all the lines in the dtml-method?
> <dtml-in PARENTS skip_unauthorized>
> <dtml-if "meta_type == 'Artist'">
> <dtml-call "REQUEST.set('artist_alias', id)">
> </dtml-if>
> </dtml-in>
This code sets REQUEST.artist_alias to the id of the highest (closest to
root) accessible Artist in the current access path. Is this what you wanted
it to do?
Cheers,
Evan @ digicool