我在configure.zcml中定义了我的资源目录:
<plone:static
type="plone"
name="stuff.dropdownmenu"
directory="static" />
我在registry.xml中定义了我的JS资源:
<records
prefix="plone.resources/stuff"
interface='Products.CMFPlone.interfaces.IResourceRegistry'>
<value key="js">++plone++stuff.dropdownmenu/stuff.js</value>
</records>
我的问题:Bundle Definition中Element-Tag的正确值是什么:
<records
prefix="plone.bundles/stuffdropdown"
interface='Products.CMFPlone.interfaces.IBundleRegistry'>
<value key="resources" purge="false">
<element>???<element>
</value>
<value key="enabled">True</value>
</records>
它是prefix-Attribute的stuff
部分还是++plone++stuff.dropdownmenu/stuff.js
?
最好的问候