Author: abelevich
Date: 2007-07-23 13:40:43 -0400 (Mon, 23 Jul 2007)
New Revision: 1801
Modified:
trunk/sandbox/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java
trunk/sandbox/ui/message/src/main/java/org/richfaces/renderkit/html/RichMessageHtmlBaseRenderer.java
Log:
rename isError to isPassed
Modified:
trunk/sandbox/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java
===================================================================
---
trunk/sandbox/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java 2007-07-23
17:35:10 UTC (rev 1800)
+++
trunk/sandbox/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java 2007-07-23
17:40:43 UTC (rev 1801)
@@ -18,10 +18,10 @@
private String passedLabel = "passed";
- private boolean isError = false;
+ private boolean isPassed = false;
- public boolean isError() {
- return isError;
+ public boolean isPassed() {
+ return isPassed;
}
public abstract String getPassedLabel();
@@ -39,7 +39,7 @@
}
public void restoreState(FacesContext context, Object state) {
- isError = true;
+ isPassed = true;
super.restoreState(context, state);
}
}
\ No newline at end of file
Modified:
trunk/sandbox/ui/message/src/main/java/org/richfaces/renderkit/html/RichMessageHtmlBaseRenderer.java
===================================================================
---
trunk/sandbox/ui/message/src/main/java/org/richfaces/renderkit/html/RichMessageHtmlBaseRenderer.java 2007-07-23
17:35:10 UTC (rev 1800)
+++
trunk/sandbox/ui/message/src/main/java/org/richfaces/renderkit/html/RichMessageHtmlBaseRenderer.java 2007-07-23
17:40:43 UTC (rev 1801)
@@ -97,7 +97,7 @@
msgIter = getMessageIterator(context, forClientId, msgComponent);
ResponseWriter writer = context.getResponseWriter();
- if(!msgIter.hasNext() && msgComponent.isError()){
+ if(!msgIter.hasNext() && msgComponent.isPassed()){
encodingUIContent(msgComponent, context, null);
Show replies by date