incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwald...@apache.org
Subject svn commit: r532908 [2/3] - in /incubator/adffaces/trunk/trinidad: trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/ trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/ trinidad-api/src/main/java/org/apache/myfaces/tr...
Date Thu, 26 Apr 2007 23:31:08 GMT
Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/DebugHtmlResponseWriter.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/DebugHtmlResponseWriter.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/DebugHtmlResponseWriter.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/DebugHtmlResponseWriter.java Thu Apr 26 16:31:01 2007
@@ -141,8 +141,7 @@
       // And "target" causes problems too - see bug 2693457
       else if ("target".equals(value))
       {
-        _LOG.warning("\"name\" attribute set to \"target\", which will cause " +
-               "Javascript errors.");
+        _LOG.warning("NAME_ATTRIBUTE_OF_TARGET_WILL_CAUSE_JAVASCRIPT_ERROR");
       }
     }
     // Javascript "onXXXX" handlers never need to start with
@@ -154,9 +153,7 @@
       if (valueStr.startsWith("javascript:") ||
           valueStr.startsWith("Javascript:"))
       {
-        _LOG.info("The value of the \"" + name + "\" attribute starts with " +
-                  "\"javascript:\"; this is unnecessary, and in fact can " +
-                  "lead to Javascript errors.");
+        _LOG.info("UNNECESSARY_NAME_ATTRIBUTE_START_WITH_JAVASCRIPT", name);
       }
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/DebugResponseWriter.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/DebugResponseWriter.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/DebugResponseWriter.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/DebugResponseWriter.java Thu Apr 26 16:31:01 2007
@@ -70,7 +70,7 @@
      super.endDocument();
      if (!_elementStack.empty())
      {
-       _LOG.warning("Elements not closed:");
+       _LOG.warning("ELEMENTS_NOT_CLOSED");
        for (int i = _elementStack.size() - 1; i >=0; i--)
          _LOG.warning(_elementStack.elementAt(i).toString());
      }
@@ -185,8 +185,7 @@
      {
        if (_LOG.isWarning())
        {
-         _LOG.warning("Ending " + name + " when " +
-                       topElement + " expected. Passes:"+_endElementCount);
+         _LOG.warning("ENDING_WHEN_OTHER_EXPECTED", new Object[]{name, topElement, _endElementCount});
        }
 
        for (int i = _elementStack.size() - 1; i >=0; i--)
@@ -215,7 +214,7 @@
    {
      if (!_inElement)
      {
-       _LOG.warning("Writing attribute outside of element");
+       _LOG.warning("ATTRIBUTE_OUTSIDE_ELEMENT");
      }
 
      if ("id".equals(name))
@@ -244,7 +243,7 @@
    {
      if (!_inElement)
      {
-       _LOG.warning("Writing attribute outside of element");
+       _LOG.warning("ATTRIBUTE_OUTSIDE_ELEMENT");
      }
 
      if (value != null)
@@ -262,8 +261,7 @@
    {
      if (_attributes.contains(name))
      {
-       _LOG.warning("Attribute \"" + name + "\" output twice;  " +
-          "writing attribute as \"duplicate_" + name + "\" instead.");
+       _LOG.warning("DUPLICATE_ATTRIBUTE_OUTPUT", new Object[]{name, name});
        return "duplicate_" + name;
      }
      else
@@ -329,4 +327,5 @@
 
    static private final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(DebugResponseWriter.class);
  }
+
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/HtmlResponseWriter.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/HtmlResponseWriter.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/HtmlResponseWriter.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/HtmlResponseWriter.java Thu Apr 26 16:31:01 2007
@@ -147,10 +147,7 @@
     {
       if (!element.equals(name))
       {
-        _LOG.severe("Element End name:"           +
-                    name                          +
-                    " does not match start name:" +
-                    element);
+        _LOG.severe("ELEMENT_END_NAME_NOT_MATCH_START_NAME", new Object[]{name, element});
       }
 
       Writer out = _out;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/XhtmlResponseWriter.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/XhtmlResponseWriter.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/XhtmlResponseWriter.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/XhtmlResponseWriter.java Thu Apr 26 16:31:01 2007
@@ -149,10 +149,7 @@
     {
       if (!element.equals(name))
       {
-        _LOG.severe("Element End name:"           +
-                    name                          +
-                    " does not match start name:" +
-                    element);
+        _LOG.severe("ELEMENT_END_NAME_NOT_MATCH_START_NAME", new Object[]{name, element});
       }
 
       Writer out = _out;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/menu/MenuContentHandlerImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/menu/MenuContentHandlerImpl.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/menu/MenuContentHandlerImpl.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/menu/MenuContentHandlerImpl.java Thu Apr 26 16:31:01 2007
@@ -456,15 +456,18 @@
     }
     catch (SAXException saxex)
     {
-      _LOG.severe ( "Exception creating model " + uri, saxex);
+      _LOG.severe ("CREATE_MODEL_EXCEPTION", uri);
+      _LOG.severe(saxex);
     }
     catch (IOException ioe)
     {
-      _LOG.severe ( "Exception creating model " + uri, ioe);
+      _LOG.severe ("CREATE_MODEL_EXCEPTION", uri);
+      _LOG.severe(ioe);
     }
     catch (ParserConfigurationException pce)
     {
-      _LOG.severe ( "Exception creating model " + uri, pce);
+      _LOG.severe ("CREATE_MODEL_EXCEPTION", uri);
+      _LOG.severe(pce);
     }
 
     return _treeModelMap.get(uri);

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/menu/MenuUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/menu/MenuUtils.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/menu/MenuUtils.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/menu/MenuUtils.java Thu Apr 26 16:31:01 2007
@@ -71,6 +71,7 @@
     {
       _LOG.severe("EL Expression " + elExpression + 
                   " is invalid or returned a bad value.\n", ex);
+      _LOG.severe(ex);
       return null;
     }
     return retVal;
@@ -220,7 +221,8 @@
     }
     catch (MissingResourceException e)
     {
-      _LOG.severe("Resource bundle " + bundleName + " could not be found.", e);
+      _LOG.severe("RESOURCE_BUNDLE_NOT_FOUND", bundleName);
+      _LOG.severe(e);
       return;
     }
  
@@ -402,4 +404,5 @@
   private final static TrinidadLogger _LOG = 
                         TrinidadLogger.createTrinidadLogger(MenuUtils.class);
 }
+
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/metadata/RegionMetadata.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/metadata/RegionMetadata.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/metadata/RegionMetadata.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/metadata/RegionMetadata.java Thu Apr 26 16:31:01 2007
@@ -106,7 +106,8 @@
           }
           catch (IOException e)
           {
-            _LOG.severe("error closing file:"+_CONFIG_FILE_2, e);
+            _LOG.severe("ERR_CLOSING_FILE",_CONFIG_FILE_2);
+            _LOG.severe(e);
           }
         }
       }
