Author: chris.laprun(a)jboss.com
Date: 2010-03-03 10:21:59 -0500 (Wed, 03 Mar 2010)
New Revision: 1947
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/ExoPortletInvocationContext.java
Log:
- Reformat.
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/ExoPortletInvocationContext.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/ExoPortletInvocationContext.java 2010-03-03
15:20:52 UTC (rev 1946)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/ExoPortletInvocationContext.java 2010-03-03
15:21:59 UTC (rev 1947)
@@ -116,14 +116,14 @@
if (!type.equals(Constants.PORTAL_RENDER))
{
- appendParameter(baseURL, Constants.TYPE_PARAMETER, type);
+ appendParameter(baseURL, Constants.TYPE_PARAMETER, type);
}
-
+
if (format != null && format.getWantSecure() != null)
{
- appendParameter(baseURL, Constants.SECURE_PARAMETER,
format.getWantSecure().toString());
+ appendParameter(baseURL, Constants.SECURE_PARAMETER,
format.getWantSecure().toString());
}
-
+
if (containerURL instanceof ActionURL)
{
ActionURL actionURL = (ActionURL)containerURL;
@@ -133,9 +133,9 @@
{
appendParameter(baseURL, INTERACTION_STATE_PARAM_NAME,
state.getStringValue());
}
-
+
state = actionURL.getNavigationalState();
- if (state != null &&
!state.getStringValue().equals(StateString.JBPNS_PREFIX) )
+ if (state != null &&
!state.getStringValue().equals(StateString.JBPNS_PREFIX))
{
appendParameter(baseURL, NAVIGATIONAL_STATE_PARAM_NAME,
state.getStringValue());
}
@@ -209,18 +209,18 @@
{
for (String key : publicNSChanges.keySet())
{
- String[] values = publicNSChanges.get(key);
- if (values != null && values.length > 0)
- {
- for (String value : values)
- {
- appendParameter(baseURL, key, value);
- }
- }
- else
- {
- appendParameter(baseURL, "removePP", key);
- }
+ String[] values = publicNSChanges.get(key);
+ if (values != null && values.length > 0)
+ {
+ for (String value : values)
+ {
+ appendParameter(baseURL, key, value);
+ }
+ }
+ else
+ {
+ appendParameter(baseURL, "removePP", key);
+ }
}
}
Show replies by date