[z3-five] five:registerClass directive and icon

Lennart Regebro regebro at gmail.com
Tue Aug 22 17:05:56 CEST 2006


On 8/22/06, Maciej Wisniowski <maciej.wisniowski at coig.katowice.pl> wrote:
> Say I have 'Application' that consists of 'modules'. 'Application' is
> general class defined in Products/MyApp
> and 'modules' are classes defined in folders like Products/Module1 etc.

OK.

> I don't want anybody to be able to add my 'modules' in ZMI with 'Add list'.
> 'Modules' are created by 'Application' product while adding
> it in ZMI. So after adding my 'Application' via ZMI (from 'Add list')
> I want to see structure like:
>
> my_application(MyApp)/
>       /module1 (Module1)
>           /SQL (something...)
>                /...
>      /module2 (Module2)
>          /SQL
>                /...
>
> And I want to have diferent icons for my 'modules'.
>
> Problem is that when I use five:registerClass I have nice icons for
> my objects (modules) but they (modules) are also visible in
> 'Add list'. Without registerClass I have no my 'modules' in 'Add list'
> but I also have no icons for them while viewing with ZMI.

Ah, OK, then I get it, and have nothing to add to yuppies answers. :)

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the z3-five mailing list