Changeset 4745


Ignore:
Timestamp:
8 Jan 2010, 13:48:35 (15 years ago)
Author:
uli
Message:

Fix location of user container and data center.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/browser/breadcrumbs.txt

    r4699 r4745  
    3131A slightly more extensive list for the datacenter:
    3232
    33     >>> blist2 = getBreadcrumbList(app.datacenter, 'index')
     33    >>> blist2 = getBreadcrumbList(app['datacenter'], 'index')
    3434    >>> from pprint import pprint
    3535    >>> pprint(blist2)
     
    8787    >>> from zope.publisher.browser import TestRequest
    8888    >>> from zope.component import getMultiAdapter
    89     >>> page = getMultiAdapter((app.users, TestRequest()), name='index')
     89    >>> page = getMultiAdapter((app['users'], TestRequest()), name='index')
    9090
    9191Now we can get the breadcrumbs for this view:
     
    156156in views, viewlets, etc.
    157157
    158     >>> b2 = getAdapter(app.datacenter, IBreadcrumb, 'index')
     158    >>> b2 = getAdapter(app['datacenter'], IBreadcrumb, 'index')
    159159    >>> b2
    160160    <waeup.browser.breadcrumbs.DataCenterBreadcrumb object at 0x...>
Note: See TracChangeset for help on using the changeset viewer.