@@ -156,13 +157,15 @@
     }
     catch (IOException e)
     {
-      _LOG.warning("Error getting region-metadata files:"+__CONFIG_FILE_OTHER, e);
+      _LOG.warning("ERR_GET_REGION_METADATA_FILE",__CONFIG_FILE_OTHER);
+      _LOG.warning(e);
     }
   }
 
   private static void _error(String publicId, Throwable t)
   {
-    _LOG.warning("Error reading region-metadata file:"+publicId, t);
+    _LOG.warning("ERR_READ_REGION_METADATA_FILE", publicId);
+    _LOG.warning(t);
   }
 
   private static void _readRegionMetadata(
@@ -214,8 +217,7 @@
     RegionConfig old = _map.put(componentType, comp);
     if (old != null)
     {
-      _LOG.warning("Replaced jspUri {0} with {1} for componentType:{2}",
-        new Object[] {old.getJspUIDef(), comp.getJspUIDef(), componentType});
+      _LOG.warning("REPLACE_COMPONENTTYPE_JSPURI", new Object[] {old.getJspUIDef(), comp.getJspUIDef(), componentType});
     }
   }
 
@@ -445,23 +447,20 @@
     {
       if (_LOG.isWarning())
       {
-        _LOG.warning("Unknown element:{0} at {1}",
-          new Object[] {localName,
-                        _getLocation()});
+        _LOG.warning("UNKNOWN_ELEMENT", new Object[] {localName, _getLocation()});
       }
       _skip(localName);
     }
 
     private void _missing(String tag)
     {
-      _LOG.severe("<{0}> is missing at {1}",
-          new Object[] {tag,
-                        _getLocation()});
+      _LOG.severe("MISSING_AT", new Object[] {tag,_getLocation()});
     }
 
     private void _log(Throwable t)
     {
-      _LOG.severe("Exception at "+_getLocation(), t);
+      _LOG.severe("EXCEPTION_AT",_getLocation());
+      _LOG.severe(t);
     }
 
     private String _getLocation()

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/ClassRendererInstantiator.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/ClassRendererInstantiator.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/ClassRendererInstantiator.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/ClassRendererInstantiator.java Thu Apr 26 16:31:01 2007
@@ -68,10 +68,8 @@
     Throwable e
     )
   {
-    _LOG.severe("Instantiation of Renderer " +
-                _className                   +
-                " failed",
-                e);
+    _LOG.severe("RENDERER_INSTANTIATION_FAILED", _className);
+    _LOG.severe(e);
   }
 
   private String _className;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/RenderKitBase.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/RenderKitBase.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/RenderKitBase.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/RenderKitBase.java Thu Apr 26 16:31:01 2007
@@ -119,8 +119,7 @@
     if (renderer == null)
     {
       if (_LOG.isWarning())
-        _LOG.warning("Renderer ''{0}'' not found for component family ''{1}''",
-                     new String[]{rendererType, family});
+        _LOG.warning("RENDERER_NOT_FOUND", new String[]{rendererType, family});
     }
 
     return renderer;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderKit.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderKit.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderKit.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderKit.java Thu Apr 26 16:31:01 2007
@@ -438,7 +438,7 @@
     }
     else
     {
-      _LOG.warning("No AdfRenderingContext available");
+      _LOG.warning("ADFRENDERINGCONTEXT_NOT_AVAILABLE");
     }
   }
 
@@ -563,7 +563,7 @@
                                        RenderKitFactory.HTML_BASIC_RENDER_KIT);
     if (basic == null)
     {
-      _LOG.warning("Basic HTMLRenderKit could not be located");
+      _LOG.warning("CANNOT_LOCATE_HTMLRENDERKIT");
     }
     else
     {
@@ -574,8 +574,7 @@
         Renderer renderer = basic.getRenderer(componentFamily, rendererType);
         if (renderer == null)
         {
-          _LOG.warning("Could not find basic HTML renderer for " +
-                       "family " + componentFamily + ", type=" + rendererType);
+          _LOG.warning("CANNOT_FIND_HTML_RENDERER", new Object[]{componentFamily, rendererType});
         }
         else
         {

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderingContext.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderingContext.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderingContext.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderingContext.java Thu Apr 26 16:31:01 2007
@@ -420,7 +420,7 @@
         SkinFactory factory = SkinFactory.getFactory();
         if (factory == null)
         {
-          _LOG.warning("There is no SkinFactory");
+          _LOG.warning("NO_SKIN_FACTORY");
           return null;
         }
         
@@ -447,29 +447,20 @@
             else
             {
               if (_LOG.isWarning())
-                _LOG.warning("The skin " +requestedSkinId+ 
-                            " specified on the requestMap will not be used because" + 
-                             " the styleSheetDocument id on the requestMap" +
-                             " does not match the local skin's styleSheetDocument's id.");
+                _LOG.warning("REQUESTMAP_SKIN_NOT_USED_BECAUSE_STYLESHEETDOCUMENT_ID_NOT_MATCH_LOCAL_SKIN",requestedSkinId);
             }                
           }
           else
           {
             if (_LOG.isSevere())
-              _LOG.severe("The skin " +requestedSkinId+ 
-                          " specified on the requestMap will not be used because" + 
-                           " its styleSheetDocument id was not in the requestMap" +
-                           " and it is needed to compare with the local" +
-                           " skin's styleSheetDocument's id to make sure the skins are the same.");              
+              _LOG.severe("REQUESTMAP_SKIN_NOT_USED_BECAUSE_STYLESHEETDOCUMENT_ID_NOT_IN_REQUESTMAP",requestedSkinId);              
           }
         }// end requestedSkin != null
         else
         {
           if (_LOG.isWarning())
           {
-            _LOG.warning("The skin " +requestedSkinId+ 
-                        " specified on the requestMap will not be used because" + 
-                         " it does not exist.");
+            _LOG.warning("REQUESTMAP_SKIN_NOT_USED_BECAUSE_NOT_EXIST",requestedSkinId);
           }
         }     
       }
@@ -512,7 +503,7 @@
     SkinFactory factory = SkinFactory.getFactory();
     if (factory == null)
     {
-      _LOG.warning("There is no SkinFactory");
+      _LOG.warning("NO_SKIN_FACTORY");
       return;
     }
 
