Author: abelevich
Date: 2007-07-27 12:32:41 -0400 (Fri, 27 Jul 2007)
New Revision: 1904
Modified:
trunk/sandbox/ui/message/src/main/java/org/richfaces/renderkit/html/RichMessagesHtmlBaseRenderer.java
Log:
add log
Modified:
trunk/sandbox/ui/message/src/main/java/org/richfaces/renderkit/html/RichMessagesHtmlBaseRenderer.java
===================================================================
---
trunk/sandbox/ui/message/src/main/java/org/richfaces/renderkit/html/RichMessagesHtmlBaseRenderer.java 2007-07-27
16:31:38 UTC (rev 1903)
+++
trunk/sandbox/ui/message/src/main/java/org/richfaces/renderkit/html/RichMessagesHtmlBaseRenderer.java 2007-07-27
16:32:41 UTC (rev 1904)
@@ -134,7 +134,11 @@
// renderComponentOuterStyles(uiMessages, context, writer);
}
-
+
+ if(log.isInfoEnabled()){
+ log.info("start render messages");
+ }
+
while(messagesIter.hasNext()){
FacesMessage facesMsg = (FacesMessage)(messagesIter.next());
@@ -164,6 +168,11 @@
requestMap.put(var, facesMsg);
try {
+
+ if(log.isInfoEnabled()){
+ log.info("start render children of " + uiMessages.getClientId(context) +
" component");
+ }
+
renderChildren(context, uiMessages);
} finally {
@@ -210,6 +219,10 @@
uiMessages = (UIRichMessages)component;
+ if(log.isInfoEnabled()){
+ log.info("start render label HTML");
+ }
+
boolean isTooltip = getUtils().isBooleanAttribute(uiMessages, "tooltip");
boolean showSummary = uiMessages.isShowSummary();
@@ -281,6 +294,10 @@
return;
}
+ if(log.isInfoEnabled()){
+ log.info("start render marker HTML: " + markerFacet.getClientId(context));
+ }
+
uiMessages = (UIRichMessages)component;
if(uiMessages.isWroteTable()){
@@ -315,6 +332,10 @@
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