Changeset 4745
- Timestamp:
- 8 Jan 2010, 13:48:35 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/browser/breadcrumbs.txt
r4699 r4745 31 31 A slightly more extensive list for the datacenter: 32 32 33 >>> blist2 = getBreadcrumbList(app .datacenter, 'index')33 >>> blist2 = getBreadcrumbList(app['datacenter'], 'index') 34 34 >>> from pprint import pprint 35 35 >>> pprint(blist2) … … 87 87 >>> from zope.publisher.browser import TestRequest 88 88 >>> from zope.component import getMultiAdapter 89 >>> page = getMultiAdapter((app .users, TestRequest()), name='index')89 >>> page = getMultiAdapter((app['users'], TestRequest()), name='index') 90 90 91 91 Now we can get the breadcrumbs for this view: … … 156 156 in views, viewlets, etc. 157 157 158 >>> b2 = getAdapter(app .datacenter, IBreadcrumb, 'index')158 >>> b2 = getAdapter(app['datacenter'], IBreadcrumb, 'index') 159 159 >>> b2 160 160 <waeup.browser.breadcrumbs.DataCenterBreadcrumb object at 0x...>
Note: See TracChangeset for help on using the changeset viewer.