[Zope] Using ReStructuredText instead of StructuredDocument
inside ZPT
John Schinnerer
johnschinnerer at yahoo.com
Fri Feb 24 19:36:20 EST 2006
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?
Or do I have to use a python expression, and if so what would that look
like?
The only documentation I can find so far is the user documentation...
thanks,
John S.
--- Andreas Jung <lists at andreas-jung.com> wrote:
> --On 23. Februar 2006 23:18:06 -0800 John Schinnerer
> <johnschinnerer at yahoo.com> wrote:
> >
> > This is on zope 2.7.5 with the ZReST that comes "built in."
> > A RSTD called directly (instead of inside a ZPT as above) renders
> as
> > expected.
> >
>
> Try using the 'render()' method.
>
> -aj
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Zope
mailing list