z3c.form: Missing hidden widgets templates for radio buttons

Timo Stollenwerk <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Hello,

I ran into problems when I was trying to hide a widget for a radio
button inside a z3c.form (or plone.z3cform):

ComponentLookupError: (
     (<PloneSite at /test>,
      <HTTPRequest, URL=http://localhost:9080/test/comment_form>,
      <example.z3cformtutorial.comment.CommentForm object at 0xe67e90c>,
      <zope.schema._bootstrapfields.Bool object at 0xbdf368c>,
      <RadioWidget 'form.widgets.mybool'>),
      <InterfaceClass zope.pagetemplate.interfaces.IPageTemplate>,
      'hidden')

Full code: http://pastie.org/851816

I got a component error due to the missing hidden widget templates for
the radio button widget:

http://svn.zope.org/repos/main/z3c.form/branches/1.9/TODOS.txt:

- There is only hidden widget templates registered for ``ITextWidget``
  and ``ISelectWidget``. We have to define more hidden widgets.

I would like to add the missing templates and registrations to the
z3c.form code. Though, I need to fix this for the 1.9 branch too.

I have the necessary permissions for the Zope SVN. Though, I'm not sure
about the best way to do this. Shall I start a branch of the existing
z3c.form 1.9 branch or fix this in the trunk and merge it into the 1.9
branch afterwards?

I would like to fix this as soon as possible, and also make a new
z3c.form 1.9.x release, if possible.

Cheers,
timo
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.