Friday, March 20, 2009

Deploying JSR168 cooperative portlets

Below an example of a xmlaccess script that deploys a cross-page-wire between two portlets.



xsi:noNamespaceSchemaLocation=”PortalConfig_1.3.2.xsd” type=”update” create-oids=”true”>


















objectid=”p2p.source.target”
ordinal=”0″
source-pageref=”page.source”
source-portletinstanceref=”source.portlet.portletinstance”
source-property=”orderId”
target-action=”orderList”
target-pageref=”page.target”
target-param=”orderId”
target-portletinstanceref=”target.portlet.portletinstance”
user=”anonymous portal user”/>