[gen] Added attribute 'xml' on every field allowing to customize the XML marshalling process. [gen] Added new layout 'xml', now different from the 'view' layout, allowing to define which fields are to be dumped in the XML version of some object. [gen] Security fix in ToolMixin::getUser. [gen] Bugfix in Mixin::getUrl. [shared] dav.py: method 'get' can now accept parameters. [shared] xml_parser: changes to the XmlMarshaller (due to XML-related changes).
This commit is contained in:
parent
f055ec1754
commit
c53654a1a1
19 changed files with 119 additions and 80 deletions
|
@ -59,7 +59,7 @@ class Action(Field):
|
|||
width=None, height=None, maxChars=None, colspan=1, action=None,
|
||||
result='computation', confirm=False, master=None,
|
||||
masterValue=None, focus=False, historized=False, mapping=None,
|
||||
label=None, icon=None):
|
||||
label=None, icon=None, xml=None):
|
||||
# Can be a single method or a list/tuple of methods
|
||||
self.action = action
|
||||
# For the 'result' param:
|
||||
|
@ -80,7 +80,7 @@ class Action(Field):
|
|||
move, indexed, False, specificReadPermission,
|
||||
specificWritePermission, width, height, None, colspan,
|
||||
master, masterValue, focus, historized, mapping, label,
|
||||
None, None, None, None, False)
|
||||
None, None, None, None, False, xml)
|
||||
self.validable = False
|
||||
self.renderLabel = False # Label is rendered directly within the button
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue