Struts2插件 - Dojo或jQuery或...? [英] Struts2 plugins - Dojo or jQuery or...?
问题描述
我的应用程序中有很多dojo标签,我使用他们的大部分属性。
有没有人有这样的经验?有什么问题?有什么好处?有没有人有什么更好的想法,哪些插件包含在Struts2?
任何答案都会很棒!谢谢。
对我来说,将标记从dojo更改为jquery已经很好。在我的(小)项目中,只有少数人物必须改变。
我最大的问题是,树标记在jquery中不存在,所以我保留了旧的dojo标签,该标签在dojo之间产生了很多冲突和jquery。所以我建议您一次更改所有标签到jquery,以避免奇怪的行为。
Since Apache Struts has deprecated Dojo plugin from Struts 2.1.x I am thinking to change everything to jQuery. I especially noticed the difference in sizes (170kb vs 19kb - something like that). I had troubles with IE browser with handling dojo scripts, is this happening also with jQuery (when user is working with the application for a long time, script stops running)?
I have a lot of dojo tags in my applications, and I use most of theirs attributes.
Has anyone had any experience doing that? What were the problems? What were the benefits? Downsides?
Does anyone has any better ideas of which plugin to include with Struts2?
Any answer will be great! Thanks.
It has worked fine for me to change the tags from dojo to jquery. In my (small)project only a few attibutes had to be changed.
The biggest problem for me has been that the tree tag doesn´t exist in jquery so I kept the old dojo tags for that part which has generated alot of conflicts between dojo and jquery. So I recommend that you should change ALL tags at once to jquery to avoid strange behavior.
这篇关于Struts2插件 - Dojo或jQuery或...?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!