Author: julien_viet
Date: 2010-09-19 08:35:50 -0400 (Sun, 19 Sep 2010)
New Revision: 4243
Modified:
portal/trunk/webui/portal/src/main/java/conf/portal/configuration.xml
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/state/AbstractContextualPropertyProviderPlugin.java
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/state/InternalPropertiesPlugin.java
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/state/PublicPropertiesPlugin.java
Log:
GTNPORTAL-1398: actually no need to bother with a QName prefix
Modified: portal/trunk/webui/portal/src/main/java/conf/portal/configuration.xml
===================================================================
--- portal/trunk/webui/portal/src/main/java/conf/portal/configuration.xml 2010-09-19
11:53:07 UTC (rev 4242)
+++ portal/trunk/webui/portal/src/main/java/conf/portal/configuration.xml 2010-09-19
12:35:50 UTC (rev 4243)
@@ -52,11 +52,6 @@
<description>Namespace URI</description>
<
value>http://www.gatein.org/xml/ns/prp_1_0</value>
</value-param>
- <value-param>
- <name>prefix</name>
- <description>Prefix of QName</description>
- <value>prp</value>
- </value-param>
</init-params>
</component-plugin>
<component-plugin>
@@ -69,11 +64,6 @@
<description>Namespace URI</description>
<
value>http://www.gatein.org/xml/ns/internal_prp_1_0</value>
</value-param>
- <value-param>
- <name>prefix</name>
- <description>Prefix of QName</description>
- <value>iprp</value>
- </value-param>
</init-params>
</component-plugin>
</component-plugins>
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/state/AbstractContextualPropertyProviderPlugin.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/state/AbstractContextualPropertyProviderPlugin.java 2010-09-19
11:53:07 UTC (rev 4242)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/state/AbstractContextualPropertyProviderPlugin.java 2010-09-19
12:35:50 UTC (rev 4243)
@@ -40,13 +40,9 @@
/** . */
protected final String namespaceURI;
- /** . */
- protected final String prefix;
-
protected AbstractContextualPropertyProviderPlugin(InitParams params)
{
this.namespaceURI = params.getValueParam("namespaceURI").getValue();
- this.prefix = params.getValueParam("prefix").getValue();
}
public abstract void getProperties(UIPortlet portletWindow, Map<QName, String[]>
properties);
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/state/InternalPropertiesPlugin.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/state/InternalPropertiesPlugin.java 2010-09-19
11:53:07 UTC (rev 4242)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/state/InternalPropertiesPlugin.java 2010-09-19
12:35:50 UTC (rev 4243)
@@ -46,8 +46,8 @@
super(params);
//
- this.storageIdQName = new QName(namespaceURI, "storage_id", prefix);
- this.storageNameQName = new QName(namespaceURI, "storage_name", prefix);
+ this.storageIdQName = new QName(namespaceURI, "storage_id");
+ this.storageNameQName = new QName(namespaceURI, "storage_name");
}
@Override
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/state/PublicPropertiesPlugin.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/state/PublicPropertiesPlugin.java 2010-09-19
11:53:07 UTC (rev 4242)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/state/PublicPropertiesPlugin.java 2010-09-19
12:35:50 UTC (rev 4243)
@@ -64,13 +64,13 @@
super(params);
//
- this.navigationURIQName = new QName(namespaceURI, "navigation_uri",
prefix);
- this.pageNameQName = new QName(namespaceURI, "page_name", prefix);
- this.siteTypeQName = new QName(namespaceURI, "site_type", prefix);
- this.siteNameQName = new QName(namespaceURI, "site_name", prefix);
- this.windowWidth = new QName(namespaceURI, "window_width", prefix);
- this.windowHeight = new QName(namespaceURI, "window_height", prefix);
- this.windowShowInfoBarQName = new QName(namespaceURI,
"window_show_info_bar", prefix);
+ this.navigationURIQName = new QName(namespaceURI, "navigation_uri");
+ this.pageNameQName = new QName(namespaceURI, "page_name");
+ this.siteTypeQName = new QName(namespaceURI, "site_type");
+ this.siteNameQName = new QName(namespaceURI, "site_name");
+ this.windowWidth = new QName(namespaceURI, "window_width");
+ this.windowHeight = new QName(namespaceURI, "window_height");
+ this.windowShowInfoBarQName = new QName(namespaceURI,
"window_show_info_bar");
}
@Override