Author: chris.laprun(a)jboss.com
Date: 2007-06-19 13:47:35 -0400 (Tue, 19 Jun 2007)
New Revision: 7477
Modified:
tags/JBoss_Portal_2_6_0_CR3/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfo.java
Log:
Typos
Modified:
tags/JBoss_Portal_2_6_0_CR3/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfo.java
===================================================================
---
tags/JBoss_Portal_2_6_0_CR3/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfo.java 2007-06-19
17:46:10 UTC (rev 7476)
+++
tags/JBoss_Portal_2_6_0_CR3/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfo.java 2007-06-19
17:47:35 UTC (rev 7477)
@@ -22,16 +22,16 @@
******************************************************************************/
package org.jboss.portal.core.admin.ui;
+import org.jboss.portal.common.i18n.LocalizedString;
+import org.jboss.portal.core.impl.model.portal.WindowImpl;
import org.jboss.portal.core.model.portal.PortalObject;
import org.jboss.portal.core.model.portal.control.ControlConstants;
-import org.jboss.portal.core.impl.model.portal.WindowImpl;
-import org.jboss.portal.common.i18n.LocalizedString;
import org.jboss.portal.theme.ThemeConstants;
import org.jboss.portal.theme.impl.render.dynamic.DynaRenderOptions;
+import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
-import java.util.HashMap;
import java.util.Set;
/**
@@ -62,14 +62,14 @@
//
- public static final PropertyInfo CONTROL_POLICY_PAGE_ACCESS_DENIED = new
PropertyInfo(ControlConstants.PAGE_ACCESS_DENIED_CONTROL_KEY, new
LocalizedString("When access the the window is denied"), new
LocalizedString("When access the the window is denied"),
"java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE,
PropertyInfo.PUBLIC_SCOPE);
+ public static final PropertyInfo CONTROL_POLICY_PAGE_ACCESS_DENIED = new
PropertyInfo(ControlConstants.PAGE_ACCESS_DENIED_CONTROL_KEY, new
LocalizedString("When access to the window is denied"), new
LocalizedString("When access to the window is denied"),
"java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE,
PropertyInfo.PUBLIC_SCOPE);
public static final PropertyInfo CONTROL_POLICY_PAGE_UNAVAILABLE = new
PropertyInfo(ControlConstants.PAGE_UNAVAILABLE_CONTROL_KEY, new LocalizedString("When
the window is unavailable"), new LocalizedString("When the window is
unavailable"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE,
PropertyInfo.PUBLIC_SCOPE);
public static final PropertyInfo CONTROL_POLICY_PAGE_ERROR = new
PropertyInfo(ControlConstants.PAGE_ERROR_CONTROL_KEY, new LocalizedString("When there
is an error on the window"), new LocalizedString("When there is an error on the
window"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE,
PropertyInfo.PUBLIC_SCOPE);
public static final PropertyInfo CONTROL_POLICY_PAGE_INTERNAL_ERROR = new
PropertyInfo(ControlConstants.PAGE_INTERNAL_ERROR_CONTROL_KEY, new
LocalizedString("When there is an error within the window"), new
LocalizedString("When there is an error within the window"),
"java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE,
PropertyInfo.PUBLIC_SCOPE);
public static final PropertyInfo CONTROL_POLICY_PAGE_NOT_FOUND = new
PropertyInfo(ControlConstants.PAGE_NOT_FOUND_CONTROL_KEY, new LocalizedString("When
the window is not found"), new LocalizedString("When the window is not
found"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE,
PropertyInfo.PUBLIC_SCOPE);
public static final PropertyInfo CONTROL_POLICY_PAGE_RESOURCE_URI = new
PropertyInfo(ControlConstants.PAGE_RESOURCE_URI_CONTROL_KEY, new LocalizedString("On
error redirect to this resource"), new LocalizedString("On error redirect to
this resource"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE,
PropertyInfo.PUBLIC_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PORTAL_ACCESS_DENIED = new
PropertyInfo(ControlConstants.PORTAL_ACCESS_DENIED_CONTROL_KEY, new
LocalizedString("When access the the page is denied"), new
LocalizedString("When access the the page is denied"),
"java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE,
PropertyInfo.PUBLIC_SCOPE);
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_ACCESS_DENIED = new
PropertyInfo(ControlConstants.PORTAL_ACCESS_DENIED_CONTROL_KEY, new
LocalizedString("When access to the page is denied"), new
LocalizedString("When access to the page is denied"),
"java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE,
PropertyInfo.PUBLIC_SCOPE);
public static final PropertyInfo CONTROL_POLICY_PORTAL_UNAVAILABLE = new
PropertyInfo(ControlConstants.PORTAL_UNAVAILABLE_CONTROL_KEY, new
LocalizedString("When the page is unavailable"), new LocalizedString("When
the page is unavailable"), "java.lang.String",
PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
public static final PropertyInfo CONTROL_POLICY_PORTAL_ERROR = new
PropertyInfo(ControlConstants.PORTAL_ERROR_CONTROL_KEY, new LocalizedString("When
there is an error on the page"), new LocalizedString("When there is an error on
the page"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE,
PropertyInfo.PUBLIC_SCOPE);
public static final PropertyInfo CONTROL_POLICY_PORTAL_INTERNAL_ERROR = new
PropertyInfo(ControlConstants.PORTAL_INTERNAL_ERROR_CONTROL_KEY, new
LocalizedString("When there is an error within the page"), new
LocalizedString("When there is an error within the page"),
"java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE,
PropertyInfo.PUBLIC_SCOPE);
@@ -174,7 +174,7 @@
public PropertiesInfo(PortalObject portalObject)
{
Map objectProps = null;
- switch(portalObject.getType())
+ switch (portalObject.getType())
{
case PortalObject.TYPE_CONTEXT:
objectProps = CONTEXT_PROPERTIES;