[Zope] how to get rendered conten of a dtml method from python ??

Peter Bengtsson mail@peterbe.com
Mon, 10 Sep 2001 12:37:10 +0200


>   data = obj(_, context.REQUEST)

data = obj(context, context.REQUEST) # returns
http://www.absolute.url/webpage
data = obj.data # returns <dtml-var absolute_url>

Or am I completely untestedly wrong?

> now my question:
> what do I have to pass in the call
> obj(....)
>
> I would like to have it rendered (for instance) <dtml-var absolute_url>
>
> thanks for your insights
>
> Robert
>
>
>
> _______________________________________________
> 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 )