Author: julien(a)jboss.com
Date: 2008-07-23 08:50:28 -0400 (Wed, 23 Jul 2008)
New Revision: 11556
Modified:
branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-coordination-samples-war/WEB-INF/default-object.xml
Log:
explicit aliased parameter example
Modified:
branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-coordination-samples-war/WEB-INF/default-object.xml
===================================================================
---
branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-coordination-samples-war/WEB-INF/default-object.xml 2008-07-23
12:45:12 UTC (rev 11555)
+++
branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-coordination-samples-war/WEB-INF/default-object.xml 2008-07-23
12:50:28 UTC (rev 11556)
@@ -362,8 +362,68 @@
</coordination>
</page>
-<!--
<page>
+
+ <!--
+ | In this sample we show that
+ | -
+ | -
+ -->
+
+ <page-name>Explicit aliased parameters</page-name>
+ <window>
+ <window-name>PublicParametersPortletWindow1</window-name>
+
<instance-ref>CoordinationPublicParametersPortletInstance1</instance-ref>
+ <region>left</region>
+ <height>0</height>
+ </window>
+ <window>
+ <window-name>PublicParametersPortletWindow2</window-name>
+
<instance-ref>CoordinationPublicParametersPortletInstance1</instance-ref>
+ <region>center</region>
+ <height>0</height>
+ </window>
+ <window>
+ <window-name>PublicParametersPortletWindow3</window-name>
+
<instance-ref>CoordinationPublicParametersPortletInstance2</instance-ref>
+ <region>left</region>
+ <height>1</height>
+ </window>
+ <window>
+ <window-name>PublicParametersPortletWindow4</window-name>
+
<instance-ref>CoordinationPublicParametersPortletInstance2</instance-ref>
+ <region>center</region>
+ <height>1</height>
+ </window>
+
+ <coordination>
+ <parameter-strategy>EXPLICIT</parameter-strategy>
+ <bindings>
+
+ <alias-binding>
+ <name>binding1</name>
+ <qname>foo</qname>
+ </alias-binding>
+
+ <alias-binding>
+ <name>binding2</name>
+ <qname>{urn:jboss:portal:samples:juu}juu</qname>
+ </alias-binding>
+
+ <alias-binding>
+ <name>binding3</name>
+ <qname>bar1</qname>
+ <qname>bar2</qname>
+ <qname>{urn:jboss:portal:samples:daa1}daa1</qname>
+ <qname>{urn:jboss:portal:samples:daa2}daa2</qname>
+ </alias-binding>
+
+ </bindings>
+ </coordination>
+ </page>
+
+ <!--
+ <page>
<page-name>Parameters FALLBACK</page-name>
<window>
<window-name>PublicParametersPortletWindowA1</window-name>