[Zope] Newbie question...

Pierre-Julien Grizel grizel@mouli.net
Thu, 20 Sep 2001 18:31:15 +0200 (CEST)


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 )