Zope and Frames (was Re: [Zope] ZPT and CSS)

Tino Wildenhain tino at wildenhain.de
Wed Dec 3 07:20:01 EST 2003


Hi Andre,

Andre Meyer schrieb:
> Dear fellow Zopistas
> 
> So, thew CSS problem is solved by means of
> http://www.zopelabs.com/cookbook/1002248204 and ImageFile, though this is a
> strange thing (.css is not .gif of course). But how can other file types
> than images be used in the same way?

Investigation shows that there is only App.ImageFile.
However the image-specific part of this is minimal
(only __str__  method with a simple tag structure)
So you can save use if for other files as well.


> My plan is to have an index_html that refrences two frames (<frameset>).
> However, the names for the frame pages need to added with ImageFile in order
> to allow for them to be known in my index_html.zpt. Using ImageFile the ZPT
> tags are not processed and using PageTemplateFile raises an error when
> displaying the plage.

When its HTML it should fit in PageTemplateFile.
I dont understand your issue I guess...

Regards
Tino Wildenhain




More information about the Zope mailing list