2011/3/29 Martin Aspeli <[email protected]>

> On 29 March 2011 04:10, Noe Misael Nieto Arroyo <[email protected]>
> 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
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/product-developers

Reply via email to