Re: [Zope] Rendering Folderish ZClass Object

2000-07-10 Thread Maik Roeder

Hi Chris !

Chris Withers wrote:
> I have a ZClass based on Folder. Contained within this is a DTML Method,
> index_html. This is mapped to the 'View' view and renders the
> appropriate object contained in itself depending on soem logic.
> 
> All, is well if I access the object through a URL, the page is rendered
> as expected.
> However, if I access the object with the following code:
> 
> 
> All I get is:
> 
> 
> Why is this? Why does the normal rendering not take place?

Do you know about the Software Product: Renderable Base ZClass ?
http://www.zope.org/Members/lalo/Renderable-ZClass

Regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Rendering Folderish ZClass Object

2000-07-10 Thread Chris Withers

Hi,

I have a ZClass based on Folder. Contained within this is a DTML Method,
index_html. This is mapped to the 'View' view and renders the
appropriate object contained in itself depending on soem logic.

All, is well if I access the object through a URL, the page is rendered
as expected.
However, if I access the object with the following code:


All I get is:


Why is this? Why does the normal rendering not take place?

cheers,

Chris

PS: I notice that a normal folder object will behave identically, so the
ZClass bti is probably irrelevent.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )