Re: [ZIZope] Ereditare classi

Claudio Battaglino <[email protected]>
Newsgroups gmane.comp.web.zope.italian
Message-ID <[email protected]>
Biagio Grimaldi ha scritto:
> Puoi renderli semplicemente invisibili in edit ed in view aggiungendo 
> dopo lo schema la riga di codice seguente:
> mio_schema['attributo_classe_madre'].widget.visible = 
> {'edit':'invisible', 'view':'invisible'}
>
> Abstract Open Solutions

Sono d'accordo con Biagio, aggiungo soltanto di fare attenzione agli 
attributi che nella classe padre sono obbligatori.
Per quelli ovviamente va specificato anche:
mio_schema['attributo_classe_madre'].required=False

cld
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.