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 [1/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
Author: jwaldman
Date: Thu Apr 26 16:31:01 2007
New Revision: 532908

URL: http://svn.apache.org/viewvc?view=rev&rev=532908
Log:
ADFFACES-441 Adding localization to logging message and exception
patch 3a/3b (April 26, 2007) applied for Jijun Wang. 
I added the apache license comment at the top of the xrts/dtd files since they were missing in the patch.

Added:
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/LoggerBundle.xrts
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/rts.dtd
Modified:
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXComponentRefTemplate.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXShowDetailTemplate.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/FacesBeanFactory.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ChangeComponentProxy.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ChangeManager.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/TreeState.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/RenderingContext.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/DateTimeConverter.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/NumberConverter.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/logging/TrinidadLogger.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/RowKeySetImpl.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/SortableModel.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/ViewIdPropertyMenuModel.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/XMLMenuModel.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/resource/AggregatingResourceLoader.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/skin/Icon.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/ClassLoaderUtils.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/LocaleUtils.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/ResourceServlet.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/TrinidadFilter.java
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/UIXComponentTag.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentFactoryImpl.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentImpl.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/CapabilitiesProvider.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/TrinidadAgentImpl.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesDocument.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesDocumentParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesNodeParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilityDataDocumentParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/DeviceNodeParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/IncludeNodeParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/StateManagerImpl.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/ConfigParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/GlobalConfiguratorImpl.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/upload/UploadRequestWrapper.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/DialogServiceImpl.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/external/ServletExternalContext.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/ColorConverter.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/ConverterUtils.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/DateTimeConverter.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/image/PropertyInstantiator.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/image/cache/Cache.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/image/encode/OracleGIFEncoder.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/DebugHtmlResponseWriter.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/DebugResponseWriter.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/HtmlResponseWriter.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/XhtmlResponseWriter.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/menu/MenuContentHandlerImpl.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/menu/MenuUtils.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/metadata/RegionMetadata.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/ClassRendererInstantiator.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/RenderKitBase.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderKit.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderingContext.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/StyleContextImpl.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/ChartRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/TrainRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/TreeTableRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/FrameRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/TrainRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/ppr/PPRResponseWriter.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ChooseDateRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ColumnGroupRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ColumnRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/CoreFormData.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameBorderLayoutRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/NavigationPaneRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelAccordionRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelPartialRootRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PollRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyShuttleRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TableRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TreeRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlUtils.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/jsLibs/AliasedScriptlet.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/jsLibs/LibraryScriptlet.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/BandingData.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/ColumnData.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TableSelectOneRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TreeTableRenderingContext.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TreeUtils.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/uix/PanelTabbedRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/uix/ProgressRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/LocaleElementsResourceLoader.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/TranslationsResourceLoader.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/share/xml/BaseNodeParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/share/xml/beans/BeanParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinCSSDocumentHandler.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinCSSParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinFactoryImpl.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinStyleSheetParserUtils.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/SkinUtils.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/skin/StyleSheetEntry.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/cache/FileSystemStyleCache.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/util/CSSGenerationUtils.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/util/CSSUtils.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/xml/parse/StyleNodeParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/style/xml/parse/StyleSheetDocumentParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/ComponentRefTag.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/FacetRefTag.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/ValidatorTag.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/util/TagUtils.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/BaseUINode.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/ClassRendererInstantiator.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/RootRenderingContext.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/data/bean/BeanAdapterUtils.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/data/bind/ConvertBoundValue.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/UnsupportedRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/ProcessingRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/ResetButtonRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/TreeRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/AccentedLafIconProvider.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/AliasRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FlippedIconRequest.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FormValueRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/ResetButtonRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLafRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLafUtils.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/InstanceIconParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/SkinAdditionNodeParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/SkinNodeParser.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/uinode/UIComponentUINode.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/uinode/UIXComponentUINode.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/validator/ByteLengthValidator.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXComponentRefTemplate.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXComponentRefTemplate.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXComponentRefTemplate.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXComponentRefTemplate.java Thu Apr 26 16:31:01 2007
@@ -181,7 +181,7 @@
         return (UIXComponentRef) test;
     }
 
-    _LOG.severe("no parent <tr:componentRef> found!");
+    _LOG.severe("NO_PARENT_COMPONENTREF_FOUND");
     return null;
   }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXShowDetailTemplate.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXShowDetailTemplate.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXShowDetailTemplate.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXShowDetailTemplate.java Thu Apr 26 16:31:01 2007
@@ -84,8 +84,7 @@
       // problems.  So in either case, warn the developer.
       if (isDisclosed == isDisclosed())
       {
-        _LOG.warning("Event {0} was delivered to a showDetail "+
-                     "already in that disclosure state.", event);
+        _LOG.warning("EVENT_DELIVERED_ALREADY_IN_DISCLOSURE_STATE", event);
       }
       else
       {

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/FacesBeanFactory.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/FacesBeanFactory.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/FacesBeanFactory.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/FacesBeanFactory.java Thu Apr 26 16:31:01 2007
@@ -80,15 +80,18 @@
     }
     catch (ClassNotFoundException cnfe)
     {
-      _LOG.severe("Could not find FacesBean class " + className, cnfe);
+      _LOG.severe("CANNOT_FIND_FACESBEAN", className);
+      _LOG.severe(cnfe);
     }
     catch (IllegalAccessException iae)
     {
-      _LOG.severe("Could not create instance of FacesBean " + className, iae);
+      _LOG.severe("CANNOT_CREATE_FACESBEAN_INSTANCE", className);
+      _LOG.severe(iae);
     }
     catch (InstantiationException ie)
     {
-      _LOG.severe("Could not create instance of FacesBean " + className, ie);
+      _LOG.severe("CANNOT_CREATE_FACESBEAN_INSTANCE", className);
+      _LOG.severe(ie);
     }
 
     return null;
@@ -119,7 +122,7 @@
     if (list.isEmpty())
     {
       if (_LOG.isInfo())
-        _LOG.info("No faces-bean.properties files located");
+        _LOG.info("NO_FACES_BEAN_PROPERTIES_FILES_LOCATED");
     }
 
     for(URL url : list)
@@ -149,7 +152,8 @@
     }
     catch (IOException ioe)
     {
-      _LOG.severe("Could not load " + url, ioe);
+      _LOG.severe("CANNOT_LOAD_URL", url);
+      _LOG.severe(ioe);
     }
   }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ChangeComponentProxy.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ChangeComponentProxy.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ChangeComponentProxy.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ChangeComponentProxy.java Thu Apr 26 16:31:01 2007
