Sealyu

          --- 博客已遷移至: http://www.sealyu.com/blog

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            618 隨筆 :: 87 文章 :: 225 評論 :: 0 Trackbacks
          在頁面中使用了richfaces和prototype,結果在IE下一直報錯,后來發(fā)現richfaces的文檔中已經標注了此問題:

          Richfaces 3.1.3 uses 1.6.0 version of prototype.js script instead of 1.5.1 that's been used for earlier versions. There are 2 prototype versions included (the first included implicitly as a dependency of toggle panel components and the second one included explicitly as a link). Versions conflict is the cause of the problem.

          RichFaces 3.1.3 is bundled with the same ones as Prototype 1.6.0, Scriptaculous 1.8.0

          Example in web.xml::


          ...

          <context-param>

              <param-name>org.richfaces.ExcludeScripts</param-name>

              <param-value>Prototype,Scriptaculous</param-value>

          </context-param>

          ...

          RichFaces components use Prototype very hard. In particular, some patches has been removed that are already included into 1.6.0. Adding feature with exclusion makes it possible to use Prototype with version less than 1.6.0. This will break some of the components.



          posted on 2009-10-28 08:11 seal 閱讀(443) 評論(0)  編輯  收藏 所屬分類: Seam
          主站蜘蛛池模板: 邵东县| 罗甸县| 寿光市| 吉林省| 本溪市| 息烽县| 辽宁省| 贵德县| 临海市| 六盘水市| 巴彦县| 当阳市| 咸宁市| 南川市| 台湾省| 乳源| 盐池县| 班玛县| 泗水县| 仙居县| 汽车| 景东| 同仁县| 寿宁县| 浦东新区| 密云县| 贵州省| 绥滨县| 蓬溪县| 新泰市| 阳泉市| 鹿邑县| 牡丹江市| 大关县| 巨鹿县| 武穴市| 墨脱县| 铁岭县| 怀宁县| 平潭县| 辉县市|