On Thu, 24 Jan 2008 22:24:10 +0100, Hanno Schlichting
<[EMAIL PROTECTED]> wrote:
Hi,
I think this has nothing to do with schemaextender.
Héctor Velarde wrote:
results = context.portal_catalog.searchResults(portal_type='News Item')
for item in results:
obj = item.getObject()
schema = obj.Schema()
byline = schema.getField('byline')
byline.set(obj, 'Me')
The set method of all Fields is private. You need to use the generated
accessor and mutators.
So obj.setByline('Me') should work instead.
Hanno
Hi,
there are no generated methods with schemaextender.
Regards,
Florian Schulze
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers