Back Forum Reply New

Modifying dojo

Hi there,

I am using Roo and the underlying  dojo toolkit.

Now I need to modify one file (cometd.js), delete a folder (cometd/) and replace both with the ones delivered by cometd2.

I used this thread showthread.php?t=99423 to change my version.

I furthermore added a folder org/ on the level of the dojo, dijit and dojox folders.

But as I can see, dojo tries to acces /resources/org/cometd.js but gets an 404 error.

How can I tell the resouce servlet, that this path is allowed?

Thanks in advance,

Hamb

Can you post your configuration settings?  What is your lt;mvc:resourcesgt; set to now?  Also, what is your new updated script reference looking like in load-script.tagx?

Dojo should pull everything relative to itself on the path.  One thing you could do is amp up the logging on the org..web package and see exactly what it can't find.

Thank you sooooo much

I did not know to modify the load-script.tagx file. After having done this, all works like a charme!

Thanks,

Hamb

Lemme tell ya, that was my fall for the Roo in Action book - learning all of the ins and outs of the tagx framework and Dojo at its base.  Glad to see my research paid off here!

BTW, if you wanted to install jQuery, YUI or other stylesheets, you'd do that here too.

Ken

Ken,

this information is worth a sticky note or a tutorial.

The roo manual lacks this information, as far is i can see!

Thanks anyway, the common knowledge of spring is awesome :-)

Hamb
¥
Back Forum Reply New