@@ -73,17 +73,13 @@
     }
     catch (InstantiationException ie)
     {
-      _LOG.warning(
-        "Error on trying to create new component instance for " +
-          clazz.getName(),
-        ie);
+      _LOG.warning("ERR_CREATE_NEW_COMPONENT_INSTANCE", clazz.getName());
+      _LOG.warning(ie);
     }
     catch (IllegalAccessException iae)
     {
-      _LOG.warning(
-        "Error on trying to create new component instance for " +
-          clazz.getName(),
-        iae);
+      _LOG.warning("ERR_CREATE_NEW_COMPONENT_INSTANCE", clazz.getName());
+      _LOG.warning(iae);
     }
     return uic;
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ChangeManager.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ChangeManager.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ChangeManager.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ChangeManager.java Thu Apr 26 16:31:01 2007
@@ -102,12 +102,13 @@
           else
           {
             // log warning because class isn't correct type
-            _LOG.warning("Conversion class:" + converterClass + " not of type " + DocumentChangeFactory.class); // NOTRANS
+            _LOG.warning("CONVERSION_CLASS_TYPE", new Object[] {converterClass, DocumentChangeFactory.class}); // NOTRANS
           }
         }
         catch (Throwable e)
         {
-          _LOG.warning("Unable to instantiate converterClass:" + converterName, e); // NOTRANS
+          _LOG.warning("UNABLE_INSTANTIATE_CONVERTERCLASS", converterName); // NOTRANS
+          _LOG.warning(e);
         }
 
 	// if the registered converter class name doesn't work remove

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/TreeState.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/TreeState.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/TreeState.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/TreeState.java Thu Apr 26 16:31:01 2007
@@ -77,10 +77,7 @@
     if (arrayCount + transientCount != childCount)
     {
       if (_LOG.isWarning())
-        _LOG.warning(
-            "Saved child count does not match current count " +
-            "(was " + arrayCount + ", now " + childCount + "); " +
-            "discarding saved children state for " + component);
+        _LOG.warning("SAVED_CHILD_COUNT_NOT_MATCH", new Object[] {arrayCount, childCount});
     }
 
     else
@@ -112,8 +109,7 @@
       if (facetCount < component.getFacetCount())
       {
         if (_LOG.isWarning())
-          _LOG.warning("State for some facets of " + component +
-                       "is missing, and will not be restored.");
+          _LOG.warning("FACETS_STATE_MISSING_WILLNOT_RESTORE", component);
       }
 
 
@@ -131,10 +127,7 @@
         if (facet == null)
         {
           if (_LOG.isWarning())
-            _LOG.warning("Saved facet state includes state for " +
-                         "facet \"" + facetName + "\" which is not " +
-                         "present in restored tree; discarding this " +
-                         "state.");
+            _LOG.warning("DISCARDING_SAVED_STATE", facetName);
         }
         else
         {
@@ -143,8 +136,7 @@
             if (facetState != null)
             {
               if (_LOG.isWarning())
-                _LOG.warning("Saved state includes state for a " +
-                             "transient component: " + facet);
+                _LOG.warning("SAVED_STATE_INCLUDE_TRANSIENT_COMPONENT_STATE", facet);
             }
           }
           else

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java Thu Apr 26 16:31:01 2007
@@ -644,7 +644,7 @@
 
     if (rowkey == null)
     {
-      _LOG.severe("Could not find rowKey for clientRowKey:"+clientRowKey);
+      _LOG.severe("CANNOT_FIND_ROWKEY",clientRowKey);
     }
     else
       setRowKey(rowkey);
@@ -1188,9 +1188,7 @@
         state = stampState.get(iniStateObj, stampId);
         if (state==null)
         {
-          _LOG.severe("There was no initial stamp state for currencyKey:"+
-                      currencyObj+" and currencyKeyForInitialStampState:"+
-                      iniStateObj+" and stampId:"+stampId);
+          _LOG.severe("NO_INITIAL_STAMP_STATE", new Object[]{currencyObj,iniStateObj,stampId});
           continue;
         }
       }

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java Thu Apr 26 16:31:01 2007
@@ -1067,8 +1067,7 @@
       Renderer renderer = renderKit.getRenderer(getFamily(), rendererType);
       if (renderer == null)
       {
-        _LOG.warning("Could not find renderer for " + this +
-                     ", rendererType = " + rendererType);
+        _LOG.warning("CANNOT_FIND_RENDERER", new Object[]{this, rendererType});
       }
 
       return renderer;
@@ -1356,7 +1355,7 @@
     }
     catch (Exception e)
     {
-      _LOG.severe("Could not load type properties", e);
+      _LOG.severe("CANNOT_LOAD_TYPE_PROPERTIES", e);
     }
 
     // For testing purposes, return a valid Type

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/RenderingContext.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/RenderingContext.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/RenderingContext.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/RenderingContext.java Thu Apr 26 16:31:01 2007
@@ -78,8 +78,7 @@
     {
       // Instead of halting execution, return "???<key>???",
       // just like JSF and JSTL will do, and log a severe error
-      _LOG.severe("Could not get resource key {0} from skin {1}",
-                  new String[]{key, getSkin().getId()});
+      _LOG.severe("CANNOT_GET_RESOURCE_KEY", new String[]{key, getSkin().getId()});
       return "???" + key + "???";
     }
   }
@@ -143,8 +142,7 @@
     // this scenario from #1.
     if (o != null)
     {
-      _LOG.warning("Trying to attach RenderingContext " +
-                   "to a thread that already had one.");
+      _LOG.warning("TRYING_ATTACH_RENDERERINGCONTEXT");
     }
 
     _CURRENT_CONTEXT.set(this);

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/DateTimeConverter.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/DateTimeConverter.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/DateTimeConverter.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/DateTimeConverter.java Thu Apr 26 16:31:01 2007
@@ -1666,7 +1666,7 @@
           cal = null;
           if(_LOG.isWarning())
           {
-            _LOG.warning("Cannot find RequestContext; two-digit-year-start will be defaulted");
+            _LOG.warning("NO_REQUESTCONTEXT_TWO_DIGIT_YEAR_START_DEFAULT");
           }
         }
         else
@@ -1739,7 +1739,7 @@
       RequestContext context = RequestContext.getCurrentInstance();
       if (context == null)
       {
-        _LOG.warning("Cannot find RequestContext;  TimeZone will default.");
+        _LOG.warning("NO_REQUESTCONTEXT_TIMEZONE_DEFAULT");
       }
       else
       {

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/NumberConverter.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/NumberConverter.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/NumberConverter.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/NumberConverter.java Thu Apr 26 16:31:01 2007
@@ -895,11 +895,7 @@
     {
       if (_LOG.isWarning())
       {
-        _LOG.warning("RequestContext is null:"    +
-                     " decimal separator,"         +
-                     " number grouping separator," +
-                     " currency code"              +
-                     " will be defaulted based on locale " + locale.toString());
+        _LOG.warning("NULL_REQUESTCONTEXT", locale.toString());
         }
     }
   }
@@ -1088,7 +1084,7 @@
       }
       else
       {
-        _LOG.warning("RequestContext is null, unable to get currency code");
+        _LOG.warning("NULL_REQUEST_CONTEXT_UNABLE_GET_CURRENCY_CODE");
       }
     }
 
@@ -1113,8 +1109,7 @@
     }
     else
     {  //string cat at compile time.
-      _LOG.warning("Number format was not instance of DecimalFormat: " +
-                   "ignoring currency information while formatting.");
+      _LOG.warning("NUMBER_NOT_DECIMALFORMAT_IGNORE_CURRENCY");
     }
   }
 
@@ -1241,4 +1236,5 @@
 
   private static final int _PATTERN_TYPE  = 4;
 }
+
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/logging/TrinidadLogger.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/logging/TrinidadLogger.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/logging/TrinidadLogger.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/logging/TrinidadLogger.java Thu Apr 26 16:31:01 2007
@@ -73,9 +73,22 @@
   {
     if (name == null)
       throw new IllegalArgumentException("Logger Name required");
-   
-    Logger log = Logger.getLogger(name);
+    
+    Logger log;
 
+    if (name.startsWith("org.apache.myfaces.trinidad."))
+    {
+      log = Logger.getLogger(name, _API_LOGGER_BUNDLE);
+    }
+    else if (name.startsWith("org.apache.myfaces.trinidadinternal."))
+    {
+      log = Logger.getLogger(name, _IMPL_LOGGER_BUNDLE);
+    }
+    else
+    {
+      log = Logger.getLogger(name);
+    }
+    
     return new TrinidadLogger(log);
   }
 
@@ -1702,4 +1715,8 @@
   }
 
   private Logger _log;
