無聊人士

          搬家==》www.soapui.cn

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            32 隨筆 :: 0 文章 :: 60 評論 :: 0 Trackbacks

          2007年4月8日 #

          struts 2.0.6GA開始試螃蟹,照著struts2的tag文檔寫成<@s.datetimepicker/>,結果老是報錯
          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一下,正好有人也提交了這個bug,改成 <@s.dateTimePicker />,問題解決

          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 @ 2007-04-20 10:26 mmwy 閱讀(2605) | 評論 (0)編輯 收藏

          來自:http://www.javaworld.com.tw/jute/post/print?bid=11&id=166588

          3.Re:BIRT報表工具的問題?[Re:?uxa]?????Copy?to?clipboard
          Posted?by:?uxa
          Posted?on:?
          2006-09-15?15:28

          經過幾次的失敗後~~小弟終於試出來了
          不過感覺它似乎只是support?xls?file?format並沒有excel的一些功能>?<

          1.?download?eclipse?plugin?BIRT,小弟抓的是birt-report-designer-all-in-one-2_1_0.zip
          將其解開後把eclipse\plugins和eclipse\features這兩個目錄放到eclipse的目錄底下
          現在將eclipse打開,您已經可以開始設計報表了。

          2.?BIRT預設有支援HTML和PDF的格式,以下說明如何支援xls格式
          a.?download?xls-emitter-bin_2
          .1.0.zip,解開後將plugins複製到eclipse\plugins下
          b.?download?poi-bin-
          3.0-alpha2-20060616.zip,解開後將jar檔複製到eclipse\plugins\?org.uguess.birt.report.engine.emitter.xls_2.1.0.200607031206\lib
          c.?xls-emitter-bin_2
          .1.0.zip解開後有個path的目錄,
          (
          1)?將org.eclipse.birt.report.designer.ui目錄下的檔案複製到eclipse\plugins\org.eclipse.birt.report.designer.ui.preview_2.1.0.*.jar
          (
          2)將org.eclipse.birt.report.viewer目錄下的檔案複製到eclipse\plugins\?org.eclipse.birt.report.viewer_2.1.0.*\birt\WEB-INF\lib\viewservlets.jar
          (
          3)將org.eclipse.birt.report.engine目錄下的檔案複製到eclipse\plugins\org.eclipse.birt.report.engine_2.1.0.*.jar

          完成後啟動eclipse可看到在view?report的按鈕上多了xls和ppt兩種格式

          BIRT下載位置:http://download.eclipse.org/birt/downloads/
          Tribix下載位置:https://sourceforge.net/projects/tribix
          ps:請注意版本的問題,BIRT2
          .1.0請搭配Tribix?XLS?Emitter?2.1.0版本,在置換檔名的部份也請注意路徑是否正確

          posted @ 2007-04-08 15:42 mmwy 閱讀(1639) | 評論 (2)編輯 收藏

          主站蜘蛛池模板: 望谟县| 于都县| 奈曼旗| 兴城市| 会东县| 东台市| 霍山县| 西乡县| 海城市| 延吉市| 兴隆县| 宁城县| 桂东县| 赤壁市| 鹿邑县| 会泽县| 陇川县| 赤水市| 新兴县| 荣昌县| 綦江县| 绩溪县| 肃宁县| 泽库县| 定结县| 焦作市| 鸡泽县| 汉寿县| 桦川县| 惠东县| 五大连池市| 海盐县| 策勒县| 义马市| 陵水| 湖北省| 蓬溪县| 新乐市| 辽宁省| 汶上县| 山东省|