I was surprised to find that getField doesn't:
>>> print p.getForm().getField('ProjectManager')
<PlominoField at /mnt/database/frmProject/ProjectManager>
<code object getField at 0x9ade260, file "/home/plomino/buildout-cache/eggs/Products.Archetypes-1.5.15-py2.4.egg/Products/Archetypes/BaseObject.py", line 238>
Why are we inheriting !BaseObject's irrelevant `getField`?
(For that matter, why is Plomino stepping on Archetypes' `getField` in the first place …)
the actual method is getFormField
Ah, I was confused by
in PlominoForm, which does refer to the Schema. Sorry for the noise!
Log in to post a comment.