This fixes the configuration stuff, because type is form not submit with setNodeConfiguration.

This commit is contained in:
Stefan de Konink 2011-02-02 22:05:52 +08:00 committed by Lance Stout
parent aa1996eba6
commit 1ed06bebcd

View file

@ -57,6 +57,7 @@ class Form(ElementBase):
return field
def getXML(self, type='submit'):
self['type'] = type
log.warning("Form.getXML() is deprecated API compatibility with plugins/old_0004.py")
return self.xml