cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rice Yeh" <rice...@gmail.com>
Subject Re: How to do dojo.registerModulePath without directly modifying forms-field-styling.xsl
Date Thu, 03 May 2007 03:35:19 GMT
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 <gkossakowski@apache.org> 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
>
Mime
View raw message