無(wú)聊人士

          搬家==》www.soapui.cn

            BlogJava :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            32 隨筆 :: 0 文章 :: 60 評(píng)論 :: 0 Trackbacks
          struts 2.0.6GA開(kāi)始試螃蟹,照著struts2的tag文檔寫成<@s.datetimepicker/>,結(jié)果老是報(bào)錯(cuò)
          211672?[http-8080-Processor25]?ERROR?freemarker.runtime??-?
          on?line?
          7,?column?17?in?admin/index.ftl?s.datetimepicker?not?found.
          The?problematic?instruction:
          ----------
          ==>?user-directive?s.datetimepicker?[on?line?7,?column?17?in?admin/index.ftl]
          ----------

          Java?backtrace?for?programmers:
          ----------
          freemarker.core.InvalidReferenceException:?on?line?
          7,?column?17?in?admin/index.ftl?s.datetimepicker?not?found.

          試著google一下,正好有人也提交了這個(gè)bug,改成 <@s.dateTimePicker />,問(wèn)題解決

          The?fix?is?as?follows:

          In?struts2-core-
          2.0.6:
          org.apache.struts2.views.freemarker.tags.StrutsModels

          has?a?method
          getDateTimePicker()

          Which?should?be?re-named:
          getDatetimepicker()

          to?match?with?the?naming?convention.


          hello,struts2.jpg
          posted on 2007-04-20 10:26 mmwy 閱讀(2606) 評(píng)論(0)  編輯  收藏 所屬分類: WebWork、Struts2、FreeMarker
          主站蜘蛛池模板: 特克斯县| 郎溪县| 嫩江县| 林周县| 石门县| 北宁市| 陆良县| 博客| 汪清县| 汤阴县| 雅安市| 甘谷县| 滦南县| 辰溪县| 张掖市| 德保县| 青河县| 蓝田县| 西昌市| 台山市| 滨州市| 穆棱市| 合水县| 晴隆县| 安陆市| 敖汉旗| 宜良县| 常州市| 武威市| 杭州市| 德阳市| 柳林县| 梁河县| 香河县| 荥阳市| 昂仁县| 蓝田县| 朔州市| 白山市| 潮安县| 洪雅县|