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 閱讀(444) 評論(0)  編輯  收藏 所屬分類: Seam
          主站蜘蛛池模板: 同心县| 甘孜县| 介休市| 阳新县| 漯河市| 安溪县| 固始县| 甘泉县| 太保市| 贺州市| 石首市| 闵行区| 始兴县| 汝城县| 馆陶县| 泸定县| 永胜县| 泾川县| 仁寿县| 呼和浩特市| 砀山县| 崇州市| 观塘区| 阜新| 永寿县| 南漳县| 新龙县| 四平市| 宽城| 宜黄县| 鸡西市| 唐海县| 西贡区| 汝州市| 青岛市| 五台县| 湘潭市| 万州区| 宝清县| 沧源| 滁州市|