Hi,

 

We recently upgraded to 4.1.1 from 4.0.2 and are still having some
issues with dojo-related stuff. Right now, we are on the snapshot build
from 12-4. One thing I can't figure out is where the path for this is
getting generated in the rendered html:

 

dojo.registerModulePath("tapestry", "/assets/static/tapestry");

 

That looks like the generic path used for the djConfig baseRelativePath,
dojo.js, and tapestry's core.js. But I have replaced the path
successfully for those three in the Shell component.

 

One specific problem we have seen is in the contrib Palette. When I
submit a form, it is supposed to call a select-all javascript function
in order to capture the changes. This is supposed to happen through a
call at the end something like dojo.event.connect('formName',
'onsubmit', selectAllFunction) but that select all function never gets
called. A workaround we have found is to provide an onclick event to
that same selectAllFunction when the submit button is clicked, but that
is pretty hackish and ugly.

 

I'm not sure if the Palette issue is related to the path issue mentioned
above, but it seems that certain dojo-related things just aren't
working. Others, like the autocompleter, work fine though.

 

Any suggestions/pointers would be much appreciated.

 

Thanks,

Ben

Reply via email to