ZCML allowed_attributes corresponding method in five.grok
Is there a way to mark methods traversable in grok.CodeView
classes, like you can do with Zope 3 BrowserView and allowed_attributes
ZCML configuration directive?
I found docs about grok.traversable()
but it looks like such method does not exist in five grok package.
Solution 1:
It is not possible: "the render() method is the only traversable in grok.codeView classes"
as stated in: https://developer.plone.org/templates_css_and_javascripts/javascript.html