[Zope] Using ReStructuredText instead of StructuredDocument inside ZPT

Andreas Jung lists at andreas-jung.com
Sat Feb 25 09:13:58 EST 2006



--On 24. Februar 2006 16:36:20 -0800 John Schinnerer 
<johnschinnerer at yahoo.com> wrote:

> Hello,
>
> OK, that makes sense in general - and what would that look like in my
> ZPT code?  Can I access that method with just TAL, similar to
> Structured Document example:
>
> <p tal:content="structure container/client_content/some_STX_object">
> STX content renders here
> </p>
>
> ...except with the render() in the path somewhere - where?


huh? You should be able to extend the expression above by calling
the objects render method?

 <p tal:content="structure container/client_content/some_STX_object/render">

Consider reading about how path expressions work.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060225/44a929a8/attachment.bin


More information about the Zope mailing list