plone - Multiple calls to a portlet method in Renderer class -
i'm creating portlet based on base portlet.
in renderer class, i've defined method :
def mymethod(self): """ """ logger.info("hou yeah") ....
in portlet's template call view/mymethod
in root site, add portlet.
- when go http://www.example.com/ see
hou yeah
1 time. great. - when go http://www.example.com/folder1 see
hou yeah
twice. uh ? - when go http://www.example.com/folder1/folder2/folder3 see
hou yeah
4 time. ?
etc...
is normal behavior ?
is there way fix ?
thanks.
it normal behaviour, think. you've find transaction right one. others deleted zope transactions handling.
Comments
Post a Comment