incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r431841 [1/2] - in /incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal: renderkit/core/skin/ renderkit/core/xhtml/ renderkit/html/layout/ style/cache/
Date Wed, 16 Aug 2006 06:18:18 GMT
Author: awiner
Date: Tue Aug 15 23:18:17 2006
New Revision: 431841

URL: http://svn.apache.org/viewvc?rev=431841&view=rev
Log:
Check in Simon's patch for ADFFACES-124: this breaks the dependency of XhtmlConstants on UIConstants, and establishes a SkinProperties and SkinSelectors files for skin constants

Added:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinProperties.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinSelectors.java
Modified:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/BaseDesktopSkin.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/MinimalDesktopSkinExtension.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/MinimalPdaSkinExtension.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/PdaHtmlSkin.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/SimpleDesktopSkin.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/XhtmlSkin.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlConstants.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelAccordionRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelRadioRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/ShowOneListRendererBase.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/cache/FileSystemStyleCache.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/BaseDesktopSkin.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/BaseDesktopSkin.java?rev=431841&r1=431840&r2=431841&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/BaseDesktopSkin.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/BaseDesktopSkin.java Tue Aug 15 23:18:17 2006
@@ -15,7 +15,7 @@
  */
 package org.apache.myfaces.trinidadinternal.renderkit.core.skin;
 
-import org.apache.myfaces.trinidadinternal.ui.laf.base.desktop.BaseDesktopConstants;
+import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants;
 import org.apache.myfaces.trinidadinternal.skin.icon.ContextImageIcon;
 import org.apache.myfaces.trinidadinternal.skin.icon.NullIcon;
 import org.apache.myfaces.trinidadinternal.skin.icon.ReferenceIcon;
@@ -30,7 +30,6 @@
  * @author The Oracle ADF Faces Team
  */
 public class BaseDesktopSkin extends XhtmlSkin
