[Zope3-dev] icons for factories

Roger Ineichen dev at projekt01.ch
Wed Mar 23 09:43:43 EST 2005


Hi Jean-Marc

> -----Original Message-----
> From: zope3-dev-bounces+dev=projekt01.ch at zope.org 
> [mailto:zope3-dev-bounces+dev=projekt01.ch at zope.org] On 
> Behalf Of Jean-Marc Orliaguet
> Sent: Wednesday, March 23, 2005 3:33 PM
> To: zope3-dev at zope.org
> Subject: [Zope3-dev] icons for factories
> 
> 
> Hi!
> 
> I'd like to display the factory icons next to factory names in forms 
> meant for adding content.
> 
> It is easy to display icons for existing items, but when it comes to 
> factory icons I don't see how to do it? No zope3 application 
> that I've 
> seen so far does it either.

Take a look at:
- zope.app.container.browser.contents.py
- zope.app.container.browser.contents.pt 

btw;
You see the icons in the tree and in the Contents view.

Regards
Roger Ineichen

> there is the icon="..." attribute featured in the zcml "addMenuItem" 
> directive which is the one that I am supposed to use I guess 
> but how do 
> I get the icon's path from the factory?
> 
> thanks for enlightening me.

I hope I could ;-)

> /JM
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub: 
> http://mail.zope.org/mailman/options/zope3-dev/dev%40projekt01.ch
> 
> 



More information about the Zope3-dev mailing list