From adffaces-commits-return-2356-apmail-incubator-adffaces-commits-archive=incubator.apache.org@incubator.apache.org Thu Apr 26 23:31:43 2007 Return-Path: Delivered-To: apmail-incubator-adffaces-commits-archive@locus.apache.org Received: (qmail 37236 invoked from network); 26 Apr 2007 23:31:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Apr 2007 23:31:43 -0000 Received: (qmail 78054 invoked by uid 500); 26 Apr 2007 23:31:49 -0000 Delivered-To: apmail-incubator-adffaces-commits-archive@incubator.apache.org Received: (qmail 78025 invoked by uid 500); 26 Apr 2007 23:31:49 -0000 Mailing-List: contact adffaces-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-dev@incubator.apache.org Delivered-To: mailing list adffaces-commits@incubator.apache.org Received: (qmail 78006 invoked by uid 99); 26 Apr 2007 23:31:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 16:31:49 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 16:31:38 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 922031A984A; Thu, 26 Apr 2007 16:31:18 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r532908 [3/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 -0000 To: adffaces-commits@incubator.apache.org From: jwaldman@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070426233118.922031A984A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/data/bind/ConvertBoundValue.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/data/bind/ConvertBoundValue.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/data/bind/ConvertBoundValue.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/data/bind/ConvertBoundValue.java Thu Apr 26 16:31:01 2007 @@ -84,8 +84,7 @@ catch (NumberFormatException nfe) { if (_LOG.isWarning()) - _LOG.warning("Could not convert " + value - + " into a " + _getTargetType()); + _LOG.warning("CANNOT_CONVERT", new Object[]{value, _getTargetType()}); } catch (IllegalArgumentException e) { Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/UnsupportedRenderer.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/UnsupportedRenderer.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/UnsupportedRenderer.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/UnsupportedRenderer.java Thu Apr 26 16:31:01 2007 @@ -47,10 +47,7 @@ { // not supported so kick out warning if (_LOG.isSevere()) - _LOG.severe("Unsupported UINode:" - + node.getLocalName() - + ", path = " - + context.getPath()); + _LOG.severe("UNSUPPORTED_UINODE", new Object[]{node.getLocalName(), context.getPath()}); } public static Renderer getInstance() Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/ProcessingRenderer.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/ProcessingRenderer.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/ProcessingRenderer.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/ProcessingRenderer.java Thu Apr 26 16:31:01 2007 @@ -183,7 +183,7 @@ /** * return a string with the alternate text for the determinate processing * icon. Given the percentComplete string, the alternate text would be,- - * for example, "25omplete". + * for example, "25 */ protected String getDeterminateAltText( UIXRenderingContext context, @@ -228,9 +228,7 @@ } else { - _LOG.warning("Invalid value. Defaulting component with id '" + - progressComponent.getId() + - "' to indeterminate mode"); + _LOG.warning("DEFAULT_COMPONENT_TO_INDETERMINDATE_MODE", progressComponent.getId()); //Just get this to indeterminate state indefinitely on this condition. percentComplete = PERCENT_UNKNOWN; } @@ -251,7 +249,7 @@ /** * return a string with the alternate text for the determinate processing * icon. Given the percentComplete string, the alternate text would be,- - * for example, "25omplete". + * for example, "25 */ private String _getDeterminateText( UIXRenderingContext context, @@ -329,4 +327,5 @@ static private final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger( ProcessingRenderer.class); } + Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/ResetButtonRenderer.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/ResetButtonRenderer.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/ResetButtonRenderer.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/ResetButtonRenderer.java Thu Apr 26 16:31:01 2007 @@ -111,7 +111,7 @@ { if (_LOG.isWarning()) - _LOG.warning("No form found for " + node); + _LOG.warning("NO_FORM_FOUND", node); return null; Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/TreeRenderer.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/TreeRenderer.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/TreeRenderer.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/TreeRenderer.java Thu Apr 26 16:31:01 2007 @@ -103,7 +103,7 @@ String formName = getParentFormName(context); if (formName == 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/ui/laf/base/xhtml/AccentedLafIconProvider.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/AccentedLafIconProvider.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/AccentedLafIconProvider.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/AccentedLafIconProvider.java Thu Apr 26 16:31:01 2007 @@ -115,7 +115,7 @@ if (provider == null) { if (_LOG.isWarning()) - _LOG.warning("Could not get image provider for icon: " + iconName); + _LOG.warning("CANNOT_GET_IMAGE_PROVIDER_FOR_ICON", iconName); return null; } @@ -131,7 +131,7 @@ if (response == null) { if (_LOG.isWarning()) - _LOG.warning("Could not get colorized icon for: " + iconName); + _LOG.warning("CANNOT_GET_COLORIZED_ICON", iconName); } return response; @@ -166,7 +166,7 @@ if ( source == null ) { - _LOG.warning("Could not find icon with key given"); + _LOG.warning("CANNOT_FIND_ICON_WITH_GIVEN_KEY"); return null; } Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/AliasRenderer.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/AliasRenderer.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/AliasRenderer.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/AliasRenderer.java Thu Apr 26 16:31:01 2007 @@ -64,7 +64,7 @@ String localName = getLocalName(context, node); Renderer renderer = manager.getRenderer(node.getNamespaceURI(), localName); if (renderer == null) - _LOG.severe("Could not find renderer for alias " + localName); + _LOG.severe("CANNOT_FIND_RENDERER", localName); return renderer; } Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FlippedIconRequest.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FlippedIconRequest.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FlippedIconRequest.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FlippedIconRequest.java Thu Apr 26 16:31:01 2007 @@ -139,10 +139,7 @@ else { if (_LOG.isWarning()) - _LOG.warning("Unable to flip icon '" + name - + "' because it is not under the current request " - + "context, which is '" - + contextPath + "'."); + _LOG.warning("UNABLE_FLIP_ICON", new Object[]{name, contextPath}); } } // otherwise it must be a relative path and needs to be converted to Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FormValueRenderer.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FormValueRenderer.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FormValueRenderer.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FormValueRenderer.java Thu Apr 26 16:31:01 2007 @@ -152,8 +152,7 @@ if (formName == null) { if (_LOG.isWarning()) - _LOG.warning("Could not locate parent form for " - + " formValue " + name); + _LOG.warning("CANNOT_LOCATE_PARENT_FORM", name); return; } Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/ResetButtonRenderer.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/ResetButtonRenderer.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/ResetButtonRenderer.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/ResetButtonRenderer.java Thu Apr 26 16:31:01 2007 @@ -106,7 +106,7 @@ else { if (_LOG.isWarning()) - _LOG.warning("No form found for " + node); + _LOG.warning("NO_FORM_FOUND", node); return null; Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLafRenderer.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLafRenderer.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLafRenderer.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLafRenderer.java Thu Apr 26 16:31:01 2007 @@ -87,7 +87,7 @@ { // not supported so kick out warning if (_LOG.isWarning()) - _LOG.warning("Unsupported UINode:" + node.getLocalName()); + _LOG.warning("UNSUPPORTED_UINODE", node.getLocalName()); } } @@ -2080,8 +2080,7 @@ if (component == null) { - _LOG.warning("The component is null for node with local name " + - node.getLocalName() ); + _LOG.warning("NULL_COMPONENT_FOR_NODE", node.getLocalName()); } boolean unvalidated = @@ -2206,7 +2205,7 @@ if (response == null) { if (_LOG.isWarning()) - _LOG.warning("Could not get flipped icon for: " + sourceURI); + _LOG.warning("CANNOT_FLIP_ICON", sourceURI); } return response; Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLafUtils.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLafUtils.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLafUtils.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLafUtils.java Thu Apr 26 16:31:01 2007 @@ -753,8 +753,7 @@ if (component == null) { - _LOG.warning("The component is null for node with local name " + - node.getLocalName() ); + _LOG.warning("NULL_COMPONENT_FOR_NODE", node.getLocalName()); } boolean unvalidated = @@ -770,9 +769,7 @@ requiredMessageKey); } else - _LOG.warning("The node name is null and therefore no client side " + - "required validator added for node with local name "+ - node.getLocalName()); + _LOG.warning("NULL_NODE_NAME_NO_VALIDATOR_ADDED", node.getLocalName()); } } } Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/InstanceIconParser.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/InstanceIconParser.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/InstanceIconParser.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/InstanceIconParser.java Thu Apr 26 16:31:01 2007 @@ -70,12 +70,12 @@ catch (ClassNotFoundException cnfe) { if (_LOG.isWarning()) - _LOG.warning("Could not find class " + className); + _LOG.warning("CANNOT_FIND_CLASS", className); } catch (Error error) { if (_LOG.isWarning()) - _LOG.warning("Could not load class " + className + ": " + error); + _LOG.warning("CANNOT_LOAD_CLASS", new Object[]{className, error}); } } @@ -103,7 +103,7 @@ instanceMethod.getReturnType())) { if (_LOG.isWarning()) - _LOG.warning("Method " + methodName + " does not return an Icon"); + _LOG.warning("METHOD_NOT_RETURN_ICON", methodName); } else { @@ -117,8 +117,7 @@ return (Icon) handlerClass.newInstance(); if (_LOG.isWarning()) - _LOG.warning("Could not find method " + methodName + " in " + - handlerClass.getName()); + _LOG.warning("CANNOT_FIND_METHOD", new Object[]{methodName, handlerClass.getName()}); } } catch (InstantiationException ie) @@ -128,8 +127,7 @@ catch (IllegalAccessException iacce) { if (_LOG.isWarning()) - _LOG.warning("Could not find access " + methodName + " in " + - handlerClass.getName()); + _LOG.warning("CANNOT_FIND_ACCESS_METHOD", new Object[]{methodName, handlerClass.getName()}); } catch (IllegalArgumentException iarge) { @@ -151,4 +149,5 @@ "sharedInstance"; private static final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(InstanceIconParser.class); } + Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/SkinAdditionNodeParser.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/SkinAdditionNodeParser.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/SkinAdditionNodeParser.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/SkinAdditionNodeParser.java Thu Apr 26 16:31:01 2007 @@ -59,9 +59,9 @@ // id and family are required. log a severe error if they are null. if ((_skinId == null) && (_LOG.isWarning())) - _LOG.severe("Required element 'skin-id' not found."); + _LOG.severe("REQUIRED_ELEMENT_SKINID_NOT_FOUND"); if ((_styleSheetName == null) && (_LOG.isWarning())) - _LOG.severe("Required element 'style-sheet-name' not found."); + _LOG.severe("REQUIRED_ELEMENT_STYLE_SHEET_NAME_NOT_FOUND"); return new SkinAdditionNode(_skinId, _styleSheetName); Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/SkinNodeParser.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/SkinNodeParser.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/SkinNodeParser.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/xml/parse/SkinNodeParser.java Thu Apr 26 16:31:01 2007 @@ -60,9 +60,9 @@ // id and family are required. log a severe error if they are null. if ((_id == null) && (_LOG.isWarning())) - _LOG.severe("Required element 'id' not found."); + _LOG.severe("REQUIRED_ELEMENT_ID_NOT_FOUND"); if ((_family == null) && (_LOG.isWarning())) - _LOG.severe("Required element 'family' not found."); + _LOG.severe("REQURIED_ELEMENT_FAMILY_NOT_FOUND"); return new SkinNode(_id, _family, _renderKitId, _extends, _styleSheetName, _bundleName); Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/uinode/UIComponentUINode.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/uinode/UIComponentUINode.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/uinode/UIComponentUINode.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/uinode/UIComponentUINode.java Thu Apr 26 16:31:01 2007 @@ -403,7 +403,7 @@ String localName = (String) entry.getValue(); int indexOfBar = key.indexOf('|'); if (indexOfBar < 0) - _LOG.severe("Malformed property entry: " + key +"=" + localName); + _LOG.severe("MALFORMED_PROPERTY_ENTRY", new Object[]{key, localName}); else { String family = key.substring(0, indexOfBar); @@ -415,7 +415,7 @@ } catch (Exception e) { - _LOG.severe("Could not load renderer type to local name mapping.", e); + _LOG.severe("CANNOT_LOAD_RENDERER_TYPE_TO_LOCAL_NAME_MAPPING", e); } } Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/uinode/UIXComponentUINode.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/uinode/UIXComponentUINode.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/uinode/UIXComponentUINode.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/uinode/UIXComponentUINode.java Thu Apr 26 16:31:01 2007 @@ -361,13 +361,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/validator/ByteLengthValidator.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/validator/ByteLengthValidator.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/validator/ByteLengthValidator.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/validator/ByteLengthValidator.java Thu Apr 26 16:31:01 2007 @@ -193,9 +193,7 @@ */ if (_LOG.isWarning()) { - _LOG.warning("Encoding " + encoding + - " is not supported at the client side. " + - "This will skip client side validation." ); + _LOG.warning("CLIENT_SIDE_ENCODING_NOT_SUPPORTED", encoding); } return _UNSUPPORTED_TYPE; } @@ -435,4 +433,4 @@ private static final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(ByteLengthValidator.class); -} \ No newline at end of file +} Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl.java URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl.java?view=diff&rev=532908&r1=532907&r2=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl.java (original) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl.java Thu Apr 26 16:31:01 2007 @@ -61,8 +61,7 @@ context.getExternalContext().getRequestMap().get(_FILTER_EXECUTED_KEY); if (!Boolean.TRUE.equals(isInstalled)) { - _LOG.warning("The TrinidadFilter has not been installed. Apache Trinidad " + - "requires this filter for proper execution."); + _LOG.warning("REQUIRED_TRINIDADFILTER_NOT_INSTALLED"); } } Added: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/LoggerBundle.xrts URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/LoggerBundle.xrts?view=auto&rev=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/LoggerBundle.xrts (added) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/LoggerBundle.xrts Thu Apr 26 16:31:01 2007 @@ -0,0 +1,603 @@ + + + + + + +The User-Agent "{0}" is unknown; creating an agent with null agent attributes. + + +The agent type is unknown; creating an agent with null agent attributes. + + +could not get capabilities from capabilities document + + +Could not locate Capabilities document + + +"Cannot resolve capabilities file" + + +Invalid dependency found in include by reference + + +Reference to id: {0} not found + + +Failed to parse capabilities document + + +Unable to parse agent string + + +Element {0} has missing (or empty) attributes + + +Failed to parse capabilities data document + + +Unable to parse model string + + +Capability data url {0} is invalid + + +Could not find saved view state for token {0} + + +No structure available and no root available + + +No structure available + + +Ignoring servlet init parameter:{0} unable to parse:{1} + + +Could not load ViewHandler {0} + + +Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the {0} property in WEB-INF/web.xml + + +Could not load {0} + + +Could not instantiate UploadedFileProcessor + + +Trinidad is running in debug mode. Do not use in a production environment. See:{0} + + +Element {0} is not understood + + +Element {0} does not support EL expressions. + + +"Element {0} only accepts integer values + + +Could not find context class loader. + + +Configurator services already initialized. + + +RequestContext had not been properly released on earlier request. + + +Unable to set request character encoding to {0}, because request parameters have already been read. + + +No 'DialogUsedRK' key available for returnFromDialog to do the right thing! + + +Could not queue return event: no launch source + + +RenderKit {0} does not support DialogRenderKitService, and cannot be used to launch dialogs; using a single window instead. + + +Apache Trinidad is using HTTPSession for change persistence + + +Unable to create ChangeManager:{0} + + +Could not find partial trigger {0} from {1} + + +Failed to set character encoding {0} + + +Detecting request character encoding is disable. + + +Failed to obtain ServletRequest#setCharacterEncoding() method: {0} + + +The component is null, but it is needed for the client id, so no script written + + +Client id is null, no script rendered + + +Tried to create converter for type {0}, but could not, likely because no converter is registered. + + +Client id is null, no script rendered + + +Instantiation of Property {0} failed. + + +Couldn't get unique name! + + +Elapsed time:{0} secs to encode gif + + +laf "{0}" not found. + + +Illegal character (space) in "name" attribute + + +"name" attribute incorrectly set to "name" + + +"name" attribute set to "target", which will cause Javascript errors. + + +The value of the "{0}" attribute starts with "javascript:"; this is unnecessary, and in fact can lead to Javascript errors. + + +Elements not closed: + + +Comments cannot include "--" + + +Ending {0} when {1} expected. Passes:{2} + + +Writing attribute outside of element + + +Attribute "{0}" output twice; writing attribute as "duplicate_{1}" instead. + + +Element End name:{0} does not match start name:{1} + + +GroupNode {0} refers to no valid node. + + +Exception creating model {0} + + +EL Expression {0} is invalid or returned a bad value. + + +Resource bundle {0} could not be found. + + +error closing file:{0} + + +Error getting region-metadata files:{0} + + +Error reading region-metadata file:{0} + + +Replaced jspUri {0} with {1} for componentType:{2} + + +Unknown element:{0} at {1} + + +<{0}> is missing at {1} + + +Exception at {0} + + +Instantiation of Renderer {0} failed + + +Renderer '{0}' not found for component family '{1}' + + +There is no SkinFactory + + +The skin {0} 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. + + +The skin {0} 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. + + +The skin {0} specified on the requestMap will not be used because it does not exist. + + +Could not get skin {0} from the SkinFactory + + +The java.io.File handle ("javax.servlet.context.tempdir") is not set in the ServletContext + + +No AdfRenderingContext available + + +Basic HTMLRenderKit could not be located + + +Could not find basic HTML renderer for {0}, type={1} + + +Could not get stylesheet cache + + +Model not specified for the chart component. + + +Trains must be used inside of a form + + +Train expect a nodeStamp facet, no such facet was found for train {0} + + +Visible stop count must be > 0, found {0} + + +Visible stop count must be an integer, found {0} + + +'nodeStamp' facet missing! + + +Frames must appear inside FrameBorderLayouts + + +No PPR-capable 'id' found for elements of {0}. This component has not written-out an 'id' attribute. + + +Invalid string attribute for chooseDate: {0} + + +Unable to encode URL '{0}' using encoding '{1}' + + +Sorting disabled; table is not in a form + + +{0}: Column used outside of a Table + + +Cannot add client side converter and validators as the node name is null + + +Null validators iterator for {0} + + +There is already a converter on "{0}". There should only be one converter per component. + + +frame:{0} is missing attribute:{1} + + +Warning: illegal component hierarchy detected, expected UIXCommand but found another type of component instead. + + +Warning: NavigationLevelRenderer was looking for child property "{0}" but none was found, it is likely that an unexpected child component was found (expected CommandNavigationItem). + + +PanelAccordion must be used inside of a form + + +Error during partial-page rendering + + +The poll component must be inside of a form; disabling poll {0} + + +The number of items selected for shuttle '{0}' exceeds the total number of items in the shuttle. No selected items will be returned. + + +showDetail is not in a form, and will not function correctly + + +Some entries in value of {0} not found in SelectItems: {1} + + +Could not find selected item matching value "{0}" in {1} + + +Table with id: {0} has no visible columns! + + +The tree component must be used inside of a form. + + +Couldn't find scriptlet: {0} + + +Unable to get resource {0} + + +Apache Trinidad is running with debug javascript. Do not use in a production environment. See the "+_DEBUG_JAVASCRIPT+" parameter in /WEB-INF/web.xml + + +Illegal value:{0} for {1} + + +Unknown value for align:{0} + + +tableSelect components may only be used inside table and treeTable + + +nodeStamp facet on treeTable:{0} is missing or not of type UIXColumn + + +Unexpected tree state: focus rowKey is empty on an expand/collapse all request. + + +Page contains no form, it will not work properly + + +Only tr:showDetailItem is allowed as child of tr:panelTabbed. + + +Value for component with id '{0}' is not a valid BoundedRangeModel instance + + +Resource "{0}" at path "{1}" not found + + +Could not find bundle {0} + + +Required attribute "{0}" not found. + + +{0} is not an understood child element + + +"{0}" is not an understood attribute + + +Only one child element is allowed here. + + +Could not parse value of attribute: {0} + + +Could not parse value of attribute: {0}, namespace={1} + + +Unknown attribute: {0} + + +Unknown attribute: {0}, namespace={1} + + +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 '{0}' and value is '{1}' + + +Ignoring properties {0} because there is no corresponding selector. + + +Error reading from the skin css file + + +Can't add Skin with null skinId or null skin + + +Can't get Skin with null skinId + + +Can't find a skin that matches family {0} and renderkit {1}, so we will use the simple skin + + +Could not get the stylesheet document's timestamp because we couldn't open the connection. + + +The following skins extend each other in a circular fashion or the skin they extend does not exist:{0} + + +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}". + + +Error parsing:{0} + + +error loading file:{0} + + +Could not load style sheet: {0} + + +IOException during parse of {0} + + +No styles found context - {0} + + +IOException while creating file: {0} + + +\nUnable to generate the style sheet {0} in cache directory \n{1}.\nPlease make sure that the cache directory exists and is writable.\n + + +IOException while opening file for writing: {0} + + +The css file has hit IE's limit of 4095 CSS selectors. It has {0} selectors. The selectors after that will be ignored. + + +Consecutive sub-element (::) syntax used in selector {0}. This is not supported. + + +An url value delimited by url() is expected for the property '{0}' in style sheet '{1}'. Found: '{2}'. + + +Invalid image uri '{0}' in style sheet '{1}' + + +An empty URL was found in style sheet'{0}' + + +"<style> elements must have either a name or a selector attribute + + +Could not parse import: {0} + + +Import missing required href attribute + + +'componentType' attribute is required + + +Could not find metadata for componentType:{0} in region-metadata + + +There was no jspUri for componentType:{0} + + +attribute:{0} is missing on componentType:{1} + + +facetRef must be inside of a UIComponent tag. + + +Cannot find parent <tr:componentRef&rt; + + +facetName is required on facetRef + + +validator tag is not inside a UIComponent. + + +could not create validator for validatorId:{0} and binding:{1} + + +attribute 'validatorId' is missing + + +Could not parse value {0} into a Date using pattern "yyyy-MM-dd"; ignoring. + + +No RendererFactory registered for components in namespace {0} + + +No Renderer registered for {0} + + +Could not get image cache + + +Cannot convert {0} of class:{1} into DataObjectList + + +Could not convert {0} into a {1} + + +Unsupported UINode:{0}, path = {1} + + +Invalid value. Defaulting component with id '{0}' to indeterminate mode + + +No form found for {0} + + +Could not get image provider for icon: {0} + + +Could not get colorized icon for: {0} + + +Could not find icon with key given + + +Could not find renderer for alias {0} + + +Unable to flip icon '{0}' because it is not under the current request context, which is '{1}' + + +Could not locate parent form for formValue {0} + + +The component is null for node with local name {0} + + +Could not get flipped icon for: {0} + + +The node name is null and therefore no client side required validator added for node with local name {0} + + +Could not find class {0} + + +Could not load class {0}:{1} + + +Method {0} does not return an Icon + + +Could not find method {0} in {1} + + +Could not find access {0} in {1} + + +Required element 'skin-id' not found. + + +Required element 'style-sheet-name' not found. + + +Required element 'id' not found. + + +Required element 'family' not found. + + +Malformed property entry: {0}={1} + + +Could not load renderer type to local name mapping. + + +Encoding {0} is not supported at the client side. This will skip client side validation. + + +The TrinidadFilter has not been installed. Apache Trinidad requires this filter for proper execution. + + Added: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/rts.dtd URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/rts.dtd?view=auto&rev=532908 ============================================================================== --- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/rts.dtd (added) +++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/rts.dtd Thu Apr 26 16:31:01 2007 @@ -0,0 +1,30 @@ + + + + + + + + + + + +