22 Feb
2006
22 Feb
'06
8:42 p.m.
On 2/22/06, MIlos Prudek <prudek@bvx.cz> 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 Archetypes field, and as such you can ask such fields what it's accesor and mutator are:
field = item.Schema().get('language') field.accessor, field.mutator ('Language', 'setLanguage')
So item.setLanguage will mutate the language field. -- Martijn Pieters