Re: [Zope] change ATImage metadata

2006-02-24 Thread MIlos Prudek
The language attribute is a standard Archetypes field, and as such youcan ask such fields what it's accesor and mutator are: Cool, now I know how to do it for any other attribute. Thank you. -- Milos Prudek ___ Zope maillist - Zope@zope.org

[Zope] change ATImage metadata

2006-02-22 Thread MIlos Prudek
Hi, how can I programatically change the Language attribute in Standard Resource Metadata of ATImage? I tried: for item in context.objectValues('ATImage'): print item.Language() This works perfectly. How do I assign value to Language? -- Milos Prudek

Re: [Zope] change ATImage metadata

2006-02-22 Thread Martijn Pieters
On 2/22/06, MIlos Prudek [EMAIL PROTECTED] wrote: how can I programatically change the Language attribute in Standard Resource Metadata of ATImage? (First of al:l this is a Plone question and would have drawn a quicker response on the plone mailinglists) The language attribute is a standard