albert's blog
2011/07/13
A Short Intorduction to JasperReports
›
A Short Intorduction to JasperReports from Guo Albert
2011/07/12
Browser Compatibility Check for Internet Explorer Versions from 5.5 to 10
›
IETester is a free (both for personal and professional usage) WebBrowser that allows you to have the rendering and javascript engines of IE1...
2011/07/07
meioMask – a jQuery mask plugin
›
Motivation I would like to find a jQuery plugin for handling input mask for inputting violation number(違章編號). Solution Go to do...
2011/07/04
25 Handy HTML Cheat Sheets
›
This article has the ultimate collection of HTML Cheat sheets that will handy to you always. A help sheet or more often known as cheat sheet...
2011/06/30
COBOL Editor - CobTree
›
web site: http://ynohoo.braindog.org/CobTree/ It's a pretty good Cobol editor. Features . multi-window tabbed interface . navigable tree...
2011/06/28
Utilize Maven 2 JasperReports Plugin to Compile jrxml Automatically
›
Motivation We would like to compile jrxml automatically as we build our web application. Mechanics We use Maven 2 JasperReports Plugin...
2011/06/22
Refactoring: Decompose Conditional
›
Motivation if-else條件判斷式,一直是程式看起來很複雜的地方。當功能更複雜,條件式就會更多,判斷式就會顯得又臭又長。無論是程式的可讀性,或是可維護性,都大大的降低。另外,在測試的時候(如code coverage test),也會增加測試時間。 ...
2011/06/20
[Java] VarArgs 的應用
›
Varargs varargs是JDK 1.5開始才提供的新功能,其定義如下:The varargs, or variable arguments, feature allows a developer to declare that a method can take...
2011/06/15
net.sf.jasperreports.engine.JRException: Provider com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl not found
›
Problem As I use iReport 4.0.2 to open jrxml file, but it show this error message: 1 2 3 4 5 6 7 8 9 10 11 12 javax . xml . ...
2011/06/14
ReportWrapper Class for JasperReport Implementation
›
在JasperReport開發,主要會分成五個部分: Get data source : 傳入List of value object,並建立JRBeanCollectionDataSource Read Jasper File : 讀取.jasper file Ge...
How to Access .jasper file from EAR File
›
Problem 根據標準組所提供的讀取. jasper 的方式,是將.jasper的目錄寫死,此寫法未來會有很大的問題。如: 1. 若有多位開發人員同時進行開發,大家都存放於不同的地方,會導致某人的環境可以執行,其他人卻無法執行的狀況。 2. 若開發機、測試機、...
2011/06/11
Apply Template Method Pattern in Report Implementation
›
View more presentations from Guo Albert
2011/06/10
How to Write CSV Files as UTF-8 for Excel
›
Problem As JasperReport export CSV file with UTF-8 encoding, Microsoft Excel wasn't displaying a CSV (comma separated values) file c...
1 comment:
利用Commons Lang API 來提升Code Coverage
›
Problem 目前參與的專案,對於code coverage有相當嚴苛的規定(at least 80%),在進行測試的時候,發現由Eclipse產生的equals()與hashCode()此二method是無法提升到80%以上的主因,因為裡頭太多的if-else statem...
‹
›
Home
View web version