Total Pageviews

2010/10/12

Subversive Plug-in Installation




Install Subversive plug-in

1. open eclipse, Help-->Install New Software


2. Download Subversive from http://download.eclipse.org/technology/subversive/0.7/update-site/ . Choose required option to install.


3. Click Finish button.

4. Download in progress.

5. Restart eclipse


Install Subversive Connector

1. Choose SVN Kit

2. Click Next

3. Click Next

4. Select "I Accept....", click Next

5. Download in progress

6. Restart eclipse


Create Dynamic Web Project From SVN

1. File --> New --> Other

2. Select "Project From SVN", click Next

3. Choose "Create a new repository location", click Next

4. fill in SVN url, user name, and password

5. Click Finish


6. Click Finish

7. Choose Dynamic Web Project, Click Next

8. Assign project name and configuration

9. Click Next


10. Click Next

11. Click Next

12. WELL DONE!







2010/10/07

Failed to install Subversive plug-in in RSA for WebSphere

As I want to install Subversive plug-in to IBM Rational Software Architect (RSA) 7.5, it complained this strange error message:

Cannot complete the request. See the details.
Unsatisfied dependency: [com.ibm.rational.clearquest.linux.feature.group 7.1100.0.v200912012238] requiredCapability: org.eclipse.equinox.p2.iu/com.ibm.rational.common.core.linux/[7.1100.0.v200912012238,7.1100.0.v200912012238]
Unsatisfied dependency: [com.ibm.rational.clearquest.aix.feature.group 7.1100.0.v200912012238] requiredCapability: org.eclipse.equinox.p2.iu/com.ibm.rational.common.core.aix/[7.1100.0.v200912012238,7.1100.0.v200912012238]
Unsatisfied dependency: [com.ibm.rational.clearquest.solaris.feature.group 7.1100.0.v200912012238] requiredCapability: org.eclipse.equinox.p2.iu/com.ibm.rational.common.core.solaris/[7.1100.0.v200912012238,7.1100.0.v200912012238]

It seems that it have some dependency issues as I install this plug-in.

Solution: uninstall three existing plugins together: Rational ClearQuest AIX Feature, Rational ClearQuest Linux Feature, and Rational ClearQuest Solaris Feature. Then reinstall the Subversive plug-in.

The root cause is still unknown. According to IBM's technical document, it said "This defect is under investigation, and there is no permanent fix at this time." IBM SUCKS!



2010/09/19

2010/9 Hokkaido (北海道)

特拉普派修道院一景

金森紅磚倉庫外的海洋

函館夕陽

函館百萬夜景

洞爺湖

洞爺湖煙火秀

小樽運河

富良野

四季彩の丘

2010/08/31

PrimeFaces Themes Configuration

1. Download theme files from http://www.primefaces.org/themes.html

2. Copy themes file to under WebContent/theme

3. Add the skin.css file to our template page using link tag.
If you would like to apply another theme file, just repeat step3.

4. And configure PrimeFaces not to add it's bundled default skin (sam).

flicker theme

blue sky theme

dark-Hive theme

If you have any problems with applying PrimeFaces theme, please check this link: http://albert-myptc.blogspot.com/2010/08/failed-to-apply-primefaces-theme.html

Failed to Apply PrimeFaces Theme



Problem
As I downloaded theme files from http://www.primefaces.org/themes.html, and tried to apply it. But it does not work.


Solution
I utilized primefaces-1.0.2 to implement, but this version has bugs in applying theme. Therefore, as I change PrimeFaces jar file to primefaces-1.1, this problem was disappeared.



2010/08/27

PrimeFaces + Facelets Configuration

1. With regard to facelets configuration, please check: http://albert-myptc.blogspot.com/2010/08/1.html

2. Download primefaces-1.0.2.jar from http://www.primefaces.org/downloads.html


3. Edit web.xml. Add Resource Servlet and servlet mapping

4. Add p:resources tag to head tag in template.xhtml
Resource component needs to be present on a page that has PrimeFaces components, this component outputs the link and script tags that are necessary for PrimeFaces components to work. The ideal place to put resources component would be the html head element.

5. Create a test.xhtml, apply template.xhtml as its template page. And add p:editor in the body part.

6. Check the result

'PrimeFaces' is undefined

As I try to execute a simple PrimeFaces tag in my test.xhtml

it shows this JavaScript error


it results from I forget to add p:resources tag to head tag in my template.xhtml

Then it works correctly!

2010/08/26

Facelets Quick Start


1. download facelets jar file from https://facelets.dev.java.net/

2. copy jsf-facelets.jar to WEB-INF/lib

3. download jakarta-taglibs-standard jar files from

4. copy jstl.jar and standard.jar to WEB-INF/lib

5. add facelets initialization parameter in web.xml

6. add FaceletViewHandler in face-config.xml

7. ceate header.xhtml in template folder

8. create footer.xhtml in tempate folder

9. create template.xhtml in template folder

10. create test.xhtml which apply template.xhtml

11. check the result

Enable code completion in xhtml file (facelets)

[Problem] code completion function does not work in xhtml file

[Solution]
Window > Preferences

General > Content Types > Text > JSP

Add (xhtml)

Click OK

[CHECK Result]