[Zope3-Users] z3c.formjs widgetselector customization

Simon Elbaz elbazsimon9 at gmail.com
Sun Feb 13 17:31:01 EST 2011


Hi all,
I use z3c.formjs in a project and would like to customize the selector id
used into jsaction.handler for form field.
Why ? because the z3c.formui templates add "-row" suffix to the widget id
and I need also to add the "-row" suffix to the selector id in the event
handler.

I have attached a patch for the jsaction.py file that use the default
WidgetSelector class if no IWidgetSelector component is locally registered.

If it is a good idea, how could I apply it to svn repository ?

regards,
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20110213/286faf05/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jsaction.py.patch
Type: application/octet-stream
Size: 1404 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20110213/286faf05/attachment.obj 


More information about the Zope3-users mailing list