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?


On 5/3/07, Grzegorz Kossakowski <> 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:

Grzegorz Kossakowski