Author: amarkhel
Date: 2010-10-01 09:46:56 -0400 (Fri, 01 Oct 2010)
New Revision: 19403
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ProgressBarBaseRenderer.java
Log:
Fix problem with label attribbute on progressbar component
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ProgressBarBaseRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ProgressBarBaseRenderer.java 2010-10-01
13:45:28 UTC (rev 19402)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ProgressBarBaseRenderer.java 2010-10-01
13:46:56 UTC (rev 19403)
@@ -152,7 +152,9 @@
try {
if (children) {
this.renderChildren(context, component);
- }
+ } else if (component.getAttributes().get("label") != null) {
+
clonedWriter.write(component.getAttributes().get("label").toString());
+ }
} finally {
clonedWriter.flush();
context.setResponseWriter(writer);
Show replies by date