@@ -521,8 +512,7 @@
     if (skin == null)
     {
       if (_LOG.isWarning())
-        _LOG.warning("Could not get skin " + skinFamily +
-                     " from the SkinFactory");
+        _LOG.warning("CANNOT_GET_SKIN_FROM_SKINFACTORY", skinFamily);
     }
 
     if (skin == null)

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/StyleContextImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/StyleContextImpl.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/StyleContextImpl.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/StyleContextImpl.java Thu Apr 26 16:31:01 2007
@@ -106,7 +106,7 @@
     }
     catch (RuntimeException e)
     {
-      _LOG.severe("Could not get stylesheet cache", e);
+      _LOG.severe("CANNOT_GET_STYLESHEET_CACHE", e);
     }
 
     // Return a non-null StyleProvider instance

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/ChartRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/ChartRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/ChartRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/ChartRenderer.java Thu Apr 26 16:31:01 2007
@@ -234,7 +234,7 @@
     ChartModel model = (ChartModel)chart.getValue();
     if(model==null)
     {
-      _LOG.severe("Model not specified for the chart component.");
+      _LOG.severe("MODEL_NOT_SPECIFIED_FOR_CHART_COMPONENT");
       return;
     }
     sw.append("var seriesLabels = ");

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/TrainRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/TrainRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/TrainRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/TrainRenderer.java Thu Apr 26 16:31:01 2007
@@ -171,7 +171,7 @@
 
     if (arc.getFormData() == null)
     {
-      _LOG.warning("Trains must be used inside of a form");
+      _LOG.warning("TRAIN_MUST_INSIDE_FORM");
       return;
     }
 
@@ -219,8 +219,7 @@
     }
     else
     {
-      _LOG.warning("Train expect a nodeStamp facet, " +
-          "no such facet was found for train " + component);
+      _LOG.warning("NODESTAMP_FACET_NOT_FOUND_FOR_TRAIN", component);
     }
     /*
       _encodeChildren(context, arc, process, stamp, trainState, length);
@@ -1004,7 +1003,7 @@
         int count = Integer.parseInt(propValue.toString());
         if(count <= 0)
         {
-          _LOG.warning("Visible stop count must be > 0, found " + count);
+          _LOG.warning("VISIBLE_STOP_COUNT_MUST_ABOVE_ZERO", count);
           return DEFAULT_MAX_VISIBLE_STOP_COUNT;
         }
         
@@ -1012,7 +1011,7 @@
       }
       catch(NumberFormatException e)
       {
-        _LOG.warning("Visible stop count must be an integer, found " + propValue);
+        _LOG.warning("VISIBLE_STOP_COUNT_MYST_INTEGER", propValue);
         return DEFAULT_MAX_VISIBLE_STOP_COUNT;
       }
     }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/TreeTableRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/TreeTableRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/TreeTableRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/TreeTableRenderer.java Thu Apr 26 16:31:01 2007
@@ -159,7 +159,7 @@
     // we cannot render without a nodeStamp:
     if (((UIXTreeTable) component).getNodeStamp() == null)
     {
-      _LOG.warning("'nodeStamp' facet missing!");
+      _LOG.warning("NODESTAMP_FACET_MISSING");
       return;
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/FrameRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/FrameRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/FrameRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/FrameRenderer.java Thu Apr 26 16:31:01 2007
@@ -80,7 +80,7 @@
     if ((parent == null) ||
         !HtmlFrameBorderLayout.COMPONENT_FAMILY.equals(parent.getFamily()))
     {
-      _LOG.warning("Frames must appear inside FrameBorderLayouts");
+      _LOG.warning("FRAMES_MUST_INSIDE_FRAMEBORDERLAYOUTS");
     }
     else
     {

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/TrainRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/TrainRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/TrainRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/TrainRenderer.java Thu Apr 26 16:31:01 2007
@@ -56,7 +56,7 @@
   {
     if (arc.getFormData() == null)
     {
-      _LOG.warning("Trains must be used inside of a form");
+      _LOG.warning("TRAIN_MUST_INSIDE_FORM");
       return;
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/ppr/PPRResponseWriter.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/ppr/PPRResponseWriter.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/ppr/PPRResponseWriter.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/ppr/PPRResponseWriter.java Thu Apr 26 16:31:01 2007
@@ -319,9 +319,7 @@
       {
         if (_enteringPPR != null)
         {
-          _LOG.warning("No PPR-capable 'id' found for elements of {0}."+
-                       " This component has not written-out an 'id' attribute.",
-                       _enteringPPR);
+          _LOG.warning("NO_PPR_CAPABLE_ID_FOUND_FOR_COMPONENT",_enteringPPR);
           _enteringPPR = null;
         }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ChooseDateRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ChooseDateRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ChooseDateRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ChooseDateRenderer.java Thu Apr 26 16:31:01 2007
@@ -1139,8 +1139,7 @@
         }
         catch (Exception e)
         {
-          _LOG.warning("Invalid string attribute for chooseDate: {0}",
-                       value);
+          _LOG.warning("INVALID_STRING_ATTRIBUTE", value);
         }
       }
       else if (value instanceof Calendar)
@@ -1455,9 +1454,8 @@
     catch (Exception e)
     {
       if (_LOG.isWarning())
-        _LOG.warning("Unable to encode URL '" + url
-                     + "' using encoding '" + encoding + "'",
-                     e);
+        _LOG.warning("UNABLE_ENCODE_URL", new Object[]{url, encoding});
+        _LOG.warning(e);
     }
 
     // Finally, escape any characters that cause problems for JS

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ColumnGroupRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ColumnGroupRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ColumnGroupRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ColumnGroupRenderer.java Thu Apr 26 16:31:01 2007
@@ -490,7 +490,7 @@
 
     if (arc.getFormData() == null)
     {
-      _LOG.warning("Sorting disabled;  table is not in a form");
+      _LOG.warning("SORTING_DISABLED_TABLE_NOT_IN_FORM");
       return onclick;
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ColumnRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ColumnRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ColumnRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ColumnRenderer.java Thu Apr 26 16:31:01 2007
@@ -60,7 +60,7 @@
 
     if (tContext == null)
     {
-      _LOG.warning("{0}: Column used outside of a Table", component);
+      _LOG.warning("COMPONENT_COLUMN_OUTSIDE_TABLE", component);
       return;
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/CoreFormData.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/CoreFormData.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/CoreFormData.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/CoreFormData.java Thu Apr 26 16:31:01 2007
@@ -285,7 +285,7 @@
   {
     if (clientId == null)
     {
-      _LOG.warning("Cannot add client side converter & validators as the node name is null");
+      _LOG.warning("NULL_NODE_NAME_CANNOT_ADD_CONVERTER_AND_VALIDATOR");
       return;
     }
 
@@ -332,7 +332,7 @@
     if (validators == null)
     {
       //=-=AEW This seems to be OK right now
-      //_LOG.warning("Null validators iterator for {0}", component);
+      //_LOG.warning("NULL_VALIDATORS_ITERATOR", component);
       ;
     }
     else
@@ -376,9 +376,7 @@
       if (convertValidate.converter == null)
         convertValidate.converter = new Object[2];
       else
-        _LOG.warning("There is already a converter on \"" +
-                     convertValidate.clientId +
-                     "\". There should only be one converter per component.");
+        _LOG.warning("DUPLICATE_CONVERTER_ONE_PER_COMPONENT", convertValidate.clientId);
 
 
       // add the converter

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameBorderLayoutRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameBorderLayoutRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameBorderLayoutRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameBorderLayoutRenderer.java Thu Apr 26 16:31:01 2007
@@ -289,8 +289,7 @@
     if ((val==null))
     {
       if (_LOG.isWarning())
-        _LOG.warning("frame:" + frame.getId()
-                     + " is missing attribute:" + attr);
+        _LOG.warning("FRAME_MISSING_ATTRIBUTE", new Object[]{frame.getId(), attr});
       val="0";
     }
     result.append(val);

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameRenderer.java Thu Apr 26 16:31:01 2007
@@ -146,7 +146,7 @@
     if ((parent == null) ||
         !HtmlFrameBorderLayout.COMPONENT_FAMILY.equals(parent.getFamily()))
     {
-      _LOG.warning("Frames must appear inside FrameBorderLayouts");
+      _LOG.warning("FRAMES_MUST_INSIDE_FRAMEBORDERLAYOUTS");
     }
     else
     {

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/NavigationPaneRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/NavigationPaneRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/NavigationPaneRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/NavigationPaneRenderer.java Thu Apr 26 16:31:01 2007
@@ -130,9 +130,7 @@
         }
         catch (ClassCastException cce)
         {
-          _LOG.severe(
-            "Warning: illegal component hierarchy detected, expected UIXCommand but found another type of component instead.",
-            cce);
+          _LOG.severe("ILLEGAL_COMPONENT_HIERARCHY_UIXCOMMAND_EXPECTED", cce);
         }
       }
     }
@@ -140,8 +138,7 @@
     {
       if (!(nodeStamp instanceof UIXCommand))
       {
-        _LOG.severe(
-           "Warning: illegal component hierarchy detected, expected UIXCommand but found another type of component instead.");
+        _LOG.severe("ILLEGAL_COMPONENT_HIERARCHY_UIXCOMMAND_EXPECTED");
         return;
 
       }
@@ -428,10 +425,7 @@
     {
       if (_LOG.isSevere())
       {
-        _LOG.severe(
-          "Warning: NavigationLevelRenderer was looking for child property \"" +
-          propertyName +
-          "\" but none was found, it is likely that an unexpected child component was found (expected CommandNavigationItem).");
+        _LOG.severe("NAVIGATIONLEVELRENDERER_NOT_FOUND_CHILD_PROPERTY", propertyName);
       }
       return null;
     }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelAccordionRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelAccordionRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelAccordionRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelAccordionRenderer.java Thu Apr 26 16:31:01 2007
@@ -155,7 +155,7 @@
     String formName = arc.getFormData().getName();
     if (formName == null)
     {
-      _LOG.warning("PanelAccordion must be used inside of a form");
+      _LOG.warning("PANELACCORDION_MUST_INSIDE_FORM");
       return;
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelPartialRootRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelPartialRootRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelPartialRootRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelPartialRootRenderer.java Thu Apr 26 16:31:01 2007
@@ -116,12 +116,12 @@
       // as a cause (at least in OC4J 9.0.4 and Tomcat 5.0)
       catch (RuntimeException re)
       {
-        _LOG.severe("Error during partial-page rendering", re);
+        _LOG.severe("ERR_PARTIAL_PAGE_RENDERING", re);
         throw re;
       }
       catch (Error error)
       {
-        _LOG.severe("Error during partial-page rendering", error);
+        _LOG.severe("ERR_PARTIAL_PAGE_RENDERING", error);
         throw error;
       }
       finally

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PollRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PollRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PollRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PollRenderer.java Thu Apr 26 16:31:01 2007
@@ -220,8 +220,7 @@
     
     if (rc.getFormData() == null)
     {
-      _LOG.warning("The poll component must be inside of a form;  " +
-                   "disabling poll " + elementID);
+      _LOG.warning("POLL_COMPOENT_MUST_INSIDE_FORM", elementID);
       return null;
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyShuttleRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyShuttleRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyShuttleRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyShuttleRenderer.java Thu Apr 26 16:31:01 2007
@@ -102,10 +102,7 @@
       numItems++;
       if (numItems > availableItems)
       {
-        _LOG.severe("The number of items selected for shuttle '" +
-                   clientId +
-                   "' exceeds the total number of items in the shuttle." +
-                   " No selected items will be returned.");
+        _LOG.severe("SELECTED_SHUTTLE_ITEMS_EXCEEDED_TOTAL_NUMBER", clientId);
         return new String[0];
       }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailRenderer.java Thu Apr 26 16:31:01 2007
@@ -267,8 +267,7 @@
     FormData fData = arc.getFormData();
     if (fData == null)
     {
-      _LOG.warning("showDetail is not in a form, and " +
-                   "will not function correctly");
+      _LOG.warning("SHOWDETAIL_NOT_IN_FORM_WILLNOT_FUNCTION_PROPERLY");
       return;
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyRenderer.java Thu Apr 26 16:31:01 2007
@@ -613,9 +613,7 @@
     {
       if (_LOG.isWarning())
       {
-        _LOG.warning(
-          "Some entries in value of {0} not found in SelectItems: {1}",
-          new Object[]{component, valueList});
+        _LOG.warning("SOME_ENTRIES_NOT_FOUND_IN_SELECTITEMS", new Object[]{component, valueList});
       }
     }
 
@@ -660,4 +658,5 @@
   static private final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(
     EditableValueRenderer.class);
 }
+
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneRenderer.java Thu Apr 26 16:31:01 2007
@@ -503,8 +503,7 @@
       if ((value != null) && (index < 0))
       {
         if (_LOG.isWarning())
-          _LOG.warning("Could not find selected item matching value \"{0}\" " +
-                       "in {1}", new Object[]{value, component});
+          _LOG.warning("CANNOT_FIND_SELECTED_ITEM_MATCHING_VALUE", new Object[]{value, component});
       }
 
       return index;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TableRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TableRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TableRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TableRenderer.java Thu Apr 26 16:31:01 2007
@@ -432,9 +432,7 @@
     {
       // see bug 2633464
       if (_LOG.isWarning())
-        _LOG.warning("Table with id: "
-                     + tContext.getTableId()
-                     + " has no visible columns!");
+        _LOG.warning("TABLE_HAS_NO_VISIABLE_COLUMN", tContext.getTableId());
 
       ResponseWriter writer = context.getResponseWriter();
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TreeRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TreeRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TreeRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TreeRenderer.java Thu Apr 26 16:31:01 2007
@@ -145,7 +145,7 @@
     FormData fd = rc.getFormData();
     if (fd == null)
     {
-      _LOG.warning("The tree component must be used inside of a form.");
+      _LOG.warning("TREE_COMPONENT_MUST_INSIDE_FORM");
       return;
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlUtils.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlUtils.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlUtils.java Thu Apr 26 16:31:01 2007
@@ -132,7 +132,7 @@
       if (scriptlet == null)
       {
         if (_LOG.isWarning())
-          _LOG.warning("Couldn't find scriptlet: " + libKey);
+          _LOG.warning("CANNOT_FIND_SCRIPTLET", libKey);
       }
       else
       {

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/jsLibs/AliasedScriptlet.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/jsLibs/AliasedScriptlet.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/jsLibs/AliasedScriptlet.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/jsLibs/AliasedScriptlet.java Thu Apr 26 16:31:01 2007
@@ -170,8 +170,7 @@
       // Failure to get an InputStream here indicates a
       // serious problem - likely in the UIX build system -
       // so make some noise
-      _LOG.severe("Unable to get resource {0}",
-                  _JAVASCRIPT_ALIAS_FILE);
+      _LOG.severe("UNABLE_GET_RESOURCE",_JAVASCRIPT_ALIAS_FILE);
       throw new AssertionError();
     }
     else

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/jsLibs/LibraryScriptlet.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/jsLibs/LibraryScriptlet.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/jsLibs/LibraryScriptlet.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/jsLibs/LibraryScriptlet.java Thu Apr 26 16:31:01 2007
@@ -176,10 +176,7 @@
           debugJavascript.equalsIgnoreCase("true"))
       {
         _debugJavascript = Boolean.TRUE;
-        _LOG.info("Apache Trinidad is running with debug javascript." +
-                  " Do not use in a production environment."+
-                  " See the "+_DEBUG_JAVASCRIPT+" parameter in"+
-                  " /WEB-INF/web.xml");
+        _LOG.info("RUNNING_DEBUG_JAVASCRIPT");
       }
       else
       {

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/BandingData.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/BandingData.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/BandingData.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/BandingData.java Thu Apr 26 16:31:01 2007
@@ -54,7 +54,7 @@
     int interval = (num != null) ? num.intValue() : 0;
     if (interval < 0)
     {
-      _LOG.warning("Illegal value:{0} for {1}", new Object[] {interval, key});
+      _LOG.warning("ILLEGAL_VALUE", new Object[] {interval, key});
       interval = 0;
     }
     return interval;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/ColumnData.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/ColumnData.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/ColumnData.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/ColumnData.java Thu Apr 26 16:31:01 2007
@@ -422,7 +422,7 @@
       data.dataFormat = ICON_FORMAT;
     else
     {
-      _LOG.warning("Unknown value for align:" + format);
+      _LOG.warning("UNKNOWN_VALUE_FOR_ALIGN", format);
     }
   }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TableSelectOneRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TableSelectOneRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TableSelectOneRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TableSelectOneRenderer.java Thu Apr 26 16:31:01 2007
@@ -135,8 +135,7 @@
 
     if (tContext == null)
     {
-      _LOG.severe("tableSelect components may only be used inside table and " +
-                  "treeTable");
+      _LOG.severe("TABLESELECT_COMPONENT_MAY_ONLY_INSIDE_TABLE_AND_TREETABLE");
       return;
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TreeTableRenderingContext.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TreeTableRenderingContext.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TreeTableRenderingContext.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TreeTableRenderingContext.java Thu Apr 26 16:31:01 2007
@@ -67,7 +67,7 @@
     }
     else
     {
-      _LOG.warning("nodeStamp facet on treeTable:{0} is missing or not of type UIXColumn", getTableId());
+      _LOG.warning("NODESTAMP_FACET_ON_TREETABLE_MISSING_OR_NOT_UIXCOLUMN_TYPE", getTableId());
       _nodeStamp = null;
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TreeUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TreeUtils.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TreeUtils.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TreeUtils.java Thu Apr 26 16:31:01 2007
@@ -331,8 +331,7 @@
         {
           if (focusRowKey == null)
           {
-            _LOG.severe("Unexpected tree state: focus rowKey is empty on an " +
-                        "expand/collapse all request.");
+            _LOG.severe("UNEXPECTED_TREE_STATE");
             return;
           }
           else

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?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- 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 Thu Apr 26 16:31:01 2007
@@ -284,7 +284,7 @@
   {
     if (formName == null)
     {
-      _LOG.warning("Page contains no form, it will not work properly");
+      _LOG.warning("PAGE_NOT_CONTAIN_FORM_ELEMENT");
       return null;
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/uix/PanelTabbedRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/uix/PanelTabbedRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/uix/PanelTabbedRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/uix/PanelTabbedRenderer.java Thu Apr 26 16:31:01 2007
@@ -61,7 +61,7 @@
         }
       } else
       {
-        _LOG.warning("Only tr:showDetailItem is allowed as child of tr:panelTabbed.");
+        _LOG.warning("ONLY_SHOWDETAILITEM_ALLOWED_AS_PANELTABBED_CHILD");
       }
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/uix/ProgressRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/uix/ProgressRenderer.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/uix/ProgressRenderer.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/uix/ProgressRenderer.java Thu Apr 26 16:31:01 2007
@@ -74,9 +74,7 @@
     Object modelObject = attrs.get(UIConstants.VALUE_PARAM);
     if (modelObject == null || !(modelObject instanceof BoundedRangeModel))
     {
-      _LOG.warning("Value for component with id '" +
-        component.getId() +
-        "' is not a valid BoundedRangeModel instance");
+      _LOG.warning("COMPONENT_VALUE_IS_NOT_VALID_BOUNDEDRANGEMODEL_INSTANCE", component.getId());
     }
     super.encodeBegin(context, component);
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/LocaleElementsResourceLoader.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/LocaleElementsResourceLoader.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/LocaleElementsResourceLoader.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/LocaleElementsResourceLoader.java Thu Apr 26 16:31:01 2007
@@ -77,8 +77,7 @@
       }
       else
       {
-        _LOG.warning("Resource \"" + _LIBRARIES[i] +
-                     "\" at path \"" + path + "\" not found");
+        _LOG.warning("RESOURCE_NOT_FOUND", new Object[]{_LIBRARIES[i], path});
       }
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/TranslationsResourceLoader.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/TranslationsResourceLoader.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/TranslationsResourceLoader.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/TranslationsResourceLoader.java Thu Apr 26 16:31:01 2007
@@ -105,7 +105,8 @@
     }
     catch (MissingResourceException mre)
     {
-      _LOG.severe("Could not find bundle " + getBundleName(), mre);
+      _LOG.severe("CANNOT_FIND_BUNDLE", getBundleName());
+      _LOG.severe(mre);
       return "/* COULD NOT FIND BUNDLE " + getBundleName() + " */";
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/share/xml/BaseNodeParser.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/share/xml/BaseNodeParser.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/share/xml/BaseNodeParser.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/share/xml/BaseNodeParser.java Thu Apr 26 16:31:01 2007
@@ -136,7 +136,7 @@
     String       localName)
   {
     if (_LOG.isWarning())
-      _LOG.warning(localName + " is not an understood child element");
+      _LOG.warning("NOT_UNDERSTOOD_CHILD_NAME", localName);
   }
 
   protected void logUnexpectedAttribute(

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/share/xml/beans/BeanParser.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/share/xml/beans/BeanParser.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/share/xml/beans/BeanParser.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/share/xml/beans/BeanParser.java Thu Apr 26 16:31:01 2007
@@ -116,7 +116,7 @@
     {
       if (_currentPropDefUsed)
       {
-        _LOG.warning("Only one child element is allowed here.");
+        _LOG.warning("ONLY_ONE_CHILD_ELEMENT_ALLOWED");
         return null;
       }
 
@@ -501,16 +501,13 @@
             {
               if (defaultNamespace)
               {
-                _LOG.warning("Could not parse value of attribute: "
-                             + attrLocalName,
-                             iae);
+                _LOG.warning("CANNOT_PARSE_ATTRIBUTE_VALUE", attrLocalName);
+                _LOG.warning(iae);
               }
               else
               {
-                _LOG.warning("Could not parse value of attribute: "
-                             + attrLocalName +
-                             ", namespace=" + attrNamespace,
-                             iae);
+                _LOG.warning("CANNOT_PARSE_ATTRIBUTE_VALUE_NAMESPACE", new Object[] {attrLocalName, attrNamespace});
+                _LOG.warning(iae);
               }
             }
           }
@@ -545,10 +542,9 @@
     if (_LOG.isWarning())
     {
       if ("".equals(namespaceURI))
-        _LOG.warning("Unknown attribute: " + localName);
+        _LOG.warning("UNKNOWN_ATTRIBUTE", localName);
       else
-        _LOG.warning("Unknown attribute: " + localName +
-                     ", namespace=" + namespaceURI);
+        _LOG.warning("UNKNOWN_ATTRIBUTE_NAMESPACE", new Object[]{localName, namespaceURI});
     }
   }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinCSSDocumentHandler.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinCSSDocumentHandler.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinCSSDocumentHandler.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinCSSDocumentHandler.java Thu Apr 26 16:31:01 2007
