Author: abelevich
Date: 2007-08-03 08:40:26 -0400 (Fri, 03 Aug 2007)
New Revision: 2045
Modified:
trunk/ui/message/src/main/config/component/message.xml
trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java
trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java
Log:
fix RF-536, remove logInfo
Modified: trunk/ui/message/src/main/config/component/message.xml
===================================================================
--- trunk/ui/message/src/main/config/component/message.xml 2007-08-03 12:38:23 UTC (rev
2044)
+++ trunk/ui/message/src/main/config/component/message.xml 2007-08-03 12:40:26 UTC (rev
2045)
@@ -219,7 +219,6 @@
<property attachedstate="true">
<name>passedLabel</name>
<classname>java.lang.String</classname>
- <defaultvalue>"passed"</defaultvalue>
<description>
Attribute should define the label to be displayed when no message appears
</description>
Modified:
trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java
===================================================================
---
trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java 2007-08-03
12:38:23 UTC (rev 2044)
+++
trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java 2007-08-03
12:40:26 UTC (rev 2045)
@@ -76,8 +76,8 @@
if(forClientId == null){
- if(log.isInfoEnabled()){
- log.info(NULL_PARAMETER_ERROR_MESSAGE);
+ if(log.isErrorEnabled()){
+ log.error(NULL_PARAMETER_ERROR_MESSAGE);
}
}else{
Modified:
trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java
===================================================================
---
trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java 2007-08-03
12:38:23 UTC (rev 2044)
+++
trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java 2007-08-03
12:40:26 UTC (rev 2045)
@@ -148,10 +148,6 @@
}
- if(log.isInfoEnabled()){
- log.info("start render messages");
- }
-
if(!messagesIter.hasNext()){
renderBody(uiMessages, context, writer, null);
@@ -173,11 +169,6 @@
requestMap.put(var, facesMsg);
try {
-
- if(log.isInfoEnabled()){
- log.info("start render children of " + uiMessages.getClientId(context) +
" component");
- }
-
renderChildren(context, uiMessages);
} finally {
@@ -226,10 +217,6 @@
uiMessages = (UIRichMessages)component;
- if(log.isInfoEnabled()){
- log.info("start render label HTML");
- }
-
boolean isTooltip = getUtils().isBooleanAttribute(uiMessages, "tooltip");
boolean showSummary = uiMessages.isShowSummary();
@@ -300,10 +287,6 @@
return;
}
- if(log.isInfoEnabled()){
- log.info("start render marker HTML: " + markerFacet.getClientId(context));
- }
-
uiMessages = (UIRichMessages)component;
if(isWroteTable){
@@ -336,10 +319,6 @@
uiMessages = (UIRichMessages)component;
- if(log.isInfoEnabled()){
- log.info("start render component outer styles: " +
uiMessages.getClientId(context));
- }
-
String parentStyle = (String)uiMessages.getAttributes().get("style");
String parentClass = (String)uiMessages.getAttributes().get("styleClass");
Show replies by date