27 Feb
2001
27 Feb
'01
3:46 p.m.
Brad Clements wrote: [snip]
To avoid a recursive loop resolving DrawNavBar, I use aq_explicit, like this:
<dtml-try> <dtml-var "_.getattr(PARENTS[-1].Z.Admin.aq_explicit,'ShowNavBar')(_.None,_)"> <dtml-except AttributeError> </dtml-try>
The problem with this is that I get a login prompt from LoginManager if I'm anonymous..
[snip] Did you try setting a proxy role on the ShowNavBar method that can execute this? -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>