Paul Spencer schrieb:
Werner,
I am excited to see you are planning to upgrade the DoJo support. I would like to see support for multiple versions, including the one currently in Tomahawk. The desired version to use for any project should be configurable.

Ah Paul sorry for the second answer, this is one thing you might like,
you will be able to switch dojo versions on the fly simply be
dropping in another weblet jar. So the configuration on project base will be possible.

Weblets allows that you can drop in different jars the resources are
loaded and versioned properly so that no cache conflicts can occur.
The main problem simply by doing this however is another one.
I cannot guarantee that the components still work if you drop in a different weblet version than the default one, depending on the version it might work or not. If you just need dojo and adjust the code yourself than this is no big issue.

This was one of the main reasons why I added weblets to the entire project. The resource handling is way more convenient with it.

If you want to see weblets and dojo in action:
http://conference.irian.at/weblets-demo/jspdojotest.jsp

This is a testcase I did a while ago, which tests for relative resource loading. The entire dojo toolkit 1.0 is packed as weblet jar and served from the webapp.

Reply via email to