Rice Yeh napisaĆ(a):
Hi,
I have a bock which provides some widgets based on dojo. Now, my
problem is how to do dojo.registerModulePath without directly
modifying forms-field-styling.xsl?
I do not understand your question. Why do you need to modify
forms-field-styling.xsl? To register your widgets make manifest.js file
for your own block and reference it from HTML file you produce. Here you
have example manifest:
http://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-impl/src/main/resources/org/apache/cocoon/ajax/resources/manifest.js
--
Grzegorz Kossakowski