[Zope] What's wrong with this code?
Evan Simpson
evan@4-am.com
Thu, 3 Feb 2000 18:12:19 -0600
----- Original Message -----
From: Helge Tesdal <tesdal@stud.ntnu.no>
> > 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?
>
> Yes it is.
>
> At least it was until you mentioned it. :)
>
> It would probably be a good thing to use the lowest, as this is the way
> acquisition works? How do I set alias to the lowest id?
Just put 'reverse' into your <dtml-in>.
> What I'm really wondering about is why this iteration makes Zope go into
> loops and occasionaly die.
I couldn't see the rest of your object's code (it looks like it was cut
off), so I'm not sure.
Cheers,
Evan @ digicool