[me]
| But I'm unable to set the Title property of a File object.
[Erik]
| Is it just the title property? All the others you can fiddle around
| with? Try manage_changeProperties() instead. I know (from
| lib/python/OFS/Image.py) that the File object has its own
| manage_edit() method, you could try that one.
Actually it turned out to be a different problem (I work around it
now). My form looked something like this:
and the change method something like this:
Both the form and the change method would be DTML methods in my
containing ZClass object. For my own ZClass subobjects, this worked
fine, but for a File subobject it would just show the File instead of
running the change method. In the end I had to make the action field
in the form tag above include "/change" if the object was a File.
Could someone explain this to me?
-Magnus
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )