struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Hermanns <herma...@aixcept.de>
Subject Re: ajax tags
Date Sun, 05 Nov 2006 20:30:03 GMT
Musachy,

after applying your patch, all custom widget files do no longer have  
content.
Is it correct, that all files under core/src/main/resources/org/ 
apache/struts2/static/dojo/struts/widget/ should be removed?

If yes, shouldn't core/src/main/resources/template/ajax/ 
dojoRequire.js should be changed like this (remove all lines with '-' ):

dojo.require("dojo.io.BrowserIO");
dojo.require("dojo.event.topic");

- dojo.hostenv.setModulePrefix('struts', 'struts');
dojo.require('dojo.widget.*');
- dojo.widget.manager.registerWidgetPackage('struts.widget');

- dojo.require("struts.widget.Bind");
- dojo.require("struts.widget.BindDiv");
- dojo.require("struts.widget.BindAnchor");
dojo.require("dojo.widget.Editor");
dojo.hostenv.writeIncludes(); // not needed, but allows the Venkman  
debugger to work with the includes

It looks to me, that either the patch is not complete, or that I am  
missing the part replacing the above widget requirements.

Could you please have a look at this?

Thanks,
Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message