[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/apidoc/browser/ apidoc used to crash if no default skin was set. This was because it

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Oct 5 11:38:55 EDT 2004


On Tuesday 05 October 2004 11:33, Fred Drake wrote:
> On Tue,  5 Oct 2004 10:50:55 -0400 (EDT), Stephan Richter
> >      <link rel="icon" type="image/png"
> > -          tal:attributes="href context/++resource++favicon.png" />
> > +          tal:attributes="href context/++resource++favicon.png|default"
> > />
>
> I guess that helps, but is it really enough?
>
> I suspect the right thing is to use
> tal:condition="context/++resource++favicon.png | nothing" so the
> <link/> element is omitted if there isn't a matching resource.

it works just fine, but you are right. I did not realize that "nothing" would 
make the tag to be omitted.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-Checkins mailing list