WebCenter Spaces 11g PS2 Task Flow Customization

Posted by Javier Ductor on Oracle Blogs See other posts from Oracle Blogs or by Javier Ductor
Published on Wed, 12 Jan 2011 16:10:41 +0100 Indexed on 2011/01/13 11:56 UTC
Read the original article Hit count: 454

Filed under: Error when finding categories...
Previously, I wrote about Spaces Template Customization. In order to adapt Spaces to customers prototype, it was necessary to change template and skin, as well as the members task flow. In this entry, I describe how to customize this task flow.

Default members portlet:

spaces_members.jpg

Prototype Members Portlet:

prototype_members.jpg

First thing to do, I downloaded SpacesTaskflowCustomizationApplication with its guide.This application allows developers to modify task flows in Spaces, such as Announcements, Discussions, Events, Members, etc. Before starting, some configuration is needed in jDeveloper, like changing role to 'Customization Developer' mode, although it is explained in the application guide.

It is important to know that the way task flows are modified is through libraries, and they cannot be updated directly in the source code like templates, you must use the Structure panel for this.

Steps to customize Members portlet:

1. There are two members views: showIconicView and showListView. By default it is set to Iconic view, but in my case I preferred the View list, so I updated in table-of-members-taskflow.xml this default value.

structure_members.jpg

2. Change the TableOfMembers-ListView.jspx file. By editing this file, you can control the way this task flow is displayed. So I customized this list view using the structure panel to get the desired look&feel.

3. After changes are made, click save all, because every time a library changes an xml file is generated with all modifications listed, and they must be saved.

4. Rebuild project and deploy application.

5. Open WLST command window and import this customization to MDS repository with the 'import' command.

Eventually, this was the result:

Members_result.jpg

Other task flows can be customized in a similar way.



© Oracle Blogs or respective owner