Re: [Zope-dev] Adapter registration in ZCML provides IUserPreferredCharsets lost ?
On 01/11/2010 06:25 AM, Chris McDonough wrote: Baiju M wrote: On Mon, Jan 11, 2010 at 10:22 AM, Baiju M mba...@zeomega.com wrote: Hi All, There was an adapter registration provides IUserPreferredCharsets. I can see it has moved to zope.i18n.locales with some others here: http://svn.zope.org/zope.app.i18n/trunk/src/zope/app/i18n/configure.zcml?rev=98208r1=95495r2=98208 But, I cannot see it ever reached here ? http://svn.zope.org/zope.i18n/trunk/src/zope/i18n/locales/configure.zcml?rev=75140view=log Can I add it there ? Instead of zope.app.publisher.browser.ModifiableBrowserLanguages, I will use the new location: zope.publisher.browser.ModifiableBrowserLanguages This will make zope.publisher as dependency for zope.i18n, which may not be a good idea. Please suggest me where we will move this ? I don't know exactly where to move this, but making zope.publisher a dep of zope.i18n would be bad. Right. I think we might not currently have a good place for putting in cross-concern default policy rules. IMHO this isn't a responsibility of any of the involved packages (zope.i18n/zope.publisher). Does zope.app.i18n still exist? In that case the ZCML statement might continue living there. Christian -- Christian Theune · c...@gocept.com gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org 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 )
Re: [Zope-dev] Adapter registration in ZCML provides IUserPreferredCharsets lost ?
* 2010-01-11 06:25, Chris McDonough wrote: I don't know exactly where to move this, but making zope.publisher a dep of zope.i18n would be bad. Using conditionals (eg. have zope.publisher) in ZCML seems a good solution to me. Best regards, Fabio ___ Zope-Dev maillist - Zope-Dev@zope.org 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 )
Re: [Zope-dev] Adapter registration in ZCML provides IUserPreferredCharsets lost ?
On Mon, Jan 11, 2010 at 10:22 AM, Baiju M mba...@zeomega.com wrote: Hi All, There was an adapter registration provides IUserPreferredCharsets. I can see it has moved to zope.i18n.locales with some others here: http://svn.zope.org/zope.app.i18n/trunk/src/zope/app/i18n/configure.zcml?rev=98208r1=95495r2=98208 But, I cannot see it ever reached here ? http://svn.zope.org/zope.i18n/trunk/src/zope/i18n/locales/configure.zcml?rev=75140view=log Can I add it there ? Instead of zope.app.publisher.browser.ModifiableBrowserLanguages, I will use the new location: zope.publisher.browser.ModifiableBrowserLanguages This will make zope.publisher as dependency for zope.i18n, which may not be a good idea. Please suggest me where we will move this ? Regards, Baiju M ___ Zope-Dev maillist - Zope-Dev@zope.org 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 )
Re: [Zope-dev] Adapter registration in ZCML provides IUserPreferredCharsets lost ?
Baiju M wrote: On Mon, Jan 11, 2010 at 10:22 AM, Baiju M mba...@zeomega.com wrote: Hi All, There was an adapter registration provides IUserPreferredCharsets. I can see it has moved to zope.i18n.locales with some others here: http://svn.zope.org/zope.app.i18n/trunk/src/zope/app/i18n/configure.zcml?rev=98208r1=95495r2=98208 But, I cannot see it ever reached here ? http://svn.zope.org/zope.i18n/trunk/src/zope/i18n/locales/configure.zcml?rev=75140view=log Can I add it there ? Instead of zope.app.publisher.browser.ModifiableBrowserLanguages, I will use the new location: zope.publisher.browser.ModifiableBrowserLanguages This will make zope.publisher as dependency for zope.i18n, which may not be a good idea. Please suggest me where we will move this ? I don't know exactly where to move this, but making zope.publisher a dep of zope.i18n would be bad. - C ___ Zope-Dev maillist - Zope-Dev@zope.org 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 )