-  implements BaseDesktopConstants
 {
   /**
    * Constructs a BaseDesktopSkin instance
@@ -49,7 +48,7 @@
   @Override
   public String getId()
   {
-    return BaseDesktopConstants.BASE_DESKTOP_ID;
+    return XhtmlConstants.BASE_DESKTOP_ID;
   }
 
   /**

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/MinimalDesktopSkinExtension.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/MinimalDesktopSkinExtension.java?rev=431841&r1=431840&r2=431841&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/MinimalDesktopSkinExtension.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/MinimalDesktopSkinExtension.java Tue Aug 15 23:18:17 2006
@@ -16,9 +16,9 @@
 
 package org.apache.myfaces.trinidadinternal.renderkit.core.skin;
 
+import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants;
 import org.apache.myfaces.trinidadinternal.skin.Skin;
 import org.apache.myfaces.trinidadinternal.skin.SkinExtension;
-import org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants;
 
 /**
  * @version $Name:  $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/renderkit/core/skin/MinimalDesktopSkinExtension.java#0 $) $Date: 10-nov-2005.19:02:52 $
@@ -37,7 +37,7 @@
     super(baseSkin,
           _MINIMAL_DESKTOP_ID,
           _MINIMAL_FAMILY,
-          XhtmlLafConstants.ORACLE_ADF_DESKTOP);
+          XhtmlConstants.ORACLE_ADF_DESKTOP);
 
     // Register our style sheet
     setStyleSheetName(_MINIMAL_STYLE_SHEET_NAME);

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/MinimalPdaSkinExtension.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/MinimalPdaSkinExtension.java?rev=431841&r1=431840&r2=431841&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/MinimalPdaSkinExtension.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/MinimalPdaSkinExtension.java Tue Aug 15 23:18:17 2006
@@ -16,9 +16,9 @@
 
 package org.apache.myfaces.trinidadinternal.renderkit.core.skin;
 
+import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants;
 import org.apache.myfaces.trinidadinternal.skin.Skin;
 import org.apache.myfaces.trinidadinternal.skin.SkinExtension;
-import org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants;
 
 /**
  * @version $Name:  $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/renderkit/core/skin/MinimalPdaSkinExtension.java#0 $) $Date: 10-nov-2005.19:02:52 $
@@ -37,7 +37,7 @@
     super(baseSkin,
           _MINIMAL_PDA_ID,
           _MINIMAL_FAMILY,
-          XhtmlLafConstants.ORACLE_ADF_PDA);
+          XhtmlConstants.ORACLE_ADF_PDA);
 
     // Register our style sheet
     setStyleSheetName(_MINIMAL_STYLE_SHEET_NAME);

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/PdaHtmlSkin.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/PdaHtmlSkin.java?rev=431841&r1=431840&r2=431841&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/PdaHtmlSkin.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/PdaHtmlSkin.java Tue Aug 15 23:18:17 2006
@@ -15,7 +15,6 @@
  */
 package org.apache.myfaces.trinidadinternal.renderkit.core.skin;
 
-import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants;
 import org.apache.myfaces.trinidadinternal.skin.icon.ContextImageIcon;
 import org.apache.myfaces.trinidadinternal.skin.icon.NullIcon;
 import org.apache.myfaces.trinidadinternal.util.IntegerUtils;
@@ -27,7 +26,6 @@
  * @author The Oracle ADF Faces Team
  */
 public class PdaHtmlSkin extends XhtmlSkin
-  implements XhtmlConstants
 {
 
   public PdaHtmlSkin()

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/SimpleDesktopSkin.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/SimpleDesktopSkin.java?rev=431841&r1=431840&r2=431841&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/SimpleDesktopSkin.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/SimpleDesktopSkin.java Tue Aug 15 23:18:17 2006
@@ -15,7 +15,7 @@
  */
 package org.apache.myfaces.trinidadinternal.renderkit.core.skin;
 
-import org.apache.myfaces.trinidadinternal.ui.laf.simple.desktop.SimpleDesktopConstants;
+import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SkinSelectors;
 
 
 /**
@@ -25,7 +25,7 @@
  * @author The Oracle ADF Faces Team
  */
 public class SimpleDesktopSkin extends BaseDesktopSkin
-  implements SimpleDesktopConstants
+  implements SkinSelectors
 {
 
   /**

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/XhtmlSkin.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/XhtmlSkin.java?rev=431841&r1=431840&r2=431841&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/XhtmlSkin.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/skin/XhtmlSkin.java Tue Aug 15 23:18:17 2006
@@ -20,7 +20,7 @@
 import org.apache.myfaces.trinidadinternal.skin.icon.ReferenceIcon;
 import org.apache.myfaces.trinidadinternal.skin.icon.TextIcon;
 import org.apache.myfaces.trinidadinternal.style.CSSStyle;
-import org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants;
+import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants;
 import org.apache.myfaces.trinidadinternal.util.IntegerUtils;
 
 
@@ -32,7 +32,7 @@
  * @author The Oracle ADF Faces Team
  */
 public class XhtmlSkin extends BaseSkin
-                       implements XhtmlLafConstants
+                       implements XhtmlConstants
 {
   public XhtmlSkin()
   {
@@ -199,7 +199,7 @@
 
     // inputNumberSpinbox increment/decrement icons
 
-    XhtmlLafConstants.AF_INPUT_NUMBER_SPINBOX_INCREMENT_ICON_NAME,
+    AF_INPUT_NUMBER_SPINBOX_INCREMENT_ICON_NAME,
       new ContextImageIcon("adf/images/spbxup.png",
                            null,
                            IntegerUtils.getInteger(5),
@@ -207,7 +207,7 @@
                            null,
                            spinboxTopStyle),
 
-     XhtmlLafConstants.AF_INPUT_NUMBER_SPINBOX_DECREMENT_ICON_NAME,
+     AF_INPUT_NUMBER_SPINBOX_DECREMENT_ICON_NAME,
      new ContextImageIcon("adf/images/spbxdn.png",
                           null,
                           IntegerUtils.getInteger(5),
@@ -215,7 +215,7 @@
                           null,
                           spinboxBottomStyle),
 
-     XhtmlLafConstants.AF_INPUT_NUMBER_SPINBOX_INCREMENT_DISABLED_ICON_NAME,
+     AF_INPUT_NUMBER_SPINBOX_INCREMENT_DISABLED_ICON_NAME,
      new ContextImageIcon("adf/images/spbxupd.png",
                           null,
                           IntegerUtils.getInteger(5),
@@ -223,7 +223,7 @@
                           null,
                           spinboxTopStyle),
 
-     XhtmlLafConstants.AF_INPUT_NUMBER_SPINBOX_DECREMENT_DISABLED_ICON_NAME,
+     AF_INPUT_NUMBER_SPINBOX_DECREMENT_DISABLED_ICON_NAME,
      new ContextImageIcon("adf/images/spbxdnd.png",
                           null,
                           IntegerUtils.getInteger(5),
@@ -231,48 +231,48 @@
                           null,
                           spinboxBottomStyle),
      // checkbox icons
-    XhtmlLafConstants.AF_SELECT_BOOLEAN_CHECKBOX_DISABLED_CHECKED_ICON_NAME,
+    AF_SELECT_BOOLEAN_CHECKBOX_DISABLED_CHECKED_ICON_NAME,
     new ContextImageIcon("adf/images/checkdc.gif",
                         null,
                         IntegerUtils.getInteger(12),
                         IntegerUtils.getInteger(12)),
-    XhtmlLafConstants.AF_SELECT_BOOLEAN_CHECKBOX_DISABLED_UNCHECKED_ICON_NAME,
+    AF_SELECT_BOOLEAN_CHECKBOX_DISABLED_UNCHECKED_ICON_NAME,
     new ContextImageIcon("adf/images/checkdn.gif",
                         null,
                         IntegerUtils.getInteger(12),
                         IntegerUtils.getInteger(12)),
 
-    XhtmlLafConstants.AF_SELECT_BOOLEAN_CHECKBOX_READONLY_CHECKED_ICON_NAME,
+    AF_SELECT_BOOLEAN_CHECKBOX_READONLY_CHECKED_ICON_NAME,
     new ContextImageIcon( "adf/images/checkrc.gif",
                         null,
                         IntegerUtils.getInteger(12),
                         IntegerUtils.getInteger(12)),
 
-    XhtmlLafConstants.AF_SELECT_BOOLEAN_CHECKBOX_READONLY_UNCHECKED_ICON_NAME,
+    AF_SELECT_BOOLEAN_CHECKBOX_READONLY_UNCHECKED_ICON_NAME,
     new ContextImageIcon("adf/images/checkrn.gif",
                         null,
                         IntegerUtils.getInteger(12),
                         IntegerUtils.getInteger(12)),
 
      // radio icons
-    XhtmlLafConstants.AF_SELECT_BOOLEAN_RADIO_DISABLED_SELECTED_ICON_NAME,
+    AF_SELECT_BOOLEAN_RADIO_DISABLED_SELECTED_ICON_NAME,
     new ContextImageIcon("adf/images/radiods.gif",
                         null,
                         IntegerUtils.getInteger(11),
                         IntegerUtils.getInteger(11)),
-    XhtmlLafConstants.AF_SELECT_BOOLEAN_RADIO_DISABLED_UNSELECTED_ICON_NAME,
+    AF_SELECT_BOOLEAN_RADIO_DISABLED_UNSELECTED_ICON_NAME,
     new ContextImageIcon("adf/images/radiodn.gif",
                         null,
                         IntegerUtils.getInteger(11),
                         IntegerUtils.getInteger(11)),
 
-    XhtmlLafConstants.AF_SELECT_BOOLEAN_RADIO_READONLY_SELECTED_ICON_NAME,
+    AF_SELECT_BOOLEAN_RADIO_READONLY_SELECTED_ICON_NAME,
     new ContextImageIcon( "adf/images/radiors.gif",
                         null,
                         IntegerUtils.getInteger(10),
                         IntegerUtils.getInteger(10)),
 
-    XhtmlLafConstants.AF_SELECT_BOOLEAN_RADIO_READONLY_UNSELECTED_ICON_NAME,
+    AF_SELECT_BOOLEAN_RADIO_READONLY_UNSELECTED_ICON_NAME,
     new ContextImageIcon("adf/images/radiorn.gif",
                         null,
                         IntegerUtils.getInteger(10),

Added: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinProperties.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinProperties.java?rev=431841&view=auto
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinProperties.java (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinProperties.java Tue Aug 15 23:18:17 2006
@@ -0,0 +1,48 @@
+/*
+ * SkinProperties.java
+ *
+ * Created 15-Aug-06 10:21:28 AM
+ * 
+ * Copyright  2004-2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.myfaces.trinidadinternal.renderkit.core.xhtml;
+
+/**
+ * This class contains all valid predefined skin properties used by Trinidad.
+ * The properties are sorted alphabetically.
+ * 
+ * @author Simon Lessard, Fujitsu Consulting
+ */
+public interface SkinProperties
+{
+  //
+  // Copied from XhtmlLafConstants
+  //
+  // FIXME: Name inconsistency, should be AF_NAVIGATION_PATH
+  public static final String AF_NAVIGATIONPATH_SHOW_LAST_ITEM_PROPERTY_KEY =
+    "af|breadCrumbs-ora-show-last-item";
+  // FIXME: Name inconsistency, should be AF_PANEL_HEADER
+  public static final String AF_PANELHEADER_INDENT_CONTENT = 
+    "af|panelHeader-ora-indent-content";
+  public static final String AF_PANEL_LIST_DEFAULT_COLUMNS =
+    "af|panelList-ora-default-columns";    
+  public static final String AF_TABLE_REPEAT_CONTROL_BAR =
+    "af|table-ora-repeat-control-bar";
+  public static final String AF_TABLE_SELECTION_BAR_IN_TABLE =
+    "af|table-ora-selection-bar-in-table";
+  public static final String AF_TREE_TABLE_SPACER_WIDTH =
+    "af|treeTable-ora-spacer-width";
+}

Added: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinSelectors.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinSelectors.java?rev=431841&view=auto
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinSelectors.java (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinSelectors.java Tue Aug 15 23:18:17 2006
@@ -0,0 +1,1005 @@
+/*
+ * SkinSelectors.java
+ *
+ * Created 15-Aug-06 10:04:00 AM
+ * 
+ * Copyright  2004-2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.myfaces.trinidadinternal.renderkit.core.xhtml;
+
+/**
+ * This class contains all skin selectors used by the various Trinidad 
+ * components.
+ * 
+ * @author Simon Lessard, Fujitsu Consulting
+ */
+public interface SkinSelectors
+{
+  /* The selectors are sorted by component, alphabetically. 
+   * 
+   * The selectors not linked to any specific components like aliases are 
+   * presented before any component specific selectors.
+   * 
+   * The selector regarding the style classes are presented first, the 
+   * selectors concerning the icons are presented after.
+   */
+  //                                                                         //
+  //                                                                         //
+  // =============================== Aliases =============================== //
+  //                                                                         //
+  //                                                                         //
+  // ========================== AF Style classes =========================== //
+  public static final String AF_COMPONENT_MESSAGE_CELL_STYLE_CLASS =
+    "AFComponentMessageCell";
+  public static final String AF_CONTENT_CELL_STYLE_CLASS =
+    "AFContentCell";
+  public static final String AF_FIELD_TEXT_DISABLED_STYLE_CLASS =
+    "AFFieldTextDisabled";
+  public static final String AF_FIELD_TEXT_STYLE_CLASS =
+    "AFFieldText";
+  public static final String AF_LABEL_TEXT_STYLE_CLASS =
+    "AFLabelText";
+  public static final String ERROR_ICON_STYLE_CLASS = 
+    "AFErrorIconStyle";
+  public static final String INFO_ICON_STYLE_CLASS = 
+    "AFInfoIconStyle";
+  public static final String WARNING_ICON_STYLE_CLASS = 
+    "AFWarningIconStyle";
+  public static final String QUICK_SELECT_DISABLED_ICON_STYLE_CLASS = 
+    "AFQuickSelectDisabledIconStyle";
+  public static final String QUICK_SELECT_ICON_STYLE_CLASS = 
+    "AFQuickSelectIconStyle";
+  public static final String REQUIRED_ICON_STYLE_CLASS = 
+    "AFRequiredIconStyle";
+  public static final String SORTABLE_HEADER_SORT_ICON_STYLE_CLASS =
+    "AFSortableHeaderSortIcon";
+  
+  // ========================== Ora style classes ========================== //
+  // These styles are for large record sets, which we do not have in Trinidad
+  // yet. When we do, should these be customizable styles? If so, the names
+  // will have to change to be like af|treeTable::nav-row-ilink
+  public static final String HGRID_LOCATOR_HEADER_STYLE =
+    "OraHGridLocatorHeader";
+  public static final String HGRID_NAV_ROW_ALINK_STYLE_CLASS =
+    "OraHGridNavRowActiveLink";
+  public static final String HGRID_NAV_ROW_ILINK_STYLE_CLASS =
+    "OraHGridNavRowInactiveLink";
+  // used to show the tips on select* fields
+  public static final String INLINE_ERROR_TEXT_STYLE_CLASS =
+    "OraInlineErrorText";
+  public static final String INLINE_INFO_TEXT_STYLE_CLASS =
+    "OraInlineInfoText";
+  public static final String LINK_DISABLED_STYLE_CLASS =
+    "OraLinkDisabled";
+  public static final String LINK_STYLE_CLASS =
+    "OraLink";
+  public static final String NAV_BAR_ALINK_STYLE_CLASS =
+    "OraNavBarActiveLink";
+  public static final String NAV_BAR_ILINK_STYLE_CLASS =
+    "OraNavBarInactiveLink";
+  public static final String NAV_BAR_VIEW_STYLE_CLASS =
+    "OraNavBarViewOnly";
+  public static final String PAGE_STAMP_TEXT_STYLE_CLASS =
+    "OraPageStampText";
+  public static final String SORTABLE_HEADER_BORDER_STYLE_CLASS =
+    "OraSortableHeaderBorder";
+  public static final String TABLE_BAND_SELECT_CELL_STYLE =
+    "OraTableCellSelectBand";
+  public static final String TABLE_BORDER_0001_STYLE = 
+    "OraTableBorder0001";
+  public static final String TABLE_BORDER_0010_STYLE = 
+    "OraTableBorder0010";
+  public static final String TABLE_BORDER_0011_STYLE = 
+    "OraTableBorder0011";
+  public static final String TABLE_BORDER_0100_STYLE = 
+    "OraTableBorder0100";
+  public static final String TABLE_BORDER_0101_STYLE = 
+    "OraTableBorder0101";
+  public static final String TABLE_BORDER_0110_STYLE = 
+    "OraTableBorder0110";
+  public static final String TABLE_BORDER_0111_STYLE = 
+    "OraTableBorder0111";
+  public static final String TABLE_BORDER_1000_STYLE = 
+    "OraTableBorder1000";
+  public static final String TABLE_BORDER_1001_STYLE = 
+    "OraTableBorder1001";
+  public static final String TABLE_BORDER_1010_STYLE = 
+    "OraTableBorder1010";
+  public static final String TABLE_BORDER_1011_STYLE = 
+    "OraTableBorder1011";
+  public static final String TABLE_BORDER_1100_STYLE = 
+    "OraTableBorder1100";
+  public static final String TABLE_BORDER_1101_STYLE = 
+    "OraTableBorder1101";
+  public static final String TABLE_BORDER_1110_STYLE = 
+    "OraTableBorder1110";
+  public static final String TABLE_BORDER_1111_STYLE = 
+    "OraTableBorder1111";
+  public static final String TABLE_SELECT_CELL_STYLE =
+    "OraTableCellSelect";
+
+  // ========================= Other ctyle classes ========================= //
+  public static final String COLOR_FIELD_SWATCH_STYLE_CLASS =
+    "p_OraColorFieldSwatch";
+  public static final String HEADER_NEST_STYLE_CLASS = 
+    "p_OraHeaderNest";
+  public static final String HIDDEN_LABEL_STYLE_CLASS =
+    "p_OraHiddenLabel";
+  public static final String HIDE_SHOW_DISCLOSED_SYMBOL_STYLE_CLASS =
+    "p_OraHideShowDisclosedSymbol";
+  public static final String IN_CONTEXT_TEXT_STYLE_CLASS =
+    "p_InContextBrandingText";
+  public static final String P_AF_DISABLED = 
+    "p_AFDisabled";
+  public static final String QUICK_SEARCH_BOX_STYLE_CLASS =
+    "p_OraQuickSearchBox";
+
+  // ================================ Icons ================================ //
+  public static final String DETAIL_DISCLOSED_ICON_ALIAS_NAME =
+    "AFDetailDisclosedIcon";
+  public static final String DETAIL_UNDISCLOSED_ICON_ALIAS_NAME =
+    "AFDetailUndisclosedIcon";
+  public static final String ERROR_ANCHOR_ICON_ALIAS_NAME =
+    "AFErrorAnchorIcon";
+  public static final String ERROR_ICON_ALIAS_NAME =
+    "AFErrorIcon";
+  public static final String HEADER_ERROR_ICON_ALIAS_NAME =
+    "AFHeaderErrorIcon";
+  public static final String HEADER_CONFIRMATION_ICON_ALIAS_NAME =
+    "AFHeaderConfirmationIcon";
+  public static final String HEADER_INFO_ICON_ALIAS_NAME =
+    "AFHeaderInfoIcon";
+  public static final String HEADER_WARNING_ICON_ALIAS_NAME =
+    "AFHeaderWarningIcon";
+  public static final String INFO_ANCHOR_ICON_ALIAS_NAME =
+    "AFInfoAnchorIcon";
+  public static final String INFO_ICON_ALIAS_NAME =
+    "AFInfoIcon";
+  public static final String INSTRUCTION_TEXT_STYLE_CLASS =
+    "AFInstructionText";
+  public static final String PATH_SEPARATOR_ICON_ALIAS_NAME =
+    "AFPathSeparatorIcon";
+  public static final String QUICK_SELECT_DISABLED_ICON_NAME =
+    "AFQuickSelectDisabledIcon";
+  public static final String QUICK_SELECT_ICON_NAME =
+    "AFQuickSelectIcon";
+  public static final String REQUIRED_ICON_ALIAS_NAME =
+    "AFRequiredIcon";
+  public static final String SHUTTLE_MOVE_ALL_ICON_ALIAS_NAME =
+    "AFShuttleMoveAllIcon";
+  public static final String SHUTTLE_MOVE_ICON_ALIAS_NAME =
+    "AFShuttleMoveIcon";
+  public static final String SHUTTLE_REMOVE_ALL_ICON_ALIAS_NAME =
+    "AFShuttleRemoveAllIcon";
+  public static final String SHUTTLE_REMOVE_ICON_ALIAS_NAME =
+    "AFShuttleRemoveIcon";
+  public static final String WARNING_ANCHOR_ICON_ALIAS_NAME  =
+    "AFWarningAnchorIcon";
+  public static final String WARNING_ICON_ALIAS_NAME =
+    "AFWarningIcon";
+
+  
+  //                                                                         //
+  //                                                                         //
+  // =========================== tr:breadCrumbs ============================ //
+  //                                                                         //
+  //                                                                         //
+  
+  // ============================ Style classes ============================ //
+  public static final String AF_NAVIGATION_PATH_SELECTED_STEP_STYLE_CLASS =
+    "af|breadCrumbs::selected-step";
+  public static final String AF_NAVIGATION_PATH_STEP_STYLE_CLASS =
+    "af|breadCrumbs::step";
+  public static final String AF_NAVIGATION_PATH_STYLE_CLASS =
+    "af|breadCrumbs";
+  
+  // ================================ Icons ================================ //
+  public static final String AF_NAVIGATION_PATH_SEPARATOR_ICON_NAME =
+    "af|breadCrumbs::separator-icon";
+
+  
+  //                                                                         //
+  //                                                                         //
+  // ============================ tr:chooseDate ============================ //
+  //                                                                         //
+  //                                                                         //
+  
+  // ============================ Style classes ============================ //
+  public static final String AF_CHOOSE_DATE_CONTENT_STYLE_CLASS =
+    "af|chooseDate::content";
+  public static final String AF_CHOOSE_DATE_DISABLED_STYLE_CLASS =
+    "af|chooseDate::disabled";
+  public static final String AF_CHOOSE_DATE_ENABLED_STYLE_CLASS =
+    "af|chooseDate::enabled";
+  public static final String AF_CHOOSE_DATE_HEADER_STYLE_CLASS =
+    "af|chooseDate::header";
+  public static final String AF_CHOOSE_DATE_NAV_STYLE_CLASS =
+    "af|chooseDate::nav";
+  public static final String AF_CHOOSE_DATE_SELECTED_STYLE_CLASS =
+    "af|chooseDate::selected";
+  public static final String AF_CHOOSE_DATE_TITLE_STYLE_CLASS =
+    "af|chooseDate::title";
+  
+  // ================================ Icons ================================ //
+  public static final String AF_CHOOSE_DATE_NEXT_ICON_NAME =
+   "af|chooseDate::next-icon";
+  public static final String AF_CHOOSE_DATE_NEXT_DISABLED_ICON_NAME =
+    "af|chooseDate::next-disabled-icon";
+  public static final String AF_CHOOSE_DATE_PREV_ICON_NAME =
+    "af|chooseDate::prev-icon";
+  public static final String AF_CHOOSE_DATE_PREV_DISABLED_ICON_NAME =
+    "af|chooseDate::prev-disabled-icon";
+  
+  
+  //                                                                         //
+  //                                                                         //
+  // ============================== tr:column ============================== //
+  //                                                                         //
+  //                                                                         //
+  
+  // ============================ Style classes ============================ //
+  public static final String AF_COLUMN_CELL_ICON_BAND_STYLE =
+    "af|column::cell-icon-format-band";
+  public static final String AF_COLUMN_CELL_ICON_FORMAT_STYLE =
+    "af|column::cell-icon-format";
+  public static final String AF_COLUMN_CELL_NUMBER_BAND_STYLE =
+    "af|column::cell-number-band";
+  public static final String AF_COLUMN_CELL_NUMBER_STYLE =
+    "af|column::cell-number";
+  public static final String AF_COLUMN_CELL_TEXT_BAND_STYLE =
+    "af|column::cell-text-band";
+  public static final String AF_COLUMN_CELL_TEXT_STYLE =
+    "af|column::cell-text";
+  public static final String AF_COLUMN_HEADER_ICON_STYLE =
+    "af|column::header-icon-format";
+  public static final String AF_COLUMN_HEADER_NUMBER_STYLE =
+    "af|column::header-number";
+  public static final String AF_COLUMN_HEADER_TEXT_STYLE =
+    "af|column::header-text";
+  public static final String AF_COLUMN_ROW_HEADER_TEXT_STYLE =
+    "af|column::row-header-text";
+  public static final String AF_COLUMN_SORTABLE_HEADER_ICON_STYLE_CLASS =
+    "af|column::sortable-header-icon-format";
+  public static final String AF_COLUMN_SORTABLE_HEADER_NUMBER_STYLE_CLASS =
+    "af|column::sortable-header-number";
+  public static final String AF_COLUMN_SORTABLE_HEADER_STYLE_CLASS =
+    "af|column::sortable-header-text";
+  public static final String AF_COLUMN_TOTAL_NUMBER_STYLE =
+    "af|column::total-number";
+  public static final String AF_COLUMN_TOTAL_TEXT_STYLE =
+    "af|column::total-text";
+  
+  // ================================ Icons ================================ //
+  public static final String AF_COLUMN_SORTED_ASCEND_ICON_NAME =
+    "af|column::sort-ascend-icon";
+   public static final String AF_COLUMN_SORTED_DESCEND_ICON_NAME =
+    "af|column::sort-descend-icon";
+   public static final String AF_COLUMN_UNSORTED_ICON_NAME =
+    "af|column::unsorted-icon";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ============================ tr:inputColor ============================ //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_SELECT_INPUT_COLOR_SWATCH_OVERLAY_ICON_STYLE_CLASS =
+     "af|inputColor::swatch-overlay";
+   
+   // ================================ Icons ================================ //
+   // Doesn't render in pda. Not supported in pda, that's why.
+   // Defined in BaseDesktopSkin and OracleDesktopSkinExtension
+   // not sure under what circumstances the code runs that renders this.
+   public static final String AF_SELECT_INPUT_COLOR_LAUNCH_ICON_NAME =
+     "af|inputColor::launch-icon";
+   // Doesn't render in pda. Not supported in pda, that's why.
+   // Defined in BaseDesktopSkin and OracleDesktopSkinExtension
+   public static final String AF_SELECT_INPUT_COLOR_SWATCH_OVERLAY_ICON_NAME =
+     "af|inputColor::swatch-overlay-icon";
+   
+   
+   //                                                                         //
+   //                                                                         //
+   // ============================ tr:inputDate ============================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_SELECT_INPUT_DATE_CONTENT_STYLE_CLASS =
+     "af|inputDate::content";
+   public static final String AF_SELECT_INPUT_DATE_DISABLED_STYLE_CLASS =
+     "af|inputDate::disabled";
+   public static final String AF_SELECT_INPUT_DATE_ENABLED_STYLE_CLASS =
+     "af|inputDate::enabled";
+   public static final String AF_SELECT_INPUT_DATE_HEADER_STYLE_CLASS =
+     "af|inputDate::header";
+   public static final String AF_SELECT_INPUT_DATE_NAV_STYLE_CLASS =
+     "af|inputDate::nav";
+   public static final String AF_SELECT_INPUT_DATE_SELECTED_STYLE_CLASS =
+     "af|inputDate::selected";
+   public static final String AF_SELECT_INPUT_DATE_TITLE_STYLE_CLASS =
+     "af|inputDate::title";
+   
+   // ================================ Icons ================================ //
+   // this renders a button that launches the modal date picker.
+   public static final String AF_SELECT_INPUT_DATE_LAUNCH_ICON_NAME =
+     "af|inputDate::launch-icon";
+   public static final String AF_SELECT_INPUT_DATE_PREV_DISABLED_ICON_NAME =
+     "af|inputDate::prev-disabled-icon";
+   public static final String AF_SELECT_INPUT_DATE_PREV_ICON_NAME =
+     "af|inputDate::prev-icon";
+   public static final String AF_SELECT_INPUT_DATE_NEXT_DISABLED_ICON_NAME =
+     "af|inputDate::next-disabled-icon";
+   public static final String AF_SELECT_INPUT_DATE_NEXT_ICON_NAME =
+     "af|inputDate::next-icon";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ======================== tr:inputListOfValues ========================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   
+   // ================================ Icons ================================ //
+   // used by base.desktop and base.pda LovButtonRenderer
+   // I don't see a button renderer for pda. It uses LovFieldRenderer,
+   // and there is no LovFieldRenderer for pda (a comment says it is in dev)
+   // , so it picks up base.xhtml's
+   // and that renders null for the icon.
+   public static final String AF_SELECT_INPUT_TEXT_BUTTON_ICON_NAME =
+     "af|inputListOfValues::button-icon";
+   
+   
+   //                                                                         //
+   //                                                                         //
+   // ============================ tr:component ============================ //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_INPUT_NUMBER_SPINBOX_INCREMENT_CELL =
+     "af|inputNumberSpinbox::increment-cell";
+   public static final String AF_INPUT_NUMBER_SPINBOX_DECREMENT_CELL =
+     "af|inputNumberSpinbox::decrement-cell";
+   
+   // ================================ Icons ================================ //
+   public static final String AF_INPUT_NUMBER_SPINBOX_INCREMENT_ICON_NAME =
+     "af|inputNumberSpinbox::increment-icon";
+   public static final String AF_INPUT_NUMBER_SPINBOX_DECREMENT_ICON_NAME =
+     "af|inputNumberSpinbox::decrement-icon";
+   public static final String AF_INPUT_NUMBER_SPINBOX_INCREMENT_DISABLED_ICON_NAME =
+     "af|inputNumberSpinbox::increment-disabled-icon";
+   public static final String AF_INPUT_NUMBER_SPINBOX_DECREMENT_DISABLED_ICON_NAME =
+     "af|inputNumberSpinbox::decrement-disabled-icon";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ============================= tr:menuBar ============================== //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   
+   // ================================ Icons ================================ //
+   // This is the only thing customizable in base.desktop.GlobalHeaderRenderer
+   // more things are customizable in simple.desktop.
+   // =-=jmw some day we can combine the renderers, when we combine the
+   // BaseDesktop/SimpleDesktop skins.
+   // menuBar is not customizable for pda or for oracle.desktop.
+   // From the renderered output it looks like oracle.desktop can be
+   // simulated by customizing simple.desktops renderer.
+   public static final String AF_MENU_BAR_SEPARATOR_ICON_NAME =
+     "af|menuBar::separator-icon";
+
+   //                                                                         //
+   //                                                                         //
+   // ============================= tr:messages ============================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   
+   // ================================ Icons ================================ //
+   public static final String AF_MESSAGES_ERROR_ICON_NAME =
+     "af|messages::error-icon";
+   public static final String AF_MESSAGES_WARNING_ICON_NAME =
+     "af|messages::warning-icon";
+   public static final String AF_MESSAGES_INFO_ICON_NAME =
+     "af|messages::info-icon";
+   public static final String AF_MESSAGES_CONFIRMATION_ICON_NAME =
+     "af|messages::confirmation-icon";
+
+    
+   //                                                                         //
+   //                                                                         //
+   // ========================== tr:navigationPane ========================== //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_NAVIGATION_LEVEL_BAR_ACTIVE_DISABLED_STYLE_CLASS =
+     "af|navigationPane::bar::bar-active-disabled";
+   public static final String AF_NAVIGATION_LEVEL_BAR_ACTIVE_ENABLED_STYLE_CLASS =
+     "af|navigationPane::bar::bar-active-enabled";
+   public static final String AF_NAVIGATION_LEVEL_BAR_CONTENT_STYLE_CLASS =
+     "af|navigationPane::bar::bar-content";
+   public static final String AF_NAVIGATION_LEVEL_BAR_INACTIVE_DISABLED_STYLE_CLASS =
+     "af|navigationPane::bar::bar-inactive-disabled";
+   public static final String AF_NAVIGATION_LEVEL_BAR_INACTIVE_ENABLED_STYLE_CLASS =
+     "af|navigationPane::bar::bar-inactive-enabled";
+   public static final String AF_NAVIGATION_LEVEL_BAR_SEPARATOR_STYLE_CLASS =
+     "af|navigationPane::bar::bar-separator";
+   public static final String AF_NAVIGATION_LEVEL_BAR_STYLE_CLASS =
+     "af|navigationPane::bar";
+   public static final String AF_NAVIGATION_LEVEL_BUTTONS_ACTIVE_DISABLED_STYLE_CLASS =
+     "af|navigationPane::buttons-active-disabled";
+   public static final String AF_NAVIGATION_LEVEL_BUTTONS_ACTIVE_ENABLED_STYLE_CLASS =
+     "af|navigationPane::buttons-active-enabled";
+   public static final String AF_NAVIGATION_LEVEL_BUTTONS_CONTENT_STYLE_CLASS =
+     "af|navigationPane::buttons-content";
+   public static final String AF_NAVIGATION_LEVEL_BUTTONS_INACTIVE_DISABLED_STYLE_CLASS =
+     "af|navigationPane::buttons-inactive-disabled";
+   public static final String AF_NAVIGATION_LEVEL_BUTTONS_INACTIVE_ENABLED_STYLE_CLASS =
+     "af|navigationPane::buttons-inactive-enabled";
+   public static final String AF_NAVIGATION_LEVEL_BUTTONS_SEPARATOR_STYLE_CLASS =
+     "af|navigationPane::buttons-separator";
+   public static final String AF_NAVIGATION_LEVEL_CHOICE_BUTTON_STYLE_CLASS =
+     "af|navigationPane::choice-button";
+   public static final String AF_NAVIGATION_LEVEL_CHOICE_LABEL_STYLE_CLASS =
+     "af|navigationPane::choice-label";
+   public static final String AF_NAVIGATION_LEVEL_CHOICE_OPTIONS_STYLE_CLASS =
+     "af|navigationPane::choice-options";
+   public static final String AF_NAVIGATION_LEVEL_LIST_ACTIVE_DISABLED_STYLE_CLASS =
+     "af|navigationPane::list-active-disabled";
+   public static final String AF_NAVIGATION_LEVEL_LIST_ACTIVE_ENABLED_STYLE_CLASS =
+     "af|navigationPane::list-active-enabled";
+   public static final String AF_NAVIGATION_LEVEL_LIST_BULLET_STYLE_CLASS =
+     "af|navigationPane::list-bullet";
+   public static final String AF_NAVIGATION_LEVEL_LIST_CONTENT_STYLE_CLASS =
+     "af|navigationPane::list-content";
+   public static final String AF_NAVIGATION_LEVEL_LIST_INACTIVE_DISABLED_STYLE_CLASS =
+     "af|navigationPane::list-inactive-disabled";
+   public static final String AF_NAVIGATION_LEVEL_LIST_INACTIVE_ENABLED_STYLE_CLASS =
+     "af|navigationPane::list-inactive-enabled";
+   public static final String AF_NAVIGATION_LEVEL_STYLE_CLASS =
+     "af|navigationPane";
+   
+   
+   //                                                                         //
+   //                                                                         //
+   // ======================== tr:navigationPaneTabs ======================== //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   // -= Simon =-
+   // FIXME: Is af|navigationPaneTabs ok? Shouldn't it be af|navigationPane::tabs?
+   public static final String AF_NAVIGATION_LEVEL_TABS_ACTIVE_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-active";
+   public static final String AF_NAVIGATION_LEVEL_TABS_BOTTOM_END_CONTENT_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-bottom-end-content";
+   public static final String AF_NAVIGATION_LEVEL_TABS_BOTTOM_END_JOIN_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-bottom-end-join";
+   public static final String AF_NAVIGATION_LEVEL_TABS_BOTTOM_END_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-bottom-end";
+   public static final String AF_NAVIGATION_LEVEL_TABS_BOTTOM_MID_CONTENT_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-bottom-mid-content";
+   public static final String AF_NAVIGATION_LEVEL_TABS_BOTTOM_MID_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-bottom-mid";
+   public static final String AF_NAVIGATION_LEVEL_TABS_BOTTOM_START_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-bottom-start";
+   public static final String AF_NAVIGATION_LEVEL_TABS_BOTTOM_START_CONTENT_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-bottom-start-content";
+   public static final String AF_NAVIGATION_LEVEL_TABS_END_JOIN_TO_INACTIVE_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-end-join-to-inactive";
+   public static final String AF_NAVIGATION_LEVEL_TABS_END_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-end";
+   public static final String AF_NAVIGATION_LEVEL_TABS_INACTIVE_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-inactive";
+   public static final String AF_NAVIGATION_LEVEL_TABS_MID_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-mid";
+   public static final String AF_NAVIGATION_LEVEL_TABS_START_JOIN_FROM_ACTIVE_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-start-join-from-active";
+   public static final String AF_NAVIGATION_LEVEL_TABS_START_JOIN_FROM_INACTIVE_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-start-join-from-inactive";
+   public static final String AF_NAVIGATION_LEVEL_TABS_START_JOIN_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-start-join";
+   public static final String AF_NAVIGATION_LEVEL_TABS_START_STYLE_CLASS =
+     "af|navigationPaneTabs::tabs-start";
+   public static final String AF_NAVIGATION_LEVEL_TABS_STYLE_CLASS =
+     "af|navigationPaneTabs";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ========================== tr:navigationTree ========================== //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   
+   // ================================ Icons ================================ //
+   public static final String AF_NAVIGATION_TREE_DISCLOSED_ICON_NAME =
+     "af|navigationTree::disclosed-icon";
+   public static final String AF_NAVIGATION_TREE_UNDISCLOSED_ICON_NAME =
+     "af|navigationTree::undisclosed-icon";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ========================== tr:outputDocument ========================== //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_OUTPUT_DOCUMENT_STYLE_CLASS = 
+     "af|outputDocument";
+   public static final String AF_OUTPUT_DOCUMENT_PARAGRAPH_STYLE_CLASS = 
+     "af|outputDocument::paragraph";
+   public static final String AF_OUTPUT_DOCUMENT_SEPARATOR_STYLE_CLASS = 
+     "af|outputDocument::separator";
+   public static final String AF_OUTPUT_DOCUMENT_TITLE_STYLE_CLASS = 
+     "af|outputDocument::title";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ========================== tr:panelAccordion ========================== //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   // FIXME: Name inconsistency, should be _PANEL_ACCORDION
+   public static final String AF_PANELACCORDION_CONTAINER_STYLE_CLASS =
+     "af|panelAccordion::container";
+   public static final String AF_PANELACCORDION_CONTENT_STYLE_CLASS =
+     "af|panelAccordion::content";
+   public static final String AF_PANELACCORDION_HEADER_COLLAPSED_STYLE_CLASS =
+     "af|panelAccordion::header-collapsed";
+   public static final String AF_PANELACCORDION_HEADER_DISABLED_STYLE_CLASS =
+     "af|panelAccordion::header-disabled";
+   public static final String AF_PANELACCORDION_HEADER_EXPANDED_STYLE_CLASS =
+     "af|panelAccordion::header-expanded";
+   public static final String AF_PANELACCORDION_TITLE_LINK_DISABLED_STYLE_CLASS =
+     "af|panelAccordion::title-disabled-link";
+   public static final String AF_PANELACCORDION_TITLE_LINK_STYLE_CLASS =
+     "af|panelAccordion::title-link";
+
+
+   //                                                                         //
+   //                                                                         //
+   // ============================= tr:panelBox ============================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_PANEL_BOX_BODY_STYLE_CLASS =
+     "af|panelBox::body";
+   public static final String AF_PANEL_BOX_CONTENT_DARK_STYLE_CLASS =
+     "af|panelBox::content-dark";
+   public static final String AF_PANEL_BOX_CONTENT_LIGHT_STYLE_CLASS =
+     "af|panelBox::content-light";
+   public static final String AF_PANEL_BOX_CONTENT_MEDIUM_STYLE_CLASS =
+     "af|panelBox::content-medium";
+   public static final String AF_PANEL_BOX_CONTENT_TRANSPARENT_STYLE_CLASS =
+     "af|panelBox::content-transparent";
+   public static final String AF_PANEL_BOX_DARK_STYLE_CLASS =
+     "af|panelBox::dark";
+   public static final String AF_PANEL_BOX_HEADER_STYLE_CLASS =
+     "af|panelBox::header";
+   public static final String AF_PANEL_BOX_LIGHT_STYLE_CLASS =
+     "af|panelBox::light";
+   public static final String AF_PANEL_BOX_MEDIUM_STYLE_CLASS =
+     "af|panelBox::medium";
+   public static final String AF_PANEL_BOX_TRANSPARENT_STYLE_CLASS =
+     "af|panelBox::transparent";
+
+
+   //                                                                         //
+   //                                                                         //
+   // ========================= tr:panelFormLayout ========================== //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_PANEL_FORM_COLUMN_STYLE_CLASS =
+     "af|panelFormLayout::column";
+   public static final String AF_PANEL_FORM_CONTENT_CELL_STYLE_CLASS =
+     "af|panelFormLayout::content-cell";
+   public static final String AF_PANEL_FORM_LABEL_CELL_STYLE_CLASS =
+     "af|panelFormLayout::label-cell";
+   public static final String AF_PANEL_FORM_LABEL_STACKED_CELL_STYLE_CLASS =
+     "af|panelFormLayout::label-stacked-cell";
+   public static final String AF_PANEL_FORM_MESSAGE_CELL_STYLE_CLASS =
+     "af|panelFormLayout::message-cell";
+   public static final String AF_PANEL_FORM_SEPARATOR_STYLE_CLASS =
+     "af|panelFormLayout::separator";
+   public static final String AF_PANEL_FORM_STYLE_CLASS =
+     "af|panelFormLayout";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // =========================== tr:panelHeader ============================ //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   // if icon attribute is set, this is the style for it.
+   // I wouldn't normally have style in the name, but I don't want it to be
+   // confused with a icon.
+   public static final String AF_PANEL_HEADER_ERROR_STYLE_CLASS =
+     "af|panelHeader::error";
+   public static final String AF_PANEL_HEADER_ICON_STYLE_CLASS =
+     "af|panelHeader::icon-style";
+   public static final String AF_PANEL_HEADER_STYLE_CLASS =
+     "af|panelHeader";
+   
+   // ================================ Icons ================================ //
+   public static final String AF_PANEL_HEADER_CONFIRMATION_ICON_NAME =
+     "af|panelHeader::confirmation-icon";
+   public static final String AF_PANEL_HEADER_ERROR_ICON_NAME =
+     "af|panelHeader::error-icon";
+   public static final String AF_PANEL_HEADER_INFO_ICON_NAME =
+     "af|panelHeader::info-icon";
+   public static final String AF_PANEL_HEADER_WARNING_ICON_NAME =
+     "af|panelHeader::warning-icon";
+   public static final String AF_PANEL_HEADER_PROCESSING_ICON_NAME =
+     "af|panelHeader::processing-icon";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ============================ tr:panelList ============================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_PANEL_LIST_STYLE_CLASS =
+     "af|panelList";
+   
+   
+   //                                                                         //
+   //                                                                         //
+   // =========================== tr:panelTabbed ============================ //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   
+   // ================================ Icons ================================ //
+   public static final String AF_SELECT_ONE_TAB_SEPARATOR_ICON_NAME =
+     "af|panelTabbed::separator-icon";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ======================== tr:progressIndicator ========================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   
+   // ================================ Icons ================================ //
+   public static final String AF_PROGRESS_INDICATOR_INDETERMINATE_ICON_NAME =
+     "af|progressIndicator::indeterminate-icon";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ====================== tr:selectBooleanCheckbox ======================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   
+   // ================================ Icons ================================ //
+   public static final String AF_SELECT_BOOLEAN_CHECKBOX_DISABLED_CHECKED_ICON_NAME =
+     "af|selectBooleanCheckbox::disabled-checked-icon";
+   public static final String AF_SELECT_BOOLEAN_CHECKBOX_DISABLED_UNCHECKED_ICON_NAME =
+     "af|selectBooleanCheckbox::disabled-unchecked-icon";
+   public static final String AF_SELECT_BOOLEAN_CHECKBOX_READONLY_CHECKED_ICON_NAME =
+     "af|selectBooleanCheckbox::read-only-checked-icon";
+   public static final String AF_SELECT_BOOLEAN_CHECKBOX_READONLY_UNCHECKED_ICON_NAME =
+     "af|selectBooleanCheckbox::read-only-unchecked-icon";
+   // -= Simon =-
+   // FIXME: Check if those selectors are ok. Constant names suggest radio button
+   //        while selector suggest checkbox
+   public static final String AF_SELECT_BOOLEAN_RADIO_DISABLED_SELECTED_ICON_NAME =
+     "af|selectBooleanCheckbox::disabled-selected-icon";
+   public static final String AF_SELECT_BOOLEAN_RADIO_DISABLED_UNSELECTED_ICON_NAME =
+     "af|selectBooleanCheckbox::disabled-unselected-icon";
+   public static final String AF_SELECT_BOOLEAN_RADIO_READONLY_SELECTED_ICON_NAME =
+     "af|selectBooleanCheckbox::read-only-selected-icon";
+   public static final String AF_SELECT_BOOLEAN_RADIO_READONLY_UNSELECTED_ICON_NAME =
+     "af|selectBooleanCheckbox::read-only-unselected-icon";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ======================== tr:selectManyShuttle ========================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   
+   // ================================ Icons ================================ //
+   public static final String AF_SELECT_MANY_SHUTTLE_MOVE_ALL_ICON_NAME =
+     "af|selectManyShuttle::move-all-icon";
+   public static final String AF_SELECT_MANY_SHUTTLE_MOVE_ICON_NAME =
+     "af|selectManyShuttle::move-icon";
+   public static final String AF_SELECT_MANY_SHUTTLE_REMOVE_ALL_ICON_NAME =
+     "af|selectManyShuttle::remove-all-icon";
+   public static final String AF_SELECT_MANY_SHUTTLE_REMOVE_ICON_NAME =
+     "af|selectManyShuttle::remove-icon";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ======================== tr:selectOrderShuttle ======================== //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   
+   // ================================ Icons ================================ //
+   public static final String AF_SELECT_ORDER_SHUTTLE_MOVE_ALL_ICON_NAME =
+     "af|selectOrderShuttle::move-all-icon";
+   public static final String AF_SELECT_ORDER_SHUTTLE_MOVE_ICON_NAME =
+     "af|selectOrderShuttle::move-icon";
+   public static final String AF_SELECT_ORDER_SHUTTLE_REMOVE_ALL_ICON_NAME =
+     "af|selectOrderShuttle::remove-all-icon";
+   public static final String AF_SELECT_ORDER_SHUTTLE_REMOVE_ICON_NAME =
+     "af|selectOrderShuttle::remove-icon";
+   public static final String AF_SELECT_ORDER_SHUTTLE_REORDER_TOP_ICON_NAME =
+     "af|selectOrderShuttle::reorder-top-icon";
+   public static final String AF_SELECT_ORDER_SHUTTLE_REORDER_UP_ICON_NAME =
+     "af|selectOrderShuttle::reorder-up-icon";
+   public static final String AF_SELECT_ORDER_SHUTTLE_REORDER_DOWN_ICON_NAME =
+     "af|selectOrderShuttle::reorder-down-icon";
+   public static final String AF_SELECT_ORDER_SHUTTLE_REORDER_BOTTOM_ICON_NAME =
+     "af|selectOrderShuttle::reorder-bottom-icon";
+
+
+   //                                                                         //
+   //                                                                         //
+   // ======================= tr:selectRangeChoiceBar ======================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   
+   // ================================ Icons ================================ //
+   public static final String AF_SELECT_RANGE_CHOICE_BAR_PREV_ICON_NAME =
+     "af|selectRangeChoiceBar::prev-icon";
+   public static final String AF_SELECT_RANGE_CHOICE_BAR_NEXT_ICON_NAME =
+     "af|selectRangeChoiceBar::next-icon";
+   public static final String AF_SELECT_RANGE_CHOICE_BAR_PREV_DISABLED_ICON_NAME =
+     "af|selectRangeChoiceBar::prev-disabled-icon";
+   public static final String AF_SELECT_RANGE_CHOICE_BAR_NEXT_DISABLED_ICON_NAME =
+     "af|selectRangeChoiceBar::next-disabled-icon";
+
+    
+   //                                                                         //
+   //                                                                         //
+   // ============================ tr:showDetail ============================ //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   
+   // ================================ Icons ================================ //
+   public static final String AF_SHOW_DETAIL_DISCLOSED_ICON_NAME =
+     "af|showDetail::disclosed-icon";
+   public static final String AF_SHOW_DETAIL_UNDISCLOSED_ICON_NAME =
+     "af|showDetail::undisclosed-icon";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ========================= tr:showDetailHeader ========================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_SHOW_DETAIL_HEADER_STYLE_CLASS =
+     "af|showDetailHeader";
+
+   // ================================ Icons ================================ //
+   public static final String AF_SHOW_DETAIL_HEADER_SD_DISCLOSED_ICON_NAME =
+     "af|showDetailHeader::disclosed-icon";
+   public static final String AF_SHOW_DETAIL_HEADER_SD_UNDISCLOSED_ICON_NAME =
+     "af|showDetailHeader::undisclosed-icon";
+
+
+   //                                                                         //
+   //                                                                         //
+   // ======================== tr:showManyAccordion ========================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   // FIXME: Name inconsistency, should be SHOW_MANY_ACCORDION
+   //        Could also be renamed AF_PANEL_ACCORDION since I think those two
+   //        were merged and they'Re relatively new.
+   public static final String AF_SHOWMANYACCORDION_TITLE_LINK_DISABLED_STYLE_CLASS =
+     "af|showManyAccordion::title-disabled-link";
+   public static final String AF_SHOWMANYACCORDION_TITLE_LINK_STYLE_CLASS =
+     "af|showManyAccordion::title-link";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ========================= tr:showOneAccordion ========================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_SHOWONEACCORDION_TITLE_LINK_DISABLED_STYLE_CLASS =
+     "af|showOneAccordion::title-disabled-link";
+   public static final String AF_SHOWONEACCORDION_TITLE_LINK_STYLE_CLASS =
+     "af|showOneAccordion::title-link";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ============================== tr:table =============================== //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_TABLE_COLUMN_FOOTER_STYLE =
+     "af|table::column-footer";
+   public static final String AF_TABLE_CONTENT_STYLE =
+     "af|table::content";
+   public static final String AF_TABLE_CONTROL_BAR_BOTTOM_STYLE =
+     "af|table::control-bar-bottom";
+   public static final String AF_TABLE_CONTROL_BAR_TOP_STYLE =
+     "af|table::control-bar-top";
+   public static final String AF_TABLE_DETAIL_STYLE =
+     "af|table::detail";
+   public static final String AF_TABLE_SUB_CONTROL_BAR_STYLE =
+     "af|table::sub-control-bar";
+   
+   // ================================ Icons ================================ //
+   public static final String AF_TABLE_NB_NEXT_DISABLED_ICON_NAME =
+     "af|table::next-disabled-icon";
+   public static final String AF_TABLE_NB_NEXT_ICON_NAME =
+     "af|table::next-icon";
+   public static final String AF_TABLE_NB_PREV_DISABLED_ICON_NAME =
+     "af|table::prev-disabled-icon";
+   public static final String AF_TABLE_NB_PREV_ICON_NAME =
+     "af|table::prev-icon";
+   public static final String AF_TABLE_SD_DISCLOSED_ICON_NAME =
+     "af|table::disclosed-icon";
+   public static final String AF_TABLE_SD_UNDISCLOSED_ICON_NAME =
+     "af|table::undisclosed-icon";
+
+   //                                                                         //
+   //                                                                         //
+   // ========================= tr:tableSelectMany ========================== //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_TABLE_SELECT_MANY_CELL_ICON_BAND_STYLE =
+     "af|tableSelectMany::cell-icon-format-band";
+   public static final String AF_TABLE_SELECT_MANY_CELL_ICON_FORMAT_STYLE =
+     "af|tableSelectMany::cell-icon-format";
+
+
+   //                                                                         //
+   //                                                                         //
+   // ========================== tr:tableSelectOne ========================== //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_TABLE_SELECT_ONE_CELL_ICON_BAND_STYLE =
+     "af|tableSelectOne::cell-icon-format-band";
+   public static final String AF_TABLE_SELECT_ONE_CELL_ICON_FORMAT_STYLE =
+     "af|tableSelectOne::cell-icon-format";
+
+
+   //                                                                         //
+   //                                                                         //
+   // ============================== tr:train =============================== //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   public static final String AF_PROCESS_TRAIN_ACTIVE_STYLE_CLASS =
+     "af|train::step-active";
+   public static final String AF_PROCESS_TRAIN_DISABLED_STYLE_CLASS =
+     "af|train::step-disabled";
+   public static final String AF_PROCESS_TRAIN_LINK_STYLE_CLASS =
+     "af|train::link";    
+   public static final String AF_PROCESS_TRAIN_STYLE_CLASS =
+     "af|train";  
+   public static final String AF_PROCESS_TRAIN_SUB_START_STYLE_CLASS =
+     "af|train::sub-start";
+   public static final String AF_PROCESS_TRAIN_UNVISITED_STYLE_CLASS =
+     "af|train::step-unvisited";
+   public static final String AF_PROCESS_TRAIN_VISITED_STYLE_CLASS  =
+     "af|train::step-visited";
+   // -= Simon =-
+   // FIXME: That name is inconsistent
+   public static final String TRAIN_SUB_RIGHT_STYLE_CLASS =
+     "af|train::sub-end";
+
+   
+   //                                                                         //
+   //                                                                         //
+   // ============================ tr:treeTable ============================= //
+   //                                                                         //
+   //                                                                         //
+   
+   // ============================ Style classes ============================ //
+   // FIXME: Inconsistent names _STYLE vs. _STYLE_CLASS
+   public static final String AF_TREE_TABLE_CONTENT_STYLE =
+     "af|treeTable::content";
+   public static final String AF_TREE_TABLE_CONTROL_BAR_BOTTOM_STYLE =
+     "af|treeTable::control-bar-bottom";
+   public static final String AF_TREE_TABLE_CONTROL_BAR_TOP_STYLE =
+     "af|treeTable::control-bar-top";
+   public static final String AF_TREE_TABLE_EXPANSION_ICON_STYLE_CLASS =
+     "af|treeTable::expansion";
+   public static final String AF_TREE_TABLE_FOCUS_ICON_STYLE_CLASS =
+     "af|treeTable::focus";
+   public static final String AF_TREE_TABLE_LOCATOR_ICON_STYLE_CLASS =
+     "af|treeTable::locator";
+   public static final String AF_TREE_TABLE_MP_SELECTED_STYLE_CLASS =
+     "af|treeTable::path-selected-step";
+   public static final String AF_TREE_TABLE_MP_STEP_STYLE_CLASS =
+     "af|treeTable::path-step";
+   public static final String AF_TREE_TABLE_MP_STYLE_CLASS =
+     "af|treeTable::path";
+   public static final String AF_TREE_TABLE_SUB_CONTROL_BAR_STYLE =
+     "af|treeTable::sub-control-bar";
+
+   // ================================ Icons ================================ //
+   public static final String AF_TREE_TABLE_COLLAPSED_ICON_NAME =
+     "af|treeTable::collapsed-icon";
+   public static final String AF_TREE_TABLE_DISABLED_NAV_DOWN_ICON_NAME =
+     "af|treeTable::disabled-nav-down-icon";
+   public static final String AF_TREE_TABLE_DISABLED_NAV_UP_ICON_NAME =
+     "af|treeTable::disabled-nav-up-icon";
+   public static final String AF_TREE_TABLE_EXPANDED_ICON_NAME =
+     "af|treeTable::expanded-icon";
+   public static final String AF_TREE_TABLE_FOCUS_ICON_NAME =
+     "af|treeTable::focus-icon";
+   public static final String AF_TREE_TABLE_LOCATOR_ICON_NAME =
+     "af|treeTable::locator-icon";
+   public static final String AF_TREE_TABLE_MP_SEPARATOR_ICON_NAME =
+     "af|treeTable::separator-icon";
+   public static final String AF_TREE_TABLE_NAV_DOWN_ICON_NAME =
+     "af|treeTable::nav-down-icon";
+   public static final String AF_TREE_TABLE_NAV_UP_ICON_NAME =
+     "af|treeTable::nav-up-icon";
+   public static final String AF_TREE_TABLE_NB_PREV_ICON_NAME =
+     "af|treeTable::prev-icon";
+   public static final String AF_TREE_TABLE_NB_NEXT_ICON_NAME =
+     "af|treeTable::next-icon";
+   public static final String AF_TREE_TABLE_NB_PREV_DISABLED_ICON_NAME =
+     "af|treeTable::prev-disabled-icon";
+   public static final String AF_TREE_TABLE_NB_NEXT_DISABLED_ICON_NAME =
+     "af|treeTable::next-disabled-icon";
+}

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlConstants.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlConstants.java?rev=431841&r1=431840&r2=431841&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlConstants.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlConstants.java Tue Aug 15 23:18:17 2006
@@ -15,66 +15,262 @@
  */
 package org.apache.myfaces.trinidadinternal.renderkit.core.xhtml;
 
-public interface XhtmlConstants
-  extends org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants,
-          org.apache.myfaces.trinidadinternal.ui.UIConstants
+import org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit;
+
+public interface XhtmlConstants extends SkinSelectors, SkinProperties
 {
   public static final String DEBUG_PARTIAL_RESPONSES_PARAM =
     "org.apache.myfaces.trinidadinternal.DEBUG_PARTIAL_RESPONSES";
+  
+  //
+  // Copied from UIConstants
+  //
 
-  static public String STYLES_CACHE_DIRECTORY = "/adf/styles/cache/";
-  static public String OUTPUT_MODE_PORTLET = FACET_PORTLET;
+  /**
+   * A portlet facet;  when supported, this facet should
+   * result in a version of page content optimized for use in portlets.
+   */
+  public static final String FACET_PORTLET = CoreRenderKit.OUTPUT_MODE_PORTLET;
+  
+  public static final String SCRIPT_NAME = "script";
 
+  // Mobile dateField and LovField
+  // "picker" events and types
+  public static final String DATE_EVENT   = "date";
+  public static final String CANCEL_EVENT = "cancel";
+  public static final String TYPE_POST    = "post";
+
+  // NavigationBar
+  public static final String GOTO_EVENT = "goto";
+
+  // HideShow
+  public static final String HIDE_EVENT = "hide";
+  public static final String SHOW_EVENT = "show";
+
+  // HGrid
+  public static final int INCOMPLETE_DATA_SET = -1;
+  
+  // SortableHeader
+  public static final String SORT_EVENT = "sort";
+
+
+  /**
+   * Constant for the value of the "value" event parameter when
+   * the user is asking to see all rows.
+   */
+  public static final String VALUE_SHOW_ALL = "all";
+
+  
+  
   //
-  // Copied from BaseDesktopConstants
+  // Context Property Names
+  //
+  /**
+   * String rendering property for the name of the current form bean.
+   */
+  public static final String FORM_NAME_PROPERTY   = "formName";
+
+
+  /**
+   * Key used to store the initialFocus on the RenderingContext
+   * under the UIConstants.MARLIN_NAMESPACE. initialFocus is an attribute
+   * of body and is an id indicating the component
+   * which should have the initial focus.
+   */
+  public static final Object INITIAL_FOCUS_CONTEXT_PROPERTY = "initialFocus";
+
+  
   //
+  // parameter names
+  //
+  public static final String PARTIAL_PARAM         = "partial";
+  public static final String PARTIAL_TARGETS_PARAM = "partialTargets";
+  public static final String SIZE_PARAM            = "size";
+  public static final String SOURCE_PARAM          = "source";
+  public static final String STATE_PARAM           = "state";
+  public static final String TYPE_PARAM            = "type";
+  public static final String VALUE_PARAM           = "value";
+  
+  
+  //
+  // parameter values
+  //
+  // calendar, mobile dateField params
+  public static final String EVENT_PARAM          = "event";
+  public static final String LOC_PARAM            = "loc";
+  public static final String MAX_VALUE_PARAM      = "maxValue";
+  public static final String MIN_VALUE_PARAM      = "minValue";
+  public static final String MONTH_PARAM          = "month";
+  public static final String SCROLLED_VALUE_PARAM = "scrolledValue";
+  public static final String YEAR_PARAM           = "year";
+  
+  
+  //
+  // Named Children
+  //
+  public static final String PATH_STAMP_CHILD = "pathStamp";
+
+  
+  //
+  // Enumerated Values
+  //
+
+  // Horizontal alignment
+  /**
+   * Horizontal alignment constant for end alignment;  right
+   * alignment will be used in left-to-right languages, left
+   * alignment in right-to-left languages.
+   */
+  public static final String H_ALIGN_END = "end";
 
-  // =-=AEW Is this still a legit style class???
-  public static final String HEADER_NEST_STYLE_CLASS = 
-    "p_OraHeaderNest";
-  // Header style classes
-  // if icon attribute is set, this is the style for it.
-  // I wouldn't normally have style in the name, but I don't want it to be
-  // confused with a icon.
-  public static final String AF_PANEL_HEADER_ICON_STYLE_CLASS =
-    "af|panelHeader::icon-style";
-  
-  public static final String AF_PANEL_BOX_LIGHT_STYLE_CLASS =
-    "af|panelBox::light";
-  public static final String AF_PANEL_BOX_MEDIUM_STYLE_CLASS =
-    "af|panelBox::medium";
-  public static final String AF_PANEL_BOX_DARK_STYLE_CLASS =
-    "af|panelBox::dark";
-  public static final String AF_PANEL_BOX_TRANSPARENT_STYLE_CLASS =
-    "af|panelBox::transparent";
-  public static final String AF_PANEL_BOX_CONTENT_LIGHT_STYLE_CLASS =
-    "af|panelBox::content-light";
-  public static final String AF_PANEL_BOX_CONTENT_MEDIUM_STYLE_CLASS =
-    "af|panelBox::content-medium";
-  public static final String AF_PANEL_BOX_CONTENT_DARK_STYLE_CLASS =
-    "af|panelBox::content-dark";
-  public static final String AF_PANEL_BOX_CONTENT_TRANSPARENT_STYLE_CLASS =
-    "af|panelBox::content-transparent";
-  public static final String AF_PANEL_BOX_HEADER_STYLE_CLASS =
-    "af|panelBox::header";
-  public static final String AF_PANEL_BOX_BODY_STYLE_CLASS =
-    "af|panelBox::body";
-  
-  // ============= Output Document ==============
-  public static final String AF_OUTPUT_DOCUMENT_STYLE_CLASS = 
-    "af|outputDocument";
-  public static final String AF_OUTPUT_DOCUMENT_PARAGRAPH_STYLE_CLASS = 
-    "af|outputDocument::paragraph";
-  public static final String AF_OUTPUT_DOCUMENT_SEPARATOR_STYLE_CLASS = 
-    "af|outputDocument::separator";
-  public static final String AF_OUTPUT_DOCUMENT_TITLE_STYLE_CLASS = 
-    "af|outputDocument::title";
+  // Vertical alignment
+  /**
+   * Vertical alignment constant for centering.
+   */
+  public static final String V_ALIGN_MIDDLE = "middle";
 
-  // =============PROPERTY NAMES================
+  /**
+   * Vertical alignment constant for top alignment.
+   */
+  public static final String V_ALIGN_TOP = "top";
+  
+
+  // MAX_VALUE_ATTR
+  public static final int MAX_VALUE_UNKNOWN = -1;
+
+
+  // MESSAGE_TYPE_ATTR
+  /**
+   * Message type if the associated message is informational.
+   */
+  public static final String MESSAGE_TYPE_INFO = "info";
+
+  /**
+   * Message type if the associated message is a warning.
+   */
+  public static final String MESSAGE_TYPE_WARNING = "warning";
+
+  /**
+   * Message type if the associated message is an error.
+   */
+  public static final String MESSAGE_TYPE_ERROR = "error";
+
+  /**
+   * Message type if the associated message is a confirmation.
+   */
+  public static final String MESSAGE_TYPE_CONFIRMATION = "confirmation";
+
+  /**
+   * Message type if the page layout messageType is processing.
+   */
+  public static final String MESSAGE_TYPE_PROCESSING = "processing";
+  
+  /**
+   * Message type if there is no type of message.
+   */
+  public static final String MESSAGE_TYPE_NONE = "none";
+
+  
+  // SORTABLE_ATTR
+  /**
+   * Sortable value if the table column is sortable and is currently
+   * sorted with ascending values down the column.
+   */
+  public static final String SORTABLE_ASCENDING = "ascending";
+
+  /**
+   * Sortable value if the table column is sortable and is currently
+   * sorted with descending values down the column.
+   */
+  public static final String SORTABLE_DESCENDING = "descending";
+
+  /**
+   * The default text used for a secret field.
+   * When working with password fields, compare the value submitted
+   * with this value. If they are the same, then the user did not modify
+   * the field.
+   */
+  public static final String SECRET_FIELD_DEFAULT_VALUE = "******";
+  
+  
+  // ORIENTATION_ATTR
+  /**
+   * Value to indicate orientation is vertical (currently used by BreadCrumbs)
+   */
+  public final static String ORIENTATION_VERTICAL="vertical";
+  
+  
+  public static final String SELECTED_KEY = "selected";
+  
+
+  // ===================== End of copy from UIConstants =======================
 
-  public static final String AF_PANELHEADER_INDENT_CONTENT = 
-    "af|panelHeader-ora-indent-content";
+  public static String STYLES_CACHE_DIRECTORY = "/adf/styles/cache/";
+  public static String OUTPUT_MODE_PORTLET = FACET_PORTLET;
   
   // ============= Html elements ================
+  public static final String DIV_ELEMENT          = "div";
+  public static final String[] HEADER_ELEMENT     = {"h1", "h2", "h3",
+                                                     "h4", "h5", "h6"};
+  public static final String LINK_ELEMENT         = "a";
   public static final String PARAGRAPH_ELEMENT = "p";
+  public static final String SCRIPT_ELEMENT       = "script";
+  public static final String SPAN_ELEMENT         = "span";
+  public static final String TABLE_DATA_ELEMENT   = "td";
+  public static final String TABLE_ELEMENT        = "table";
+  public static final String TABLE_HEADER_ELEMENT = "th";
+  public static final String TABLE_ROW_ELEMENT    = "tr";
+  
+  //
+  // Copied from BaseDesktopConstants
+  //
+  public static final String BASE_DESKTOP_ID = "base.desktop";
+
+  //
+  // Copied from XhtmlLafConstants
+  //
+  public static final String ORACLE_ADF_DESKTOP = 
+    "org.apache.myfaces.trinidad.desktop";
+  public static final String ORACLE_ADF_PDA = 
+    "org.apache.myfaces.trinidad.pda";
+  
+  /** Unicode character for non-breaking space */
+  public static final char NBSP_CHAR = 0xA0;
+
+  /** String containing Unicode character for non-breaking space */
+  public static final String NBSP_STRING = String.valueOf(NBSP_CHAR);
+  
+  public static final String ALIGN_ATTRIBUTE      = "align";
+  public static final String COLS_ATTRIBUTE       = "cols";
+  public static final String COLSPAN_ATTRIBUTE    = "colspan";
+  public static final String HEIGHT_ATTRIBUTE     = "height";
+  public static final String HREF_ATTRIBUTE       = "href";
+  public static final String ID_ATTRIBUTE         = "id";
+  public static final String NOWRAP_ATTRIBUTE     = "nowrap";
+  public static final String ONCLICK_ATTRIBUTE    = "onclick";
+  public static final String ROWS_ATTRIBUTE      = "rows";
+  public static final String ROWSPAN_ATTRIBUTE    = "rowspan";
+  public static final String SIZE_ATTRIBUTE       = "size";
+  public static final String STYLE_ATTRIBUTE      = "style";
+  public static final String VALIGN_ATTRIBUTE     = "valign";
+  public static final String WIDTH_ATTRIBUTE      = "width";
+  
+  public static final String DIR_ATTRIBUTE_VALUE                 = "dir";
+  public static final String EMPTY_STRING_ATTRIBUTE_VALUE        = "";
+  public static final String LEFT_ATTRIBUTE_VALUE                = "left";
+  public static final String MIDDLE_ATTRIBUTE_VALUE              = "middle";
+  public static final String ONE_HUNDRED_PERCENT_ATTRIBUTE_VALUE = "100%";
+  public static final String RIGHT_ATTRIBUTE_VALUE               = "right";
+
+  
+  public static final String COLOR_PALETTE_TRANSPARENT_ICON_NAME = "cpt.gif";
+  
+  // 'xc' stands for uiX Composite
+  // -= Simon =-
+  // FIXME: Should it be renamed to remove UIX reference?
+  public static final String COMPOSITE_ID_EXTENSION = "__xc_";
+  
+  // context property to indicate that form elements are repeated and the
+  // data needs to be kept in sync
+  public static final Object REPEAT_PROPERTY = new Object();
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelAccordionRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelAccordionRenderer.java?rev=431841&r1=431840&r2=431841&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelAccordionRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelAccordionRenderer.java Tue Aug 15 23:18:17 2006
@@ -29,11 +29,11 @@
 
 import org.apache.myfaces.trinidadinternal.renderkit.RenderingContext;
 import org.apache.myfaces.trinidadinternal.renderkit.RenderUtils;
+import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants;
 import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer;
 import org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext;
 import org.apache.myfaces.trinidadinternal.ui.UIConstants;
 import org.apache.myfaces.trinidadinternal.ui.laf.base.desktop.HideShowUtils;
-import org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants;
 import org.apache.myfaces.trinidadinternal.ui.partial.PartialPageRendererUtils;
 import org.apache.myfaces.trinidadinternal.uinode.UINodeRendererBase;
 
@@ -358,37 +358,37 @@
 
   String getContainerStyleClass()
   {
-    return XhtmlLafConstants.AF_PANELACCORDION_CONTAINER_STYLE_CLASS;
+    return XhtmlConstants.AF_PANELACCORDION_CONTAINER_STYLE_CLASS;
   }
 
   String getContentStyleClass()
   {
-    return XhtmlLafConstants.AF_PANELACCORDION_CONTENT_STYLE_CLASS;
+    return XhtmlConstants.AF_PANELACCORDION_CONTENT_STYLE_CLASS;
   }
 
   String getHeaderDisabledStyleClass()
   {
-    return XhtmlLafConstants.AF_PANELACCORDION_HEADER_DISABLED_STYLE_CLASS;
+    return XhtmlConstants.AF_PANELACCORDION_HEADER_DISABLED_STYLE_CLASS;
   }
 
   String getHeaderExpanedStyleClass()
   {
-    return XhtmlLafConstants.AF_PANELACCORDION_HEADER_EXPANDED_STYLE_CLASS;
+    return XhtmlConstants.AF_PANELACCORDION_HEADER_EXPANDED_STYLE_CLASS;
   }
 
   String getHeaderCollapsedStyleClass()
   {
-    return XhtmlLafConstants.AF_PANELACCORDION_HEADER_COLLAPSED_STYLE_CLASS;
+    return XhtmlConstants.AF_PANELACCORDION_HEADER_COLLAPSED_STYLE_CLASS;
   }
 
   String getLinkDisabledStyleClass()
   {
-    return XhtmlLafConstants.AF_PANELACCORDION_TITLE_LINK_DISABLED_STYLE_CLASS;
+    return XhtmlConstants.AF_PANELACCORDION_TITLE_LINK_DISABLED_STYLE_CLASS;
   }
 
   String getLinkEnabledStyleClass()
   {
-    return XhtmlLafConstants.AF_PANELACCORDION_TITLE_LINK_STYLE_CLASS;
+    return XhtmlConstants.AF_PANELACCORDION_TITLE_LINK_STYLE_CLASS;
   }
 
   String getDisclosedTipKey()

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelRadioRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelRadioRenderer.java?rev=431841&r1=431840&r2=431841&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelRadioRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelRadioRenderer.java Tue Aug 15 23:18:17 2006
@@ -27,11 +27,11 @@
 import org.apache.myfaces.trinidad.component.UIXShowDetail;
 
 import org.apache.myfaces.trinidadinternal.renderkit.RenderUtils;
+import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants;
 import org.apache.myfaces.trinidadinternal.share.url.URLEncoder;
 import org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext;
 import org.apache.myfaces.trinidadinternal.ui.UIConstants;
 import org.apache.myfaces.trinidadinternal.ui.laf.base.BaseLafUtils;
-import org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants;
 import org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer;
 
 /**
@@ -85,7 +85,7 @@
 
     XhtmlLafRenderer.
       renderStyleClassAttribute(rCtx,
-                                XhtmlLafConstants.AF_LABEL_TEXT_STYLE_CLASS);
+                                XhtmlConstants.AF_LABEL_TEXT_STYLE_CLASS);
 
     out.writeText(encoder.encodeParameter(label), null);
 
@@ -225,7 +225,7 @@
       String radioSpanClass = getFieldTextClass();
       if (disabled)
       {
-        radioSpanClass = XhtmlLafConstants.AF_FIELD_TEXT_DISABLED_STYLE_CLASS;
+        radioSpanClass = XhtmlConstants.AF_FIELD_TEXT_DISABLED_STYLE_CLASS;
       }
       XhtmlLafRenderer.renderStyleClassAttribute(rCtx,
                                                  radioSpanClass);



Mime
View raw message