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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With