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? My fault, try 'index_html' instead of 'render'. -aj pgpF9SrpdvLly.pgp Description: PGP signature

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? > > OK, tried that - I get a username/password prompt that won't take anything as authorized, and I end up with this error: - Site Error An error was encountered while publi

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: STX content renders here ...except with

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: STX content renders here ...except with the render() in the path somewhere - where? Or do I have to use a python expression,

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: P

[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 render