[Zope3-Users] z3c.form: small patch

2010-10-21 Thread Toni Mueller


Hello,

since the zope3-dev list appears to be dead, and since I have no better
idea about where to put this, I send you a small patch for z3c.form
version 2.4.1.

Background: https://bugs.launchpad.net/singing-dancing/+bug/620608

Users of SingingDancing in Plone need to detect whether z3c.form has
certain features. The patch adds a feature declaration to z3c.form.


--- configure.zcml.orig 2010-10-21 15:24:05.0 +0200
+++ configure.zcml  2010-10-21 15:40:58.0 +0200
@@ -1,6 +1,7 @@
 configure
 xmlns=http://namespaces.zope.org/zope;
 xmlns:i18n=http://namespaces.zope.org/i18n;
+xmlns:meta=http://namespaces.zope.org/meta;
 i18n_domain=z3c.form
 
   !-- default z3c.form layer --
@@ -9,6 +10,8 @@
   type=zope.publisher.interfaces.browser.IBrowserSkinType
   /
 
+  meta:provides feature=z3c.form.checkbox-widget /
+  meta:provides feature=z3c.form.radio-widget /
 
   !-- Validators --
   adapter


It would be great if this patch could make it into the next version of
z3c.form, or into a small patch release.


Kind regards,
--Toni++
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] z3c.form: small patch

2010-10-21 Thread Marius Gedminas
On Thu, Oct 21, 2010 at 03:47:16PM +0200, Toni Mueller wrote:
 Hello,
 
 since the zope3-dev list appears to be dead,

It was merged into the zope-dev list.

 and since I have no better
 idea about where to put this, I send you a small patch for z3c.form
 version 2.4.1.

The bug tracker (launchpad) is a good place for patches, in theory.

 Background: https://bugs.launchpad.net/singing-dancing/+bug/620608

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development


signature.asc
Description: Digital signature
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users