Author: abelevich
Date: 2007-10-23 11:51:34 -0400 (Tue, 23 Oct 2007)
New Revision: 3490
Modified:
trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java
Log:
fix RF-1141 add check facesMsg != null in renderBody method
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-10-23
15:18:41 UTC (rev 3489)
+++
trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java 2007-10-23
15:51:34 UTC (rev 3490)
@@ -272,7 +272,7 @@
public void renderBody(UIRichMessages uiMessages, FacesContext context, ResponseWriter
writer,FacesMessage facesMsg) throws IOException{
- if(uiMessages.isPassed()){
+ if(uiMessages.isPassed() || facesMsg != null ){
if(isWroteTable){
writer.startElement(HTML.TR_ELEMENT, uiMessages);
Show replies by date