Did I find the right examples for you? yes no

All Samples(19)  |  Call(18)  |  Derive(0)  |  Import(1)

src/a/u/auslfe.portlet.multimedia-1.0.0/auslfe/portlet/multimedia/auslfeportletmultimedia.py   auslfe.portlet.multimedia(Download)
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
 
from auslfe.portlet.multimedia import AuslfePortletMultimediaMessageFactory as _
 
from plone.app.vocabularies.catalog import SearchableTextSourceBinder
class IAuslfePortletMultimedia(IPortletDataProvider):
    """A portlet"""
 
    portlet_title = schema.TextLine(title=_(u"multimedia_title_label", default=u"Portlet title"),
                               required=True)
 
    portlet_text = schema.Text(title=_(u"multimedia_text_label", default=u"Portlet text"),
                               description=_(u"multimedia_text_help", default=u"Insert there a text you want to display above the multimedia data."),
                               required=False)
 
    target_collection = schema.Choice(title=_(u"multimedia_archive_label", default=u"Images archive"),
                                      description=_(u"multimedia_archive_help", default=u"Select a collection that contains all your image or image-like contents."),
                                      required=False,