Advanced options

The Advanced Options settings specify link broadcast behavior between web content viewers and whether context processor plug-ins are applied.


Links

Use the Links section to enter the details of how you want to receive and broadcast links with other portlets. This determines whether the web content viewer is aware of the state or context of other portlets.

Broadcast link options:

Dynamically select a web content page

This portal page

The following portal page

None

Receive link options:

Other portlets and this portlet

This portlet

None


Plug-ins

Use the Plug-ins section to specify which context processor plug-ins are run during rendering.

The Web content viewer provides a plug-point for context processor plug-ins that can be used to control which web content item is rendered by the web content viewer portlet. Context processor plug-ins must implement the com.ibm.workplace.wcm.api.ContextProcessor interface described in the Javadoc documentation for the Web Content Manager APIs and must provide a plugin.xml file that defines the extension of the com.ibm.workplace.wcm.api.ContextProcessor extension point. The following example shows how such an extension entry could be defined in a plugin.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin id="your.plugin.id" name="MyContextProcessor" version="1.0.0" provider-name="Example">
 <extension point="com.ibm.workplace.wcm.api.ContextProcessor" id="MyContextProcessorPlugin">
    <processor class="yourcom.example.MyContextProcessorPlugin"/>
 </extension>
</plugin>

For more information about plugin.xml files or the extension framework, refer to the Eclipse Extension Point Framework documentation.

The JAR file that implements the extension plug-in must be located in a directory that is part of the classpath of the Web Content Viewer (JSR 286) portlet application. The preferred way to do this is to create a new shared library that contains the custom resource bundle files using the WAS administrative console. Creating a new shared library that contains the resource bundle allows a clean separation of the custom resource bundle code from the base WebSphere Portal code. After creating a shared library, you need to add it to the classpath of WebSphere Portal application server classloader. For details about creating shared libraries and adding shared libraries to the classloader's classpath, refer to the Shared library collection topic in the WAS information center.

To select the context processor plug-ins that should be run during rendering of web content items through the web content viewer, click on the name of the context processor plug-in in the box that lists all found plug-ins. To clear a plug-in, hold down the control key and click on the name of the plug-in. If more than one plug-in is selected, the processing order of the plug-ins is not defined.


Scope tag cloud results

With the Scope tag cloud results settings, you can limit the results shown by instances of the Tag Cloud portlet on the same page as the JSR 286 web content viewer to only display those tags that are associated with the following scopes:

Parent of selected content item

Authoring template used for selected content item

Categories used to profile selected content item


Locked settings

If a lock icon is displayed for setting instead of an Edit link, the setting has been locked using the Configure mode and cannot be changed in the Edit Shared Settings mode.


Parent

Edit the settings of a web content viewer portlet

December 14, 2011
   

 

Apr 1, 2011 1:26:17 PM

});


+

Search Tips   |   Advanced Search