[Zope-CMF] Default View for folderish classes and index_html
Dieter Maurer
dieter@handshake.de
Fri, 14 Jun 2002 20:56:06 +0200
Rainer Thaden writes:
> i built a class ('fold_class') derived from PortalFolder, PortalContent
> and DefaultDublinCoreImpl (in that order).
>
> When I add an image to the instance ('inst') of the folderish class in
> .../temp/inst/img1 and provide some HTML-Code in an attribute of the
> class which references to the image like 'bla bla <img src='img1'>',
> everything is fine if I call the view method ('fold_class_view') from
> the actions box in the view of the class instance which displays the
> HTML code together with the image.
You need to set a base tag (method "setBase" of object "RESPONSE").
For details, see the "Web publishing section" of
<http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>
Dieter