Last change
on this file since 1230 was
1230,
checked in by kroman0, 15 years ago
|
fix utility. now need request to get info
|
File size:
368 bytes
|
Line | |
---|
1 | from Products.Five import BrowserView |
---|
2 | from quintagroup.camefrominfo.interfaces import ICameFromInfoUtility |
---|
3 | from zope.component import getUtility |
---|
4 | |
---|
5 | class CameFromInfoView(BrowserView): |
---|
6 | """ |
---|
7 | """ |
---|
8 | def __call__(self): |
---|
9 | """get info""" |
---|
10 | service = getUtility(ICameFromInfoUtility) |
---|
11 | res = service.getInfo(self.context.REQUEST) |
---|
12 | return res |
---|
Note: See
TracBrowser
for help on using the repository browser.