Hi Well, that was nearby OK, but perhaps I didn't explain my problem correctly. My problem is that my object can be for example a DTML document (or even a DTML method) which have to be executed 'normally'. In this cas, I used nearly your first syntax, but with <dtml-var expr="_[content]"> and that's really OK (and simple !!). Thank you very much. Thierry On 20.09.2001 - 18:31 Pierre-Julien Grizel wrote:
You're not so far from the solution...
Just try
<dtml-in expr="_[content]"> <dtml-var whatever> </dtml-in>
If it doesn't work, try :
<dtml-in expr="_.getitem(content)"> <dtml-var whatever> </dtml-in>
Regards,
P.-J. Grizel http://zope.editions-eyrolles.com
At 18:25 20.09.2001 +0200, you wrote:
Hi...
Please excuse me for this probably simple question, but I'm new to Zope and Python and didn't found the answer in any Zope documentation or in this mailing list archives.
So how, in DTML or Python, can I "include" the output of a Zope object which name is passed as an URL's argument (for example: http://www.blabla.com/folder?content=myobject) ??
Thank you for any help...
Thierry
I had the same problem a few days ago and I *think* you would have to use something like:
<dtml-in expr="[content]"> <dtml-var whatever> </dtml-in>
hth,
Jan
Jan@Mountainbikehq.de http://www.MountainbikeHQ.de - Your home for DH, DS and CC Mountainbiking
_______________________________________________ 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 )
_______________________________________________ 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 )