upgrade struts2 dojo dependency to version 0.4
----------------------------------------------
Key: WW-1484
URL: http://issues.apache.org/struts/browse/WW-1484
Project: Struts 2
Issue Type: Improvement
Components: Views
Affects Versions: 2.0.1
Reporter: tm_jee
Fix For: 2.0.2
Some of the initial thoughts are:-
- use dojo.widget.defineWidget instead of the old-way of using
dojo.provide, dojo.extends etc. Dojo got most of its widget rewritten using
this way.
- have struts2 widgets/utils as a separate module and add them in
using dojo.setModulePrefix(...) (0.3) I think the method is renamed in 0.4
and the concept of module is namespace in 0.4
- have javadoc comments in our widget, hopefully it would be easier
to follow and maybe if possible able to generate docs like
http://dojotoolkit.org/api But I am not sure about how to do this yet.
Definitely interested in finding out more.
- have a test folder, like dojo's where we could have pages that test
the widget, we could use Pat's product to do test the pages (something
like HostedQA or Selenium)
Please feel free to add on information / discuess / express thoughts etc.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira