nain's FotoPage

By: nain pathak

[Recommend this Fotopage] | [Share this Fotopage]
Tuesday, 13-Nov-2012 09:17 Email | Share | | Bookmark
Struts2 JQuery - Struts 2.1

Struts2 JQuery or Dojo, not a hard choice

As the Apache Struts has lowered the Dojo plugin from Struts 2.1 many of the developers have made their mind for shifting everything to jQuery. While doing so, they particularly notices the difference in sizes (170kb vs 19kb above). One may experience some troubles with the IE browser with handling dojo scripts.

Some times this happens with jQuery as well (when you works for a longer period of time, sometimes the script stops running)?

The biggest problem one faces is that the tree tag does not exist in jquery. In such a case, it is advisable to maintain the old dojo tags for that part which has already resulted in a lot of conflicts between dojo and jquery.

Changing ALL tags at once to jquery in order to avoid strange behavior is recommended here.

Many developers propose jQuery. They say that they found Dojo a bit meddling and switched to jQuery with which it becomes a lot more easier as it only uses the standard HTML markup instead of adding it's own tags like Dojo does. Also you can find out a ton more documentation for jQuery then Dojo.

On eZdia, you can seek live advices from Experts on Struts2 jQuery. Numerous articles have been posted on Struts 2 Framework, you can also find full working code for jQuery Plugin. [url]

Thursday, 4-Oct-2012 07:20 Email | Share | | Bookmark

good health is essential for us........


© Pidgin Technologies Ltd. 2016