Your answer seems to be what I need. But I am confused with how 'servlet://'
in dojo.registerModulePath("cocoon.ajax",
"servlet://resource/external/ajax/js") in manifest.js is translated?

Rice

On 5/3/07, Grzegorz Kossakowski <[EMAIL PROTECTED]> wrote:

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

Reply via email to