Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/p/r/Products.CompositePack-1.2a1/Products/CompositePack/composite/packcomposite.py   Products.CompositePack(Download)
from Products.Archetypes.Widget import StringWidget
from Products.Archetypes.utils import shasattr
from Products.Archetypes import transaction_note
 
from Products.CompositePage.composite import Composite
            # layout.
            layout_id = self.getDefaultLayout().id
            transaction_note("Select default layout")
        else:
            transaction_note("Select '%s' layout" % layout.title_or_id())