[Zope-CMF] Re: More questions

Raphael Ritz r.ritz at biologie.hu-berlin.de
Wed Nov 22 11:44:37 EST 2006


Charlie Clark schrieb:
> This is just a quick one: how do I include documents within another 
> document? ie. say I have local_pt which is going has different boxed 
> with text from other documents. I assume I have to call a method on the 
> document to render it correctly but haven't found the right one yet.
> 
> <div tal:content="here/MyDocument/text"></div> nearly works but 
> obviously isn't quite right. I thought I'd seen a "render" method 
> somewhere but that doesn't seem to be it either.
> 

Look for 'CookedBody' aka

<div tal:content="structure here/MyDocument/CookedBody"></div>

might be what you are after.

Raphael

PS: DocfinderTab is your friend ;-)

PPS: even when you are not using Plone it might help
to have it up somewhere locally and use Clouseau for
TTW object introspection (you have basically a 'zopectl debug'
session in your browser - really convenient to explore things)

> Charlie
> -- 
> Charlie Clark
> Helmholtzstr. 20
> Düsseldorf
> D- 40215
> Tel: +49-211-938-5360
> GSM: +49-178-782-6226
> 
> 
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF at lists.zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
> 
> See http://collector.zope.org/CMF for bug reports and feature requests
> 



More information about the Zope-CMF mailing list