[PEAK] A few peak.web bugs

Radek Kanovsky rk at dat.cz
Fri Nov 21 10:47:16 EST 2003

On Fri, Nov 21, 2003 at 09:51:18AM -0500, Phillip J. Eby wrote:

> >3. When I create web application such that its root component directly
> >   implements IWebPage protocol, it has no effect, i.e. render method
> >   is not called. `index_html' is called instead or default skin
> >   instance representation is rendered if index_html is not defined.
> >   I am not sure, if this is not feature. I don't realy need renderable
> >   application root, just noticed that during experiments.
> I'm not sure if this is a bug or feature, either.  :)  The root of 
> publication is always the 'skin' object, which allows traversing to 
> resources via /++resources++.  As a side effect, it is not adaptable to 
> IWebPage, even if the application root is.
> I've made a tentative fix for this, by giving Skin a getObject() method 
> that delegates to the root object's getObject() method.  Let me know if 
> this works.  Thanks.

Works perfectly.


More information about the PEAK mailing list