首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >five.grok中ZCML allowed_attributes的对应方法

five.grok中ZCML allowed_attributes的对应方法
EN

Stack Overflow用户
提问于 2011-10-20 18:32:52
回答 1查看 826关注 0票数 63

有没有一种方法可以像Zope3 BrowserView和allowed_attributes ZCML配置指令那样在Zope3类中标记可遍历的方法?

我找到了关于grok.traversable()的文档,但看起来在five grok包中并不存在这样的方法。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-03-28 20:24:52

不可能:“render()方法是grok.codeView类中唯一可遍历的”

如下所述:https://developer.plone.org/templates_css_and_javascripts/javascript.html

票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7834640

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档