Changeset 3214 in products


Ignore:
Timestamp:
May 6, 2011 10:54:00 AM (13 years ago)
Author:
zidane
Message:

corect import IVocabularyFactory, add updating permission for plone 4.1

Location:
quintagroup.portlet.static/trunk/quintagroup/portlet/static
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.portlet.static/trunk/quintagroup/portlet/static/browser/configure.zcml

    r616 r3214  
    44    xmlns:browser="http://namespaces.zope.org/browser" 
    55    i18n_domain="quintagroup.portlet.static"> 
     6 
     7  <!-- Starting from Plone-4.1 it is necessary to import permissions.zcml from Products.CMFCore.  
     8       Since older versions of CMFCore didn't have that zcml, we are including whole  
     9       package and permissions.zcml gets included if available. --> 
     10 
     11  <include package="Products.CMFCore"/> 
    612 
    713  <adapter factory=".configlet.StaticStylishPortletControlPanelAdapter" /> 
  • quintagroup.portlet.static/trunk/quintagroup/portlet/static/vocabularies.py

    r616 r3214  
    1 from zope.app.schema.vocabulary import IVocabularyFactory 
     1from zope.schema.interfaces import IVocabularyFactory 
    22from zope.interface import implements 
    33from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary 
Note: See TracChangeset for help on using the changeset viewer.