[Product-Developers] plone.app.registry and read-only zope schemas

Noe Misael Nieto Arroyo noe at iservices.com.mx
Tue Mar 29 16:16:15 UTC 2011


2011/3/29 Martin Aspeli <optilude+lists at gmail.com>

> On 29 March 2011 04:10, Noe Misael Nieto Arroyo <noe at iservices.com.mx>
> wrote:
> > I was trying to create a read-only record.
> >
> > I found that, if you set the readonly=True attribute of a zope.schema in
> an
> > interface and use that interface for a record registry,
> plone.app.registry
> > will not create that record.
> >
> > Is it a bug or a feature?
>
> I don't think it makes sense to support read-only records in
> p.registry. Why would you want that?
>
> I'm using the interface to build records for a plone control panel and it's
corresponding registries. At first sight It looked right to me that I could
show a read-only field in the control panel form. But now that you mention
it, It does not make sense.



> Martin
>

Regards
Noe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20110329/9cafdb48/attachment-0002.html>


More information about the Product-Developers mailing list