This section contains other guidelines for developing content that is WSRP-compliant.
Sharing Data in User Sessions
To enable two or more iViews to share data in the producer side's user's HTTP session, add the groupID property to the component profile section of the portalapp.xml file for the portal components that will share data and set both properties to the same value, as in the following example:
<component name="WSRP_test_Group_Parent"> <component-config> <property name="ClassName" value="jca.WSRP_test_Group_Parent"/> <property name="SecurityZone" value="jca/low_safety"/> </component-config> <component-profile> <property name="groupID" value="parent-child-group"/> </component-profile> </component> <component name="WSRP_test_Group_Child"> <component-config> <property name="ClassName" value="jca.WSRP_test_Group_Child"/> <property name="SecurityZone" value="jca/low_safety"/> </component-config> <component-profile> <property name="groupID" value="parent-child-group"/> </component-profile> </component>
Edit/Help Modes
Implement the abstract doEdit() and doHelp() methods in order to work in edit/help WSRP modes.
CSS Styles
In order that your content is displayed with the look and feel of the consumer portal, use the standard portlet styles (such as portlet-font ) defined in the WSRP specifications.
For more information, see http://www.oasis-open.org.