source: products/quintagroup.camefrominfo/trunk/quintagroup/camefrominfo/browser/browser.py @ 1230

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 
1from Products.Five import BrowserView
2from quintagroup.camefrominfo.interfaces import ICameFromInfoUtility
3from zope.component import getUtility
4
5class 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.