Hi Plone-Developers,
i have a simple question, how can i construct a portlethash
in my kss-view?
Where do i get the values for my info dict??
I found nothing on google.
Maybe someone of you has an idea....
thanks in advance
christian
info = dict(
manager = 'plone.leftcolumn',
category = 'context',
key = '/new1',
name = 'login',
)
class KSSDocZeichen(PloneKSSView):
""" KSSDocZeichen """
@kssaction
def addDocZeichen(self, form={}, portlethash=None):
Portlethash = hashPortletInfo(info)
self.getCommandSet('plone').refreshPortlet(Portlethash)
mac = self.macroField(field='doczeichen')
core = self.getCommandSet('core')
....
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers