albert's blog

2013/11/29

Why I can't print dashed lines?

›
Problem This is my setting in iReport. The line had been set as dashed line. And you can see the dashed line in chrome pdf viewer ...

Why can't I save PDF in Chrome?

›
Problem My chrome version is up-to-date. But why I can't save PDF after viewing it within Chrome, the save button does not work. ...
2013/11/27

How to convert the amount from Arabic numerals to Chinese number (如何將阿拉伯數字金額轉大寫國字)

›
Requirement In our payment slip, we need to convert the amount from Arabic numerals to Chinese number. ex. 325250 will be converted to 參拾貳萬...
2013/11/26

How to clear an array in AngularJS?

›
Question If we have an array in AngularJS, how do I clear its content? Answer If we have an array, ex. $scope.itemarray = ['A'...
2013/11/25

How to do collection filter in Java

›
Requirement Assume I have a collection of Cta612pDto, and this collection contains: 1: [Cta612pDto [acc=0100, amt=13033356, seqnm=(*)年度預算...
2013/11/22

Why iReport eat my spaces

›
Requirement We had a report requirement as bellows: You can see some items' amount need to do indent. Others don't. Proble...
2013/11/18

AngularJS - How to remove unnecessary blank option in dynamic drop down list

›
Based on  AngularJS - How to create dynamic drop down list this post, you had learned how to create a dynamic drop down list via AnguarJS. ...

AngularJS - How to create dynamic drop down list

›
Requirement The "區局代號" drop down list in this page should generate dynamically from database The sql statement is as bellows:...
2013/11/15

How to adjust column width to fit the contents in Apache POI

›
Problem I utilized Apache POI to write data into excel file. But I found out each cell width has the same default width, it does not adjust...

Apache Commons Application - Predicate Chain

›
Requirement If you have a collection of value object, and would like to do search just like SQL. And you may have more complex requirement...
2013/11/14

How to set currecny cell to right-justified horizontal alignment and apply 1000 separator in Apache POI

›
Problem We utilized Apache POI to write excel, but some currency cells do not right-justified horizontal alignment and do not apply 1000 se...
2013/11/12

POI 常用API筆記

›
參考資料來源: http://become.wei-ting.net/2011/11/poiexcel.html 1: File tempFile = new File(filePath,filename);//建立儲存檔案 2: Workbook workbook ...

How do I do redirect in AngularJS

›
Question I would like to do window.location (JavaScript way) to redirect page. How do I do in AngularJS? Answer You can use $window.loc...

How to fix com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException

›
Exception com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "reportName" (class gov.nta.ets.we...
2013/10/17

Windows 無法自動偵測此網路的proxy設定

›
今天在公司,突然電腦無法上網,出現 " Windows 無法自動偵測此網路的proxy設定 (Windows could not automatically detect this network's proxy settings) "此錯誤訊息 ...
2013/09/24

How to Change User in TortoiseSVN

›
Question When I authenticate with a Subversion server, the username and password are cached locally so I don't have to keep entering t...
2013/09/03

SP2-0734: unknown command beginning "alter tab..." - rest of line ignored.

›
Problem I would like to execute a  SQL script file  with simple alter table script  as follows: But it showed this error message: 1: ...
2013/08/28

Utilize ime-mode property to Control Input Method Editor

›
Problem Customer asked to control textfield1 can only fill in alphanumeric, textfield2 can fill in alphanumeric and Tranditional Chinese ...
2013/08/23

OCAJ (1Z0-850) Certificate

›

OCAJ (1Z0-850) Preparation Tips

›
OCAJ (1Z0-850) Preparation Tips from Guo Albert
‹
›
Home
View web version
Powered by Blogger.