Wednesday, November 17, 2010

Jetspeed Tiny tips

I have been breaking my head over how to do certain small steps that can be done but i did not how to do them .So i thought let me share some and reduce even the burden of any single person to reduce his search.

Jetspeed is a portal framework that helps the developer to develop a web face which can be fitted with portlets that can be moved around and put with user specific settings.I could not find any single place referral point for the feature sets that it has.I will list some problems i faced in Q&A format.

All my explaination are based on jetspeed 2.2 unless specified otherwise.It also when used along with maven 2

How to configure Jetspeed to store the PSML in Database?

There are two ways of doing it.One there is a in-built target to build in PSML with DB storage. The target is "deploy-dbpsml".The other way to make PSML to store in db is to set a property in "webapp\WEB-INF\conf\spring-filter-key.properties"
The property is
spring.filter.key = portal.dbPageManager

Both these properties make the PSML i.e the pages to store in database.But if some pages are already in the source that has to be build ??? Then we have another in-built target to seed the PSML in the file structure to the database. The target is "seed" .After these configurations all the Pages (PSML) created will be stored in Database that has been defined in "jetspeed-mvn-settings.xml"