Sealyu

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

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            618 隨筆 :: 87 文章 :: 225 評論 :: 0 Trackbacks
          在頁面中使用了richfaces和prototype,結果在IE下一直報錯,后來發現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 閱讀(447) 評論(0)  編輯  收藏 所屬分類: Seam
          主站蜘蛛池模板: 郓城县| 日土县| 冀州市| 宁波市| 涞水县| 自贡市| 霸州市| 西乌珠穆沁旗| 白山市| 巴彦淖尔市| 木里| 泸西县| 威信县| 重庆市| 肃宁县| 东乡族自治县| 叶城县| 澄城县| 江安县| 韶关市| 高阳县| 梁平县| 安义县| 扶沟县| 特克斯县| 温泉县| 丹江口市| 彰化市| 东山县| 隆子县| 乌兰察布市| 兴宁市| 千阳县| 林西县| 海安县| 泰和县| 鹰潭市| 九江市| 阳信县| 丹江口市| 甘孜县|