@@ -134,9 +134,7 @@
     {
       if (name == null || "".equals(name))
       {
-        _LOG.severe("Error when parsing the skin css file. The property's name " +
-        "cannot be null or the empty string. The parser will ignore it. " +
-        "name is '" + name + "' and value is '"+ value + "'");
+        _LOG.severe("ERR_PARSING_SKIN_CSS_FILE", new Object[] {name, value});
       }
       else
         _propertyNodeList.add(new PropertyNode(name, value));

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinCSSParser.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinCSSParser.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinCSSParser.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinCSSParser.java Thu Apr 26 16:31:01 2007
@@ -80,8 +80,7 @@
           {
             if (_LOG.isWarning())
             {
-              _LOG.warning("Ignoring properties " + properties +
-               " because there is no corresponding selector.");
+              _LOG.warning("IGNORING_PROPERTIES_WITHOUT_SELECTOR", properties);
             }
           }
           _documentHandler.endSelector(selectorList);
@@ -398,7 +397,7 @@
       {
         if (_LOG.isSevere())
         {
-          _LOG.severe("Error reading from the skin css file", e);
+          _LOG.severe("ERR_READING_SKIN_CSS_FILE", e);
         }
         _currentChar = -1;
         return;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinFactoryImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinFactoryImpl.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinFactoryImpl.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinFactoryImpl.java Thu Apr 26 16:31:01 2007
@@ -54,7 +54,7 @@
   {
     if (skinId == null || skin == null)
     {
-      _LOG.warning("Can't add Skin with null skinId or null skin");
+      _LOG.warning("CANNOT_ADD_SKIN");
       return;
     }
 
@@ -79,7 +79,7 @@
 
     if (skinId == null)
     {
-      _LOG.warning("Can't get Skin with null skinId");
+      _LOG.warning("CANNOT_GET_SKIN_WITH_NULL_SKINID");
       return null;
     }
 
@@ -140,9 +140,7 @@
     // that matches the renderkitid.
      if (_LOG.isWarning())
      {
-       _LOG.warning("Can't find a skin that matches family " + family +
-                    " and renderkit " + renderKitId + ", so we will" +
-                    " use the simple skin");
+       _LOG.warning("CANNOT_FIND_MATCHING_SKIN", new Object[]{family, renderKitId});
      }
 
     // if we get here, that means we couldn't find an exact

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinStyleSheetParserUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinStyleSheetParserUtils.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinStyleSheetParserUtils.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinStyleSheetParserUtils.java Thu Apr 26 16:31:01 2007
@@ -741,8 +741,7 @@
         }
         catch (IOException io)
         {
-          _LOG.warning("Could not get the stylesheet document's timestamp because we couldn't " +
-          "open the connection.");
+          _LOG.warning("CANNOT_GET_STYLESHEET_DOCUMENT_TIMESTAMP");
         }
 
       }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinUtils.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinUtils.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinUtils.java Thu Apr 26 16:31:01 2007
@@ -490,10 +490,7 @@
       
       if (skinExtends != null)
       {
-        _LOG.severe("Unable to locate base skin \"{0}\" for " +
-                    "use in defining skin of id \"{1}\", family " +
-                    "\"{2}\", renderkit ID \"{3}\". Using the default base skin \"{4}\".",
-                    new String[]{skinExtends, id, family, renderKitId, baseSkin.getId()});
+        _LOG.severe("UNABLE_LOCATE_BASE_SKIN", new String[]{skinExtends, id, family, renderKitId, baseSkin.getId()});
       }
 
     }
