On 7/13/13 8:12 PM, Simon Elbaz wrote:
> In the z3c.form.AddForm, zope.schema.List field is rendered with Add/Delete
> How to customize those labels ?
I will take a shot at this.
lines 697 to 711
What you want to do is to create and register an adaptor to change the
form labels. Maybe that also applies to the button labels.
Next question, why does your code not work? Maybe we can figure that
out also. Let me ask you a few questions.
Let me make sure I understand you. You want to display a list, and add
or delete items that you select from the list.
What is the add button currently displaying? "Add" ? What do you want
it to display?
I suspect that you have written that section of code correctly, maybe
the problem is elsewhere in the code. If you provide more of the
code that would create a helpful and useful context.
If you could include an image of what your form looks like that that
makes it so much easier to then read the code.
Hope that helps. I see so few active Zope 3 developers, I try to help
those who are active.
What are you building?
I am clozinski on skype if you want to chat more about this problem.
Zope3-users mailing list