Author: thomas.heute(a)jboss.com
Date: 2010-09-23 06:45:04 -0400 (Thu, 23 Sep 2010)
New Revision: 4343
Modified:
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/conf/portal/configuration.xml
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/state/AbstractContextualPropertyProviderPlugin.java
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/state/InternalPropertiesPlugin.java
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/state/PublicPropertiesPlugin.java
Log:
JBEPP-503: Remove QName prefix
Modified:
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/conf/portal/configuration.xml
===================================================================
---
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/conf/portal/configuration.xml 2010-09-23
10:41:08 UTC (rev 4342)
+++
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/conf/portal/configuration.xml 2010-09-23
10:45:04 UTC (rev 4343)
@@ -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:
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/state/AbstractContextualPropertyProviderPlugin.java
===================================================================
---
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/state/AbstractContextualPropertyProviderPlugin.java 2010-09-23
10:41:08 UTC (rev 4342)
+++
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/state/AbstractContextualPropertyProviderPlugin.java 2010-09-23
10:45:04 UTC (rev 4343)
@@ -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:
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/state/InternalPropertiesPlugin.java
===================================================================
---
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/state/InternalPropertiesPlugin.java 2010-09-23
10:41:08 UTC (rev 4342)
+++
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/state/InternalPropertiesPlugin.java 2010-09-23
10:45:04 UTC (rev 4343)
@@ -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:
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/state/PublicPropertiesPlugin.java
===================================================================
---
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/state/PublicPropertiesPlugin.java 2010-09-23
10:41:08 UTC (rev 4342)
+++
epp/portal/branches/EPP_5_1_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/state/PublicPropertiesPlugin.java 2010-09-23
10:45:04 UTC (rev 4343)
@@ -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