Thursday, November 30, 2006

JCR Portlet demo

Its been a long time, I know. But now I am back again.

Currently I am working on a demo for connecting a portlet application to a JCR repository.
The portlet application consists of 2 portlets, one show a table of contents, and the other shows the selected content item.
The first problem I stumble into after creating a web project using maven 2, was that the war file created contained the portlet-api.jar causing a ClassCastException in pluto.
Adding a provided scope to the dependency solved that problem.