Re: [Zope] Using ReStructuredText instead of StructuredDocument inside ZPT

2006-02-26 Thread Andreas Jung
--On 25. Februar 2006 20:13:49 -0800 John Schinnerer [EMAIL PROTECTED] wrote: Aloha, 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 My fault, try 'index_html'

Re: [Zope] Using ReStructuredText instead of StructuredDocument inside ZPT

2006-02-25 Thread Andreas Jung
--On 24. Februar 2006 16:36:20 -0800 John Schinnerer [EMAIL PROTECTED] 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

Re: [Zope] Using ReStructuredText instead of StructuredDocument inside ZPT

2006-02-25 Thread John Schinnerer
Aloha, 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 OK, tried that - I get a username/password prompt that won't take anything as authorized, and I end up with this

Re: [Zope] Using ReStructuredText instead of StructuredDocument inside ZPT

2006-02-24 Thread Andreas Jung
--On 23. Februar 2006 23:18:06 -0800 John Schinnerer [EMAIL PROTECTED] 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 pgpxSpBurtzWo.pgp Description: PGP

Re: [Zope] Using ReStructuredText instead of StructuredDocument inside ZPT

2006-02-24 Thread John Schinnerer
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

[Zope] Using ReStructuredText instead of StructuredDocument inside ZPT

2006-02-23 Thread John Schinnerer
Hello, I have been using the Structured Document (SD) product with page templates (to provide some content sections that a client can edit using structured text). Now I would like to use ReStructuredText Document (RSTD) instead of SD. I have been using code like this in a page template to