+  
+  private static final String _API_LOGGER_BUNDLE = "org.apache.myfaces.trinidad.resource.LoggerBundle";
+
+  private static final String _IMPL_LOGGER_BUNDLE = "org.apache.myfaces.trinidadinternal.resource.LoggerBundle";
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/RowKeySetImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/RowKeySetImpl.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/RowKeySetImpl.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/RowKeySetImpl.java Thu Apr 26 16:31:01 2007
@@ -248,7 +248,7 @@
   {
     _model = model;
     if (model == null)
-      _LOG.warning("CollectionModel was set to null");
+      _LOG.warning("COLLECTIONMODEL_SET_NULL");
   }
 
   /**

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/SortableModel.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/SortableModel.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/SortableModel.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/SortableModel.java Thu Apr 26 16:31:01 2007
@@ -305,7 +305,8 @@
     }
     catch (ClassCastException e)
     {
-      _LOG.warning("Invalid rowkey:" + rowKey + " type:" + rowKey.getClass(), e);
+      _LOG.warning("INVALID_ROWKEY", new Object[]{rowKey , rowKey.getClass()});
+      _LOG.warning(e);
       return -1;
     }
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/ViewIdPropertyMenuModel.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/ViewIdPropertyMenuModel.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/ViewIdPropertyMenuModel.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/ViewIdPropertyMenuModel.java Thu Apr 26 16:31:01 2007
@@ -203,7 +203,7 @@
       }
       else
       {
-        _LOG.warning("The viewId property in ViewIdPropertyMenuModel is null. The viewId property is needed to find the focus rowKey." );
+        _LOG.warning("NULL_VIEWID");
       }
 
       if (tree.isContainer() && !tree.isContainerEmpty())

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/XMLMenuModel.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/XMLMenuModel.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/XMLMenuModel.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/XMLMenuModel.java Thu Apr 26 16:31:01 2007
@@ -506,8 +506,8 @@
        }
        catch (Exception ex)
        {
-         _LOG.warning("EL Expression " + value + 
-                      " is invalid or returned a bad value", ex);
+         _LOG.warning("INVALID_EL_EXPRESSION", value);
+         _LOG.warning(ex);
          return null;
        }
        return elValue;
@@ -536,7 +536,8 @@
     }
     catch (Exception ex)
     {
-      _LOG.severe("Exception opening URI " + uri, ex);
+      _LOG.severe("OPEN_URI_EXCEPTION", uri);
+      _LOG.severe(ex);
       return null;
     }    
   }
@@ -595,7 +596,8 @@
     }
     catch (Exception ex)
     {
-      _LOG.severe(  "Exception creating menu model " + _mdSource, ex);
+      _LOG.severe("ERR_CREATE_MENU_MODEL", _mdSource);
+      _LOG.severe(ex);
       return;
     }
   }

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

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/skin/Icon.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/skin/Icon.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/skin/Icon.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/skin/Icon.java Thu Apr 26 16:31:01 2007
@@ -127,9 +127,7 @@
   {
     // This operation is not supported by default.  Log a warning.
     if (_LOG.isWarning())
-      _LOG.warning("Unable to retrieve image data for icon of type "
-                   + getClass().getName()
-                   + ". Try using ContextImageIcon.");
+      _LOG.warning("UNABLE_RETRIEVE_IMAGE_DATA", getClass().getName());
 
     return null;
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/ClassLoaderUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/ClassLoaderUtils.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/ClassLoaderUtils.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/ClassLoaderUtils.java Thu Apr 26 16:31:01 2007
@@ -261,7 +261,8 @@
           }
           catch (Exception e)
           {
-            _LOG.warning("Error parsing:"+url, e);
+            _LOG.warning("ERR_PARSING_URL",url);
+            _LOG.warning(e);
           }
         } 
         while(urls.hasMoreElements());
@@ -274,7 +275,8 @@
     }
     catch (IOException e)
     {
-      _LOG.severe("error loading resource:"+serviceUri, e);
+      _LOG.severe("ERR_LOADING_RESROUCE",serviceUri);
+      _LOG.severe(e);
     }
 
     return Collections.emptyList();
@@ -303,8 +305,7 @@
   {
     if ((name != null) && name.startsWith("/"))
     {
-      _LOG.warning("Resource name \"" + name + "\" begins with a slash, " +
-                   "which is not portable.");
+      _LOG.warning("RESOURCE_NAME_NOT_PORTABLE", name);
                    
     }
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/LocaleUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/LocaleUtils.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/LocaleUtils.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/util/LocaleUtils.java Thu Apr 26 16:31:01 2007
@@ -192,7 +192,7 @@
       }
       catch (MissingResourceException missingResource)
       {
-        _LOG.severe("unable to load bundle " +_APACHE_TRINIDAD_MESSAGE_BUNDLE);
+        _LOG.severe("UNABLE_LOAD_MESSAGE_BUNDLE",_APACHE_TRINIDAD_MESSAGE_BUNDLE);
         _LOG.severe(missingResource);
       }
     }
@@ -269,7 +269,7 @@
     }
     catch (MissingResourceException missingResource)
     {
-      _LOG.severe("Unable to load faces bundle " + FacesMessage.FACES_MESSAGES);
+      _LOG.severe("UNABLE_LOAD_FACES_BUNDLE", FacesMessage.FACES_MESSAGES);
       _LOG.severe(missingResource);
     }
     return bundle;

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/ResourceServlet.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/ResourceServlet.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/ResourceServlet.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/ResourceServlet.java Thu Apr 26 16:31:01 2007
@@ -390,10 +390,7 @@
     _debug = "true".equalsIgnoreCase(debug);
     if (_debug)
     {
-      _LOG.info("Trinidad ResourceServlet is running in debug mode."+
-                " Do not use in a production environment."+
-                " See the "+DEBUG_INIT_PARAM+" parameter" +
-                " in /WEB-INF/web.xml");
+      _LOG.info("RESOURCESERVLET_IN_DEBUG_MODE",DEBUG_INIT_PARAM);
     }
   }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/TrinidadFilter.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/TrinidadFilter.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/TrinidadFilter.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/TrinidadFilter.java Thu Apr 26 16:31:01 2007
@@ -43,7 +43,7 @@
   {
     ClassLoader loader = Thread.currentThread().getContextClassLoader();
     if (loader == null)
-      _LOG.severe("Could not find context class loader.");
+      _LOG.severe("CANNOT_FIND_CONTEXT_CLASS_LOADER");
     else
     {
       try

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/UIXComponentTag.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/UIXComponentTag.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/UIXComponentTag.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/UIXComponentTag.java Thu Apr 26 16:31:01 2007
@@ -407,7 +407,8 @@
         }
         catch (NumberFormatException e)
         {
-          _LOG.severe("Could not convert:"+value+" into int[]", e);
+          _LOG.severe("CANNOT_CONVERT_INTO_INT_ARRAY",value);
+          _LOG.severe(e);
           return;
         }
       }
@@ -498,8 +499,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", stringValue);
       return null;
     }
   }

Added: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts?view=auto&rev=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts Thu Apr 26 16:31:01 2007
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you 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.
+	   
+-->
+<!DOCTYPE resources SYSTEM "rts.dtd">
+<resources xmlns="http://myfaces.apache.org/trinidad/rts" package="org.apache.myfaces.trinidad.resource">
+
+<!-- CANNOT_FIND_FACESBEAN -->
+<resource key="CANNOT_FIND_FACESBEAN">Could not find FacesBean class {0}</resource>
+
+<!-- CANNOT_CREATE_FACESBEAN_INSTANCE -->
+<resource key="CANNOT_CREATE_FACESBEAN_INSTANCE">Could not create instance of FacesBean {0}</resource>
+
+<!-- NO_FACES_BEAN_PROPERTIES_FILES_LOCATED -->
+<resource key="NO_FACES_BEAN_PROPERTIES_FILES_LOCATED">No faces-bean.properties files located</resource>
+
+<!-- CANNOT_LOAD_URL -->
+<resource key="CANNOT_LOAD_URL">Could not load {0}</resource>
+
+<!-- ERR_CREATE_NEW_COMPONENT_INSTANCE -->
+<resource key="ERR_CREATE_NEW_COMPONENT_INSTANCE">Error on trying to create new component instance for {0}</resource>
+
+<!-- CONVERSION_CLASS_TYPE -->
+<resource key="CONVERSION_CLASS_TYPE">Conversion class: {0} not of type {1}</resource>
+
+<!-- UNABLE_INSTANTIATE_CONVERTERCLASS -->
+<resource key="UNABLE_INSTANTIATE_CONVERTERCLASS">Unable to instantiate converterClass: {0}</resource>
+
+<!-- SAVED_CHILD_COUNT_NOT_MATCH -->
+<resource key="SAVED_CHILD_COUNT_NOT_MATCH">Saved child count does not match current count (was {0}, now {1})</resource>
+
+<!-- FACETS_STATE_MISSING_WILLNOT_RESTORE -->
+<resource key="FACETS_STATE_MISSING_WILLNOT_RESTORE">State for some facets of {0} is missing, and will not be restored.</resource>
+
+<!-- DISCARDING_SAVED_STATE -->
+<resource key="DISCARDING_SAVED_STATE">Saved facet state includes state for facet "{0}" which is not present in restored tree; discarding this state.</resource>
+
+<!-- SAVED_STATE_INCLUDE_TRANSIENT_COMPONENT_STATE -->
+<resource key="SAVED_STATE_INCLUDE_TRANSIENT_COMPONENT_STATE">Saved state includes state for a transient component: {0}</resource>
+
+<!-- CANNOT_FIND_ROWKEY -->
+<resource key="CANNOT_FIND_ROWKEY">Could not find rowKey for clientRowKey:{0}</resource>
+
+<!-- NO_INITIAL_STAMP_STATE -->
+<resource key="NO_INITIAL_STAMP_STATE">There was no initial stamp state for currencyKey:{0} and currencyKeyForInitialStampState:{1} and stampId:{2}</resource>
+
+<!-- CANNOT_FIND_RENDERER -->
+<resource key="CANNOT_FIND_RENDERER">Could not find renderer for {0} rendererType = {1}</resource>
+
+<!-- CANNOT_LOAD_TYPE_PROPERTIES -->
+<resource key="CANNOT_LOAD_TYPE_PROPERTIES">Could not load type properties</resource>
+
+<!-- CANNOT_GET_RESOURCE_KEY -->
+<resource key="CANNOT_GET_RESOURCE_KEY">Could not get resource key {0} from skin {1}</resource>
+
+<!-- TRYING_ATTACH_RENDERERINGCONTEXT -->
+<resource key="TRYING_ATTACH_RENDERERINGCONTEXT">Trying to attach RenderingContext to a thread that already had one.</resource>
+
+<!-- NO_REQUESTCONTEXT_TWO_DIGIT_YEAR_START_DEFAULT -->
+<resource key="NO_REQUESTCONTEXT_TWO_DIGIT_YEAR_START_DEFAULT">Cannot find RequestContext; two-digit-year-start will be defaulted</resource>
+
+<!-- NO_REQUESTCONTEXT_TIMEZONE_DEFAULT -->
+<resource key="NO_REQUESTCONTEXT_TIMEZONE_DEFAULT">Cannot find RequestContext;  TimeZone will default.</resource>
+
+<!-- FAIL_HOLD_DECIMALFORMAT -->
+<resource key="FAIL_HOLD_DECIMALFORMAT">Failed to get hold of DecimalFormat for type: {0} decimal separator, number grouping separator, currency code will be defaulted based on locale {1}</resource>
+
+<!-- NULL_REQUESTCONTEXT -->
+<resource key="NULL_REQUESTCONTEXT">RequestContext is null: decimal separator, number grouping separator, currency code will be defaulted based on locale</resource>
+
+<!-- NULL_REQUEST_CONTEXT_UNABLE_GET_CURRENCY_CODE -->
+<resource key="NULL_REQUEST_CONTEXT_UNABLE_GET_CURRENCY_CODE">RequestContext is null, unable to get currency code</resource>
+
+<!-- NUMBER_NOT_DECIMALFORMAT_IGNORE_CURRENCY -->
+<resource key="NUMBER_NOT_DECIMALFORMAT_IGNORE_CURRENCY">Number format was not instance of DecimalFormat: ignoring currency information while formatting.</resource>
+
+<!-- COLLECTIONMODEL_SET_NULL -->
+<resource key="COLLECTIONMODEL_SET_NULL">CollectionModel was set to null</resource>
+
+<!-- INVALID_ROWKEY -->
+<resource key="INVALID_ROWKEY">Invalid rowkey:{0} type:{1}</resource>
+
+<!-- NULL_VIEWID -->
+<resource key="NULL_VIEWID">The viewId property in ViewIdPropertyMenuModel is null. The viewId property is needed to find the focus rowKey.</resource>
+
+<!-- INVALID_EL_EXPRESSION -->
+<resource key="INVALID_EL_EXPRESSION">EL Expression {0} is invalid or returned a bad value</resource>
+
+<!-- OPEN_URI_EXCEPTION -->
+<resource key="OPEN_URI_EXCEPTION">Exception opening URI {0}</resource>
+
+<!-- ERR_CREATE_MENU_MODEL -->
+<resource key="ERR_CREATE_MENU_MODEL">Exception creating menu model {0}</resource>
+
+<!-- RESOURCE_NOT_FOUND -->
+<resource key="RESOURCE_NOT_FOUND">Resource "{0}" at path "{1}" not found</resource>
+
+<!-- UNABLE_RETRIEVE_IMAGE_DATA -->
+<resource key="UNABLE_RETRIEVE_IMAGE_DATA">Unable to retrieve image data for icon of type {0}. Try using ContextImageIcon.</resource>
+
+<!-- ERR_PARSING_URL -->
+<resource key="ERR_PARSING_URL">Error parsing:{0}</resource>
+
+<!-- ERR_LOADING_RESROUCE -->
+<resource key="ERR_LOADING_RESROUCE">error loading resource:{0}</resource>
+
+<!-- RESOURCE_NAME_NOT_PORTABLE -->
+<resource key="RESOURCE_NAME_NOT_PORTABLE">Resource name "{0}" begins with a slash, which is not portable.</resource>
+
+<!-- UNABLE_LOAD_MESSAGE_BUNDLE -->
+<resource key="UNABLE_LOAD_MESSAGE_BUNDLE">unable to load bundle {0}</resource>
+
+<!-- UNABLE_LOAD_FACES_BUNDLE -->
+<resource key="UNABLE_LOAD_FACES_BUNDLE">Unable to load faces bundle {0}</resource>
+
+<!-- RESOURCESERVLET_UNABLE_FIND_RESOURCELOADER -->
+<resource key="RESOURCESERVLET_UNABLE_FIND_RESOURCELOADER">Unable to find ResourceLoader for ResourceServlet at servlet path:{0} Cause: Could not find resource:{1}</resource>
+
+<!-- RESOURCESERVLET_IN_DEBUG_MODE -->
+<resource key="RESOURCESERVLET_IN_DEBUG_MODE">Trinidad ResourceServlet is running in debug mode. Do not use in a production environment. See the {0} parameter in /WEB-INF/web.xml</resource>
+
+<!-- CANNOT_FIND_CONTEXT_CLASS_LOADER -->
+<resource key="CANNOT_FIND_CONTEXT_CLASS_LOADER">Could not find context class loader.</resource>
+
+<!-- CANNOT_CONVERT_INTO_INT_ARRAY -->
+<resource key="CANNOT_CONVERT_INTO_INT_ARRAY">Could not convert:{0} into int[]</resource>
+
+<!-- CANNOT_PARSE_VALUE_INTO_DATE -->
+<resource key="CANNOT_PARSE_VALUE_INTO_DATE">Could not parse value {0} into a Date using pattern "yyyy-MM-dd";  ignoring.</resource>
+
+<!-- NO_PARENT_COMPONENTREF_FOUND -->
+<resource key="NO_PARENT_COMPONENTREF_FOUND">no parent &lt;tr:componentRef&gt; found!</resource>
+
+<!-- EVENT_DELIVERED_ALREADY_IN_DISCLOSURE_STATE -->
+<resource key="EVENT_DELIVERED_ALREADY_IN_DISCLOSURE_STATE">Event {0} was delivered to a showDetail already in that disclosure state.</resource>
+
+</resources>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentFactoryImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentFactoryImpl.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentFactoryImpl.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentFactoryImpl.java Thu Apr 26 16:31:01 2007
@@ -213,9 +213,7 @@
   private void _populateNullAgentImpl(String userAgent, AgentImpl agent)
   {
     // Log warning message that we are setting the agent entry to null
-    _LOG.warning(
-      "The User-Agent \"{0}\" is unknown;"+
-      " creating an agent with null agent attributes.", userAgent);
+    _LOG.warning("UNKNOWN_AGENT_ATTRIBUTES_CREATE_WITH_NULL", userAgent);
     agent.setAgentEntryToNULL();
   }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentImpl.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentImpl.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentImpl.java Thu Apr 26 16:31:01 2007
@@ -49,8 +49,7 @@
   {
     if (nullAgentEntry)
     {
-      _LOG.warning(
-      "The agent type is unknown; creating an agent with null agent attributes.");
+      _LOG.warning("UNKNOWN_AGENT_TYPE_CREATE_WITH_NULL");
       _entry = _NULL_AGENT_ENTRY;
     }
     else

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/CapabilitiesProvider.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/CapabilitiesProvider.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/CapabilitiesProvider.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/CapabilitiesProvider.java Thu Apr 26 16:31:01 2007
@@ -97,7 +97,7 @@
       }
       catch (RuntimeException re)
       {
-        _LOG.severe("could not get capabilities from capabilities document", re);
+        _LOG.severe("CANNOT_GET_CAPABILITIES", re);
       }
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/TrinidadAgentImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/TrinidadAgentImpl.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/TrinidadAgentImpl.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/TrinidadAgentImpl.java Thu Apr 26 16:31:01 2007
@@ -260,7 +260,7 @@
     {
       URL url = _getCapabilitiesFile();
       if (url == null)
-          _LOG.severe ("Could not locate Capabilities document");
+          _LOG.severe ("CANNOT_LOCATE_CAPABILITIES_DOCUMENT");
 
       CapabilitiesProvider capProvider = 
          CapabilitiesProvider.getCapabilitiesProvider(url);
@@ -310,7 +310,7 @@
       
       if (path == null)
       {
-        _LOG.severe("Cannot resolve capabilities file");
+        _LOG.severe("CANNOT_RESOLVE_CAPABILITIES_FILE");
       }
       
       _capUrl = path;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesDocument.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesDocument.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesDocument.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesDocument.java Thu Apr 26 16:31:01 2007
@@ -197,7 +197,7 @@
     {
       if (includedByRefs.contains(matchNode.__getId()))
       {
-        _LOG.warning("Invalid dependency found in include by reference");
+        _LOG.warning("INVALID_DEPENDENCY");
         return new Object[0][0];
       }
 
@@ -299,7 +299,7 @@
       }
     }
 
-    _LOG.warning("Reference to id: " + refId + " not found");
+    _LOG.warning("REFERENCE_ID_NOT_FOUND", refId);
     return new Object[0][0];
   }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesDocumentParser.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesDocumentParser.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesDocumentParser.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesDocumentParser.java Thu Apr 26 16:31:01 2007
@@ -77,12 +77,12 @@
     catch (SAXException saxe)
     {
       //Logging handled by tree builder
-      //_LOG.severe("Failed to parse capabilities document", saxe);
+      //_LOG.severe("FAIL_PARSE_CAPABILITIES_DOCUMENT", saxe);
       ;
     }
     catch (IOException ioe)
     {
-      _LOG.severe("Failed to parse capabilities document", ioe);
+      _LOG.severe("FAIL_PARSE_CAPABILITIES_DOCUMENT", ioe);
     }
     finally
     {

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesNodeParser.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesNodeParser.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesNodeParser.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesNodeParser.java Thu Apr 26 16:31:01 2007
@@ -68,7 +68,7 @@
       }
       catch (ParseException pe)
       {
-        _LOG.warning("Unable to parse agent string");
+        _LOG.warning("UNABLE_PARSE_AGENT_STRING");
       }
     }
 
@@ -81,13 +81,12 @@
       }
       catch (ParseException pe)
       {
-        _LOG.warning("Unable to parse agent string");
+        _LOG.warning("UNABLE_PARSE_AGENT_STRING");
       }
     }
 
     if ((_id == null) && (_agent == null))
-      _LOG.warning("Element " + ELEMENT_CAPABILITIES +
-                   " has missing (or empty) attributes");
+      _LOG.warning("ELEMENT_MISSING_ATTRIBUTES", ELEMENT_CAPABILITIES);
 
   }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilityDataDocumentParser.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilityDataDocumentParser.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilityDataDocumentParser.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/CapabilityDataDocumentParser.java Thu Apr 26 16:31:01 2007
@@ -73,11 +73,11 @@
     }
     catch (SAXException saxe)
     {
-      _LOG.severe("Failed to parse capabilities data document", saxe);
+      _LOG.severe("FAIL_PARSE_CAPABILITIES_DATA_DOCUMENT", saxe);
     }
     catch (IOException ioe)
     {
-      _LOG.severe("Failed to parse capabilities data document", ioe);
+      _LOG.severe("FAIL_PARSE_CAPABILITIES_DATA_DOCUMENT", ioe);
     }
     finally
     {
@@ -131,8 +131,7 @@
       if ((name == null) || (name.length() <= 0) ||
           (value == null) || (value.length() <= 0))
       {
-        _LOG.warning("Element " + ELEMENT_CAPABILITIES +
-                     " has missing (or empty) attributes");
+        _LOG.warning("ELEMENT_MISSING_ATTRIBUTES", ELEMENT_CAPABILITIES);
       }
 
       CapabilityKey key =

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/DeviceNodeParser.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/DeviceNodeParser.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/DeviceNodeParser.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/DeviceNodeParser.java Thu Apr 26 16:31:01 2007
@@ -59,8 +59,7 @@
         ((id != null) && (id.trim().length() <= 0)) ||
         ((model != null) && (model.trim().length() <= 0)))
     {
-      _LOG.warning("Element " + ELEMENT_DEVICE +
-                   " has missing (or empty) attributes");
+      _LOG.warning("ELEMENT_MISSING_ATTRIBUTES", ELEMENT_DEVICE);
     }
 
     _id = id;
@@ -74,7 +73,7 @@
       }
       catch (ParseException pe)
       {
-        _LOG.warning("Unable to parse model string");
+        _LOG.warning("UNABLE_PARSE_MODEL_STRING");
       }
     }
   }
@@ -130,5 +129,6 @@
 
   static private final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(DeviceNodeParser.class);
 }
+
 
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/IncludeNodeParser.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/IncludeNodeParser.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/IncludeNodeParser.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/parse/IncludeNodeParser.java Thu Apr 26 16:31:01 2007
@@ -52,8 +52,7 @@
         ((refId != null) && (refId.length() <= 0)) ||
         ((src != null) && (src.length() <= 0)))
     {
-      _LOG.warning("Element " + ELEMENT_INCLUDE +
-                   " has missing (or empty) attributes");
+      _LOG.warning("ELEMENT_MISSING_ATTRIBUTES", ELEMENT_INCLUDE);
       return;
     }
 
@@ -90,7 +89,7 @@
     }
     catch (MalformedURLException mue)
     {
-       _LOG.warning("Capability data url " + _src + " is invalid");
+       _LOG.warning("INVALID_CAPABILITY_DATA_URL", _src);
     }
 
     return null;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/StateManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/StateManagerImpl.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/StateManagerImpl.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/StateManagerImpl.java Thu Apr 26 16:31:01 2007
@@ -399,7 +399,7 @@
 
       if (viewState == null)
       {
-        _LOG.severe("Could not find saved view state for token {0}", token);
+        _LOG.severe("CANNOT_FIND_SAVED_VIEW_STATE", token);
         return null;
       }
 
@@ -427,7 +427,7 @@
       UIViewRoot root = context.getViewRoot();
       if (root == null && _needStructure(context))
       {
-        _LOG.severe("No structure available and no root available");
+        _LOG.severe("NO_STRUCTURE_ROOT_AVAILABLE");
         return null;
       }
 
@@ -440,7 +440,7 @@
     {
       if (!(structure instanceof Structure))
       {
-        _LOG.severe("No structure available");
+        _LOG.severe("NO_STRUCTURE_AVAILABLE");
         return null;
       }
 
@@ -550,6 +550,7 @@
       {
         _LOG.warning("Ignoring servlet init parameter:"+CLIENT_STATE_MAX_TOKENS_PARAM_NAME+
           "\n unable to parse:"+maxTokens, nfe);
+        _LOG.warning(nfe);
       }
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java Thu Apr 26 16:31:01 2007
@@ -322,8 +322,8 @@
         }
         catch (Exception e)
         {
-          _LOG.warning("Could not load ViewHandler " + alternateViewHandler,
-                       e);
+          _LOG.warning("CANNOT_LOAD_VIEWHANDLER", alternateViewHandler);
+          _LOG.warning(e);
         }
 
         if (viewHandlerInstance != null)
@@ -352,10 +352,7 @@
       _checkTimestamp = Boolean.valueOf(performCheck);
       if (_LOG.isInfo() && _checkTimestamp.booleanValue())
       {
-        _LOG.info("Apache Trinidad is running with time-stamp checking enabled. "+
-                  "This should not be used in a production environment. "+
-                  "See the "+_CHECK_TIMESTAMP_PARAM+
-                  " property in WEB-INF/web.xml");
+        _LOG.info("TIMESTAMP_CHECKING_ENABLED_SHOULDNOT_IN_PRODUCTION", _CHECK_TIMESTAMP_PARAM);
       }
     }
 
@@ -496,19 +493,23 @@
       }
       catch (IllegalAccessException iae)
       {
-        _LOG.severe("Could not load " + url, iae);
+        _LOG.severe("CANNOT_LOAD_URL", url);
+        _LOG.severe(iae);
       }
       catch (InstantiationException ie)
       {
-        _LOG.severe("Could not load " + url, ie);
+        _LOG.severe("CANNOT_LOAD_URL", url);
+        _LOG.severe(ie);
       }
       catch (ClassNotFoundException cnfe)
       {
-        _LOG.severe("Could not load " + url, cnfe);
+        _LOG.severe("CANNOT_LOAD_URL", url);
+        _LOG.severe(cnfe);
       }
       catch (IOException ioe)
       {
-        _LOG.severe("Could not load " + url, ioe);
+        _LOG.severe("CANNOT_LOAD_URL", url);
+        _LOG.severe(ioe);
       }
     }
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/ConfigParser.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/ConfigParser.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/ConfigParser.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/ConfigParser.java Thu Apr 26 16:31:01 2007
@@ -113,7 +113,7 @@
       }
       catch (Exception e)
       {
-        _LOG.severe("Could not instantiate UploadedFileProcessor", e);
+        _LOG.severe("CANNOT_INSTANTIATE_UPLOADEDFILEPROCESSOR", e);
         bean.setProperty(RequestContextBean.UPLOADED_FILE_PROCESSOR_KEY,
                          new UploadedFileProcessorImpl());
       }
@@ -133,8 +133,7 @@
     {
       Object debug = bean.getProperty(RequestContextBean.DEBUG_OUTPUT_KEY);
       if (Boolean.TRUE.equals(debug))
-        _LOG.info("Trinidad is running in debug mode. "+
-                  "Do not use in a production environment. See:"+_CONFIG_FILE);
+        _LOG.info("RUNNING_IN_DEBUG_MODE",_CONFIG_FILE);
     }
     return bean;
   }
@@ -175,7 +174,7 @@
         if (key == null)
         {
           if (_LOG.isWarning())
-            _LOG.warning("Element {0} is not understood", qName);
+            _LOG.warning("ELEMENT_NOT_UNDERSTOOD", qName);
         }
         else
         {
@@ -185,8 +184,7 @@
             if (!key.getSupportsBinding())
             {
               if (_LOG.isWarning())
-                _LOG.warning("Element {0} does not support EL expressions.",
-                             qName);
+                _LOG.warning("NOT_SUPPORT_EL_EXPRESSION", qName);
             }
             else
             {
@@ -246,8 +244,7 @@
     {
       if (_LOG.isWarning())
       {
-        _LOG.warning("Element {0} only accepts integer values",
-                     qName);
+        _LOG.warning("ELEMENT_ONLY_ACCEPT_INTEGER", qName);
       }
     }
     return value;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/GlobalConfiguratorImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/GlobalConfiguratorImpl.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/GlobalConfiguratorImpl.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/GlobalConfiguratorImpl.java Thu Apr 26 16:31:01 2007
@@ -66,7 +66,7 @@
 
     if (loader == null)
     {
-      _LOG.severe("Could not find context class loader.");
+      _LOG.severe("CANNOT_FIND_CONTEXT_CLASS_LOADER");
     }
     else
     {
@@ -354,7 +354,7 @@
     }
     else
     {
-      _LOG.warning("Configurator services already initialized.");
+      _LOG.warning("CONFIGURATOR_SERVICES_INITIALIZED");
     }
   }
 
@@ -374,7 +374,7 @@
     {
       if (_LOG.isWarning())
       {
-        _LOG.warning("RequestContext had not been properly released on earlier " + "request.");
+        _LOG.warning("REQUESTCONTEXT_NOT_PROPERLY_RELEASED");
       }
       context.release();
     }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/upload/UploadRequestWrapper.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/upload/UploadRequestWrapper.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/upload/UploadRequestWrapper.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/upload/UploadRequestWrapper.java Thu Apr 26 16:31:01 2007
@@ -83,9 +83,7 @@
     // but we shouldn't break it
     if (_parametersRetrieved)
     {
-      _LOG.warning("Unable to set request character encoding to {0}, " + 
-                   "because request parameters have already been read.",
-                   encoding);
+      _LOG.warning("UNABLE_SET_REQUEST_CHARACTER", encoding);
       return;
     }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/DialogServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/DialogServiceImpl.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/DialogServiceImpl.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/DialogServiceImpl.java Thu Apr 26 16:31:01 2007
@@ -161,8 +161,7 @@
     Object usedRenderKit = _getPageFlowScope().get(_USED_RENDER_KIT_KEY);
     if (usedRenderKit == null)
     {
-      _LOG.warning("No 'DialogUsedRK' key available for returnFromDialog to " +
-                   "do the right thing!");
+      _LOG.warning("RETURNFROMDIALOG_KEY_NOT_AVAILABLE");
     }
 
 
@@ -276,7 +275,7 @@
     UIComponent source = getCurrentLaunchSource();
     if (source == null)
     {
-      _LOG.warning("Could not queue return event: no launch source");
+      _LOG.warning("CANNOT_QUEUE_RETURN_EVENT");
     }
     else
     {
@@ -397,9 +396,7 @@
 
     if (service == null)
     {
-      _LOG.info("RenderKit {0} does not support DialogRenderKitService, and " +
-                "cannot be used to launch dialogs;  using a single window " +
-                "instead.", rk);
+      _LOG.info("RENDERKIT_NOT_SUPPORT_DIALOGRENDERKITSERVICE", rk);
     }
 
     return service;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java Thu Apr 26 16:31:01 2007
@@ -338,7 +338,7 @@
       // Support the "session" token
       if ("session".equalsIgnoreCase(changeManager))
       {
-        _LOG.info("Apache Trinidad is using HTTPSession for change persistence");
+        _LOG.info("HTTPSESSION_USED_FOR_CHANGE_PERSISTENCE");
         return new SessionChangeManager();
       }
       // Otherwise, just assume its a class name.
@@ -366,8 +366,8 @@
     }
     catch (Throwable throwable)
     {
-      _LOG.warning("Unable to create ChangeManager:" + className,
-                   throwable);
+      _LOG.warning("CHANGE_MANAGER_CREATION_FAILED", className);
+      _LOG.warning(throwable);
       return new NullChangeManager();
     }
   }
@@ -520,8 +520,7 @@
       //listener.getParent().findComponent(trigger);
       if (master == null)
       {
-        _LOG.warning("Could not find partial trigger " + trigger +
-                     " from " + listener);
+        _LOG.warning("CANNOT_FIND_PARTIAL_TRIGGER", new Object[] {trigger, listener});
       }
       else
       {

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/external/ServletExternalContext.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/external/ServletExternalContext.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/external/ServletExternalContext.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/external/ServletExternalContext.java Thu Apr 26 16:31:01 2007
@@ -112,7 +112,7 @@
       {
         if (_LOG.isWarning())
         {
-          _LOG.warning("Failed to set character encoding " + e);
+          _LOG.warning("FAIL_SET_CHARACTER_ENCODING", e);
         }
       }
     }
@@ -606,8 +606,8 @@
     }
     catch (final Exception e)
     {
-      _LOG.warning("Detecting request character encoding is disable.");
-      _LOG.warning("Failed to obtain ServletRequest#setCharacterEncoding() method: " + e);
+      _LOG.warning("REQUEST_CHARACTER_ENCODING_DIABLED");
+      _LOG.warning("FAIL_OBTAIN_SERVLETREQUEST_METHOD", e);
     }
   }
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/ColorConverter.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/ColorConverter.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/ColorConverter.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/ColorConverter.java Thu Apr 26 16:31:01 2007
@@ -57,7 +57,7 @@
 
     if ( component == null)
     {
-      _LOG.severe("The component is null, but it is needed for the client id, so no script written");
+      _LOG.severe("NEEDED_COMPONENT_NULL_NO_SCRIPT_WRITTEN");
       return null;
     }
 
@@ -130,7 +130,7 @@
     }
     else
     {
-      _LOG.severe("Client id is null, no script rendered");
+      _LOG.severe("NULL_CLIENT_ID_NO_SCRIPT_RENDERED");
     }
 
     return null;

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/ConverterUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/ConverterUtils.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/ConverterUtils.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/ConverterUtils.java Thu Apr 26 16:31:01 2007
@@ -171,9 +171,7 @@
     }
     catch (FacesException e)
     {
-      _LOG.warning("Tried to create converter for type {0}, but " +
-                   "could not, likely because no converter is registered.",
-                   converterType.toString());
+      _LOG.warning("CANNOT_CREATE_CONVERTER_LIKELY_BECAUSE_NO_CONVERTER_REGISTERED", converterType.toString());
       return null;
     }
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/DateTimeConverter.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/DateTimeConverter.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/DateTimeConverter.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/DateTimeConverter.java Thu Apr 26 16:31:01 2007
@@ -195,7 +195,7 @@
       return buff.toString();
     } else
     {
-      _LOG.severe("Client id is null, no script rendered");
+      _LOG.severe("NULL_CLINET_ID_NO_SCRIPT_RENDERED");
     }
 
     return null;

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

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/image/cache/Cache.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/image/cache/Cache.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/image/cache/Cache.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/image/cache/Cache.java Thu Apr 26 16:31:01 2007
@@ -189,7 +189,7 @@
     }
 
     // We should never get here - we should always get a unique name above!
-    _LOG.severe("Couldn't get unique name!");
+    _LOG.severe("CANNOT_GET_UNIQUE_NAME");
 
     return null;
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/image/encode/OracleGIFEncoder.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/image/encode/OracleGIFEncoder.java?view=diff&rev=532908&r1=532907&r2=532908
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/image/encode/OracleGIFEncoder.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/image/encode/OracleGIFEncoder.java Thu Apr 26 16:31:01 2007
@@ -51,8 +51,7 @@
     {
       // System.out.println(Timing.getElapsedString(_lastTime) +
       //                    " secs to encode gif");
-      _LOG.info("Elapsed time:" + (System.currentTimeMillis()-_lastTime) / 1000.0 + " seconds" +
-                " secs to encode gif");
+      _LOG.info("ELAPSED_TIME_ENCODING_GIF", (System.currentTimeMillis()-_lastTime) / 1000.0);
 
     }
   }



Mime
View raw message