<extension target="org.nuxeo.theme.services.ThemeService" point="resources"> <resource name="jquery.js"> <path>nxthemes/html/scripts/jquery.js</path> </resource>
You can add a resource to the contribution of your view:
<extension target="org.nuxeo.theme.services.ThemeService" point="views"> <view name="myview" template-engine="jsf-facelets"> <format-type>widget</format-type> <template>incl/includes.xhtml</template> <resource>jquery.js</resource> </view> </extension>
If your webengine module extends either base or admin, then the prototype and jQuery libraries are already provided.
- prototype 220.127.116.11