@@ -581,13 +578,15 @@
         }
         catch (Exception e)
         {
-         _LOG.warning("Error parsing:"+url, e);
+         _LOG.warning("ERR_PARSING", url);
+         _LOG.warning(e);
         }
       }
     }
     catch (IOException e)
     {
-      _LOG.severe("error loading file:"+ _META_INF_CONFIG_FILE, e);
+      _LOG.severe("ERR_LOADING_FILE", _META_INF_CONFIG_FILE);
+      _LOG.severe(e);
     }
     
     return allSkinsNodes;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/StyleSheetEntry.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/StyleSheetEntry.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/StyleSheetEntry.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/StyleSheetEntry.java Thu Apr 26 16:31:01 2007
@@ -255,7 +255,8 @@
      catch (Exception e)
      {
        if (_LOG.isSevere())
-         _LOG.severe("Could not load style sheet: " + styleSheetName, e);
+         _LOG.severe("CANNOT_LOAD_STYLESHEET", styleSheetName);
+         _LOG.severe(e);
 
      }
       return null;
@@ -279,7 +280,8 @@
     catch (Exception e)
     {
       if (_LOG.isSevere())
-        _LOG.severe("Could not load style sheet: " + styleSheetName, e);
+        _LOG.severe("CANNOT_LOAD_STYLESHEET", styleSheetName);
+        _LOG.severe(e);
     }
 
     return null;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/cache/FileSystemStyleCache.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/cache/FileSystemStyleCache.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/cache/FileSystemStyleCache.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/cache/FileSystemStyleCache.java Thu Apr 26 16:31:01 2007
