Author: julien(a)jboss.com
Date: 2007-06-11 11:12:39 -0400 (Mon, 11 Jun 2007)
New Revision: 7399
Modified:
trunk/core/src/main/org/jboss/portal/core/model/portal/control/ControlConstants.java
trunk/core/src/main/org/jboss/portal/core/model/portal/control/window/DefaultWindowControlPolicy.java
Log:
minor tweak
Modified:
trunk/core/src/main/org/jboss/portal/core/model/portal/control/ControlConstants.java
===================================================================
---
trunk/core/src/main/org/jboss/portal/core/model/portal/control/ControlConstants.java 2007-06-11
14:38:24 UTC (rev 7398)
+++
trunk/core/src/main/org/jboss/portal/core/model/portal/control/ControlConstants.java 2007-06-11
15:12:39 UTC (rev 7399)
@@ -73,7 +73,7 @@
public static final String HIDE_CONTROL_VALUE = "hide";
/** . */
- public static final String SHOW_CONTROL_VALUE = "show";
+ public static final String IGNORE_CONTROL_VALUE = "ignore";
/** . */
public static final String JSP_CONTROL_VALUE = "jsp";
Modified:
trunk/core/src/main/org/jboss/portal/core/model/portal/control/window/DefaultWindowControlPolicy.java
===================================================================
---
trunk/core/src/main/org/jboss/portal/core/model/portal/control/window/DefaultWindowControlPolicy.java 2007-06-11
14:38:24 UTC (rev 7398)
+++
trunk/core/src/main/org/jboss/portal/core/model/portal/control/window/DefaultWindowControlPolicy.java 2007-06-11
15:12:39 UTC (rev 7399)
@@ -156,12 +156,6 @@
{
rendition.setControllerResponse(null);
}
- else if (ControlConstants.SHOW_CONTROL_VALUE.equals(policyValue))
- {
- rendition.setSupportedWindowStates(Collections.EMPTY_LIST);
- rendition.setSupportedModes(Collections.EMPTY_LIST);
- rendition.setControllerResponse(new MarkupResponse(response.toString(),
response.toString(), null));
- }
else if (ControlConstants.JSP_CONTROL_VALUE.equals(policyValue))
{
String resourceURI =
(String)properties.get(ControlConstants.GLOBAL_RESOURCE_URI_CONTROL_KEY);
Show replies by date