原创 liferay中的Velocity使用分析(1)
liferay中使用Velocity進行themes設定,下面來分析一下它的應用過程 1.我們先看看VelocityVariables.
原创 liferay中使用liferay-ui進行文件上傳
在liferay中使用liferay-ui進行文件上傳比較容易,效果還不錯,下面我們來看都需要哪些代碼 1,jsp頁面中,見下面代碼 <% for (int i = 1; i <= 5; i++) { %> <tr> <td>
原创 一個典型的BI系統介紹
商業智能系統應具有的主要功能: 讀取數據——可讀取多種格式(如Excel、Access、以Tab分割的txt和固定長的txt等)的文件,同時可讀取關
原创 struts2 體系結構
今天開始學習struts2,先研究下體系結構 In the diagram, an initial request goes to the Servlet container (such as Jetty or Resin) whic
原创 liferay4.3與Fedora的整合實現
Liferay integration Fedora實現方案: 1:在liferay中提供CMS的功能,可以進行文件的上傳操作,主要支持文件類型有: .bmp, .css, .doc, .dot, .gif, .gz, .htm, .h
原创 沿着“重用”我們一路走來——SA、OO(DP)、Component、SOA、AOP
(本文轉自http://www.cnblogs.com/idior/articles/606938.html) 自從有了軟件開發以來,消除重複,提高軟件的重用性就一直是我們所追求的一個重要目標,本文將圍繞着這一主題,帶大家重走一遍結構化(
原创 (轉)在flex中使用away3d
Pre Requisites:- Intermediate programming skills.- Some knowledge and understanding of the Actionscript 3 language.- Ba
原创 TitleWindow之參數傳遞
TitleWindow的參數傳遞方法有兩種: 程序代碼 <?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006
原创 (轉)一些不錯的開源Flex項目
********************************************************************************************Flex開源項目*******************
原创 android ViewHolder模式超簡潔寫法
[java] view plaincopy ViewHolder holder = null; if(convertView == null){ c
原创 liferay中文檔庫的Repository配置
今天有網友發問:liferay中使用文檔庫Repository如何配置。回憶起原來看的源代碼,又重新查看了一番 1,首先在在portal.properties裏面找到resource.repositories.root=${user.ho
原创 在liferay中生成one to many 關係說明
在liferay中生成one to many 關係說明 1:在service.xml中配置 For example: <column name="shoppingItemPrices" type="Collec
原创 java.lang.illegalargumentexception view not attached to window manager 解決
今天在發佈到開發板測試時發現java.lang.illegalargumentexception: view not attached to window manager問題 引起的原因: A應用在使用Intent顯示啓動其他應用
原创 Flex3+Blazeds+tomcat6.0+eclipse3.3開發調試設置
如果開發環境已經設置好,配置調試其實很簡單,分2步1,以debug的方式啓動tomcat2,選中flex的mxml文件,右鍵選擇debug as flex Application這樣便可以在mxml或as文
原创 在liferay中實現action-path的重定向
在liferay中實現了ActionResponseImpl類繼承自ActionResponse實現了PortletResponse接口在ActionResponseImpl中提供了2種創建重定向url的方