@@ -233,7 +233,8 @@
     catch (IOException e)
     {
       if (_LOG.isWarning())
-        _LOG.warning("IOException during parse of " + _sourceFile, e);
+        _LOG.warning("IOEXCEPTION_IN_PHASE", _sourceFile);
+        _LOG.warning(e);
     }
 
     return document;
@@ -582,7 +583,7 @@
     if ((e == null) || !e.hasNext())
     {
       if (_LOG.isWarning())
-        _LOG.warning("No styles found context - " + context);
+        _LOG.warning("NO_STYLES_FOUND_CONTEXT", context);
       return null;
     }
 
@@ -642,7 +643,8 @@
     catch (IOException e)
     {
       if (_LOG.isWarning())
-        _LOG.warning("IOException while creating file: " + outputFile, e);
+        _LOG.warning("IOEXCEPTION_CREATING_FILE", outputFile);
+        _LOG.warning(e);
     }
 
     if (!created)
@@ -750,7 +752,8 @@
     catch (IOException e)
     {
       if (_LOG.isWarning())
-        _LOG.warning("IOException while opening file for writing: " + file, e);
+        _LOG.warning("IOEXCEPTION_OPENNING_FILE", file);
+        _LOG.warning(e);
     }
 
     return out;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/util/CSSGenerationUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/util/CSSGenerationUtils.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/util/CSSGenerationUtils.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/util/CSSGenerationUtils.java Thu Apr 26 16:31:01 2007
@@ -324,9 +324,7 @@
       "The selectors after that will be ignored. */");
       if (_LOG.isWarning())
       {
-        _LOG.warning("The css file has hit IE's limit of 4095 CSS selectors. It has " +
-        numberSelectorsWritten + " selectors. " +
-        "The selectors after that will be ignored. ");
+        _LOG.warning("CSS_FILE_HIT_IE_LIMIT_OF_CSS_SELECTOR", numberSelectorsWritten);
       }
     }
 
@@ -821,8 +819,7 @@
       if (_LOG.isWarning() &&
           (wholeAfSelector.lastIndexOf("::") != colonIndex))
       {
-        _LOG.warning("Consecutive sub-element (::) syntax used in selector " +
-                     selector + ".  This is not supported.");
+        _LOG.warning("UNSUPPORTED_CONSECUTIVE_SUB_ELEMENT_SYNTAX", selector);
       }
 
       colonIndex += 2;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/util/CSSUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/util/CSSUtils.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/util/CSSUtils.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/util/CSSUtils.java Thu Apr 26 16:31:01 2007
@@ -81,13 +81,7 @@
         {
           // TODO: Add a list of property names expecting an URL here, 
           // "content" maybe?
-          _LOG.warning("An url value delimited by url() is expected for " +
-                       "the property '" +
-                       propertyName + 
-                       "' in style sheet '" +
-                       styleSheetName + 
-                       "'. Found: '" + 
-                       propertyValue + "'.");
+          _LOG.warning("URL_VALUE_EXPECTED_FOR_PROPERTY_IN_STYLE_SHEET", new Object[]{propertyName, styleSheetName, propertyValue});
         }
       }
       return propertyValue;
@@ -197,10 +191,7 @@
       int lastSepIndex = strippedBaseURI.lastIndexOf('/');
       if (lastSepIndex < 0)
       {
-        _LOG.warning("Invalid image uri '" +
-                     uri +
-                     "' in style sheet '" +
-                     styleSheetName);
+        _LOG.warning("INVALID_IMAGE_URI_IN_STYLE_SHEET", new Object[]{uri, styleSheetName});
 
         break;
       }
@@ -825,8 +816,7 @@
       if(uriLength == 0)
       {
         // url() or url('') found, should not happen.
-        _LOG.warning("An empty URL was found in style sheet'" +
-                     styleSheetName + "'.");
+        _LOG.warning("EMPTY_URL_IN_STYLE_SHEET", styleSheetName);
       }
       
       builder.append("url(");

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/xml/parse/StyleNodeParser.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/xml/parse/StyleNodeParser.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/xml/parse/StyleNodeParser.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/xml/parse/StyleNodeParser.java Thu Apr 26 16:31:01 2007
@@ -58,8 +58,7 @@
 
     // Name or selector should be specified
     if ((_name == null) && (_selector == null) && _LOG.isWarning())
