It's not the most elegant way but it does the job:
def updateWidgets(self):
super(StepAddForm, self).updateWidgets()
AddAction = button.StaticButtonActionAttribute(
u'Add Action',
button=self.widgets['o_action_list'].buttons['add'])
On 7/13/13 8:12 PM, Simon Elbaz wrote:
Hi,
In the z3c.form.AddForm, zope.schema.List field is rendered with Add/Delete
buttons.
How to customize those labels ?
I will take a shot at this.
From
https://github.com/zopefoundation/z3c.form/blob/master/src/z3c/form/form.txt
lines 697 to 711