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 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
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to