2007-06-07
struts2 的ajax校验的问题(dojo is not defined)
关键字: struts2 ajax完全模仿struts2的例子程序写的ajax校验(后来改得狗基本上一摸一样了)。始终出错:dojo is not defined。
页面已经生成了:
<script language="JavaScript" type="text/javascript"> // Dojo configuration djConfig = { baseRelativePath: "/ajaxTest/struts/dojo", isDebug: false, bindEncoding: "UTF-8", debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes }; </script>
但用.."/ajaxTest/struts/dojo.js又不能访问到dojo.js。不知道原因,哪位大哥帮下忙解释下?
评论
gcgan
2007-06-08
scienceren 写道
这个bug是struts2.0.6里面的存在的,解决办法是可以更改struts2-core-2.0.6.jar\template\ajax中form-close.ftl等几个文件最后的dojo.widget.html.Tooltip要变成dojo.widget.Tooltip,该bug会在2.1中修正,等待下一个版本吧。
谢谢哈
scienceren
2007-06-08
这个bug是struts2.0.6里面的存在的,解决办法是可以更改struts2-core-2.0.6.jar\template\ajax中form-close.ftl等几个文件最后的dojo.widget.html.Tooltip要变成dojo.widget.Tooltip,该bug会在2.1中修正,等待下一个版本吧。
- 浏览: 2273 次

- 详细资料
搜索本博客
最近加入圈子
链接
最新评论
-
struts2 的ajax校验的问题 ...
scienceren 写道这个bug是struts2.0.6里面的存在的,解决办 ...
-- by gcgan -
struts2 的ajax校验的问题 ...
这个bug是struts2.0.6里面的存在的,解决办法是可以更改struts2 ...
-- by scienceren






评论排行榜