[Zope] <dtml-with "portal_url.getPortalObject()"> gives AttributeError

Marc Lindahl marc at bowery.com
Fri Nov 7 21:43:21 EST 2003


On Friday, November 7, 2003, at 09:11  PM, J. Cameron Cooper wrote:

> Marc Lindahl wrote:
>
> Guh? Do you mean you've put DTML in a ZPT? That's just plain not going 
> to work. You can call DTML Methods from the ZPT, but under no 
> circumstances will mix 'n match work.
>

yes, it was a dtml method called from a ZPT.

>> I've tried a variety of different evaluations, and proxy roles on the 
>> dtml method, with basically the same problem.
>>
>> Any idea how to do a dtml-with so you're at the root of a portal 
>> (also I'm using VHM)?
>
> It's right so far as I can see provided you're in DTML.
>

yes, it looks OK but it gives me that error!


>          --jcc
>
> -- 
> "My point and period will be throughly wrought,
> Or well or ill, as this day's battle's fought."
>
>
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )




More information about the Zope mailing list