無聊人士

          搬家==》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 閱讀(2598) | 評論 (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 閱讀(1627) | 評論 (2)編輯 收藏

          主站蜘蛛池模板: 甘肃省| 大城县| 修文县| 农安县| 桐梓县| 博白县| 通城县| 来凤县| 三明市| 杭州市| 韶关市| 连江县| 将乐县| 焦作市| 双峰县| 马鞍山市| 浦江县| 邹城市| 巴彦县| 杭锦旗| 眉山市| 乌兰浩特市| 星座| 潍坊市| 峨眉山市| 吉木萨尔县| 祥云县| 买车| 讷河市| 东台市| 乃东县| 伽师县| 静宁县| 花莲县| 通海县| 噶尔县| 齐河县| 界首市| 呼伦贝尔市| 奉节县| 平邑县|