-      _LOG.warning("<style> elements must have either a name " +
-                   "or a selector attribute");
+      _LOG.warning("ELEMENT_MUST_HAVE_NAME_ATTRIBUTE");
   }
 
   /**

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/xml/parse/StyleSheetDocumentParser.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/xml/parse/StyleSheetDocumentParser.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/xml/parse/StyleSheetDocumentParser.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/xml/parse/StyleSheetDocumentParser.java Thu Apr 26 16:31:01 2007
@@ -129,7 +129,8 @@
       catch (IOException e)
       {
         if (_LOG.isWarning())
-          _LOG.warning("Could not parse import: " + href, e);
+          _LOG.warning("CANNOT_PARSE_IMPORT", href);
+          _LOG.warning(e);
       }
 
       return this;
@@ -214,7 +215,7 @@
   {
     if (href == null)
     {
-      _LOG.warning("Import missing required href attribute");
+      _LOG.warning("MISSING_REQUIRED_HREF");
       return;
     }
 
@@ -298,8 +299,7 @@
         }
         catch (IOException io)
         {
-          _LOG.warning("Could not get the stylesheet document's timestamp because we couldn't " +
-          "open the connection.");
+          _LOG.warning("CANNOT_GET_STYLESHEET_DOCUMENT_TIMESTAMP");
         }
 
       }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/ComponentRefTag.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/ComponentRefTag.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/ComponentRefTag.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/ComponentRefTag.java Thu Apr 26 16:31:01 2007
@@ -140,7 +140,7 @@
 
     if (regionType == null)
     {
-      _LOG.severe("'componentType' attribute is required");
+      _LOG.severe("REQUIRE_COMPONENTTYPE_ATTRIBUTE");
     }
     else
 processRegion:
@@ -151,8 +151,7 @@
       ComponentMetaData cmd = (ComponentMetaData) rmd.getRegionConfig(regionType);
       if (cmd == null)
       {
-        _LOG.severe("Could not find metadata for componentType:{0} in region-metadata",
-          regionType);
+        _LOG.severe("CANNOT_FIND_COMPONENTTYPE_METADATA_IN_REGION_METADATA", regionType);
         break processRegion;
       }
 
@@ -178,7 +177,7 @@
             pageContext.getRequest(), pageContext.getResponse());
         }
         else
-          _LOG.severe("There was no jspUri for componentType:"+regionType);
+          _LOG.severe("NO_COMPONENTTYPE_JSPURI",regionType);
       }
       catch (IOException e)
       {
@@ -226,8 +225,7 @@
         // required:
         else if (attr.isRequired())
         {
-          _LOG.severe("attribute:{0} is missing on componentType:{1}",
-                      new Object[] {name, regionType});
+          _LOG.severe("COMPONENTTYPE_MISSING_ATTRIBUTE", new Object[] {name, regionType});
           hasErrors = true;
         }
       }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/FacetRefTag.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/FacetRefTag.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/FacetRefTag.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/FacetRefTag.java Thu Apr 26 16:31:01 2007
@@ -52,7 +52,7 @@
     UIComponentTag tag = UIComponentTag.getParentUIComponentTag(pageContext);
     if (tag == null)
     {
-      _LOG.warning("facetRef must be inside of a UIComponent tag.");
+      _LOG.warning("FACETREF_MUST_INSIDE_UICOMPONENT");
       return SKIP_BODY;
     }
 
@@ -60,7 +60,7 @@
     UIComponent region = _getRegionComponent(component);
     if (region == null)
     {
-      _LOG.warning("Cannot find parent <tr:componentRef>");
+      _LOG.warning("CANNOT_FIND_PARENT_COMPONENTREF");
       return SKIP_BODY;
     }
     if (_facet != null)
@@ -78,7 +78,7 @@
     }
     else
     {
-      _LOG.warning("facetName is required on facetRef");
+      _LOG.warning("FACETNAME_REQUIRED");
     }
 
     return SKIP_BODY;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/ValidatorTag.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/ValidatorTag.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/ValidatorTag.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/ValidatorTag.java Thu Apr 26 16:31:01 2007
@@ -67,7 +67,7 @@
         UIComponentTag.getParentUIComponentTag(pageContext);
     if (tag == null)
     {
-      _LOG.severe("validator tag is not inside a UIComponent.");
+      _LOG.severe("VALIDATOR_NOT_INSIDE_UICOMPONENT");
       return SKIP_BODY;
     }
 
@@ -83,8 +83,7 @@
       }
       else
       {
-        _LOG.warning("could not create validator for validatorId:{0} and binding:{1}",
-          new String[] {_validatorId, _binding});
+        _LOG.warning("CANNOT_CREATE_VALIDATOR", new String[] {_validatorId, _binding});
       }
     }
 
@@ -131,7 +130,7 @@
       return validator;
     }
     else
-      _LOG.severe("attribute 'validatorId' is missing");
+      _LOG.severe("MISSING_VALIDATORID");
 
     return null;
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/util/TagUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/util/TagUtils.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/util/TagUtils.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/util/TagUtils.java Thu Apr 26 16:31:01 2007
@@ -257,8 +257,7 @@
     }
     catch (ParseException pe)
     {
-      _LOG.info("Could not parse value {0} into a Date using " +
-                "pattern \"yyyy-MM-dd\";  ignoring.", stringValue);
+      _LOG.info("CANNOT_PARSE_VALUE_INTO_DATE_WITH_YYYY_MM_DD_PATTERN", stringValue);
       return null;
     }
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/BaseUINode.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/BaseUINode.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/BaseUINode.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/BaseUINode.java Thu Apr 26 16:31:01 2007
@@ -392,12 +392,11 @@
 
         if (factory == null)
         {
-          _LOG.warning("No RendererFactory registered for components in namespace "
-                       + getNamespaceURI());
+          _LOG.warning("NO_RENDERERFACTORY_REGISTERED_COMPONENT", getNamespaceURI());
         }
         else
         {
-          _LOG.warning("No Renderer registered for " + this);
+          _LOG.warning("NO_RENDERER_REGISTERED", this);
         }
       }
     }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/ClassRendererInstantiator.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/ClassRendererInstantiator.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/ClassRendererInstantiator.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/ClassRendererInstantiator.java Thu Apr 26 16:31:01 2007
@@ -71,10 +71,8 @@
     Throwable e
     )
   {
-    _LOG.severe("Instantiation of Renderer " +
-                _className                   +
-                " failed.",
-                e);
+    _LOG.severe("RENDERER_INSTANTIATION_FAILED", _className);
+    _LOG.severe(e);
   }
 
   private String _className;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/RootRenderingContext.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/RootRenderingContext.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/RootRenderingContext.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/RootRenderingContext.java Thu Apr 26 16:31:01 2007
@@ -690,7 +690,7 @@
     }
     catch (Exception e)
     {
-      _LOG.severe("Could not get image cache", e);
+      _LOG.severe("CANNOT_GET_IMAGE_CACHE", e);
     }
 
     if (provider == null)

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/data/bean/BeanAdapterUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/data/bean/BeanAdapterUtils.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/data/bean/BeanAdapterUtils.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/data/bean/BeanAdapterUtils.java Thu Apr 26 16:31:01 2007
@@ -153,9 +153,7 @@
 
     if (_LOG.isInfo())
     {
-      _LOG.info("Cannot convert " + listInstance
-                + " of class:"+ listInstance.getClass()
-                + " into DataObjectList");
+      _LOG.info("CANNOT_CONVERT_INTO_DATAOBJECTLIST", new Object[]{listInstance, listInstance.getClass()});
     }
 
     return null;



Mime
View raw message