[Zope3-Users] z3c.formjs widgetselector customization

0 views
Skip to first unread message

Simon Elbaz

unread,
Feb 13, 2011, 5:31:01 PM2/13/11
to blue...@zope.org, zope3-users
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 
jsaction.py.patch
Reply all
Reply to author
Forward
0 new messages