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

Robert Rottermann robert@redcor.ch
Mon, 10 Sep 2001 12:48:28 +0200


it works, thank you
(I could have sworn to have tried it, ...)
Robert
----- Original Message -----
From: "Peter Bengtsson" <mail@peterbe.com>
To: "Robert Rottermann" <robert@redcor.ch>; <zope@zope.org>
Sent: Monday, September 10, 2001 12:37 PM
Subject: Re: [Zope] how to get rendered conten of a dtml method from python
??


> >   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 )
>
>