Author: andrei_exadel
Date: 2008-05-08 09:45:43 -0400 (Thu, 08 May 2008)
New Revision: 8501
Modified:
trunk/ui/fileUpload/src/main/config/component/fileUpload.xml
trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java
Log:
RF-3363
Modified: trunk/ui/fileUpload/src/main/config/component/fileUpload.xml
===================================================================
--- trunk/ui/fileUpload/src/main/config/component/fileUpload.xml 2008-05-08 13:36:13 UTC
(rev 8500)
+++ trunk/ui/fileUpload/src/main/config/component/fileUpload.xml 2008-05-08 13:45:43 UTC
(rev 8501)
@@ -302,6 +302,26 @@
<description>Defines a label for a stop control</description>
</property>
<property>
+ <name>doneLabel</name>
+ <classname>java.lang.String</classname>
+ <description>Defines a label for a done label</description>
+ </property>
+ <property>
+ <name>transferErrorLabel</name>
+ <classname>java.lang.String</classname>
+ <description>Defines a label for a transfer error label</description>
+ </property>
+ <property>
+ <name>sizeErrorLabel</name>
+ <classname>java.lang.String</classname>
+ <description>Defines a label for a size error label</description>
+ </property>
+ <property>
+ <name>progressLabel</name>
+ <classname>java.lang.String</classname>
+ <description>Defines a label for a progress label</description>
+ </property>
+ <property>
<name>locale</name>
<classname>java.lang.Object</classname>
<description>Used for locale definition</description>
Modified:
trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java
===================================================================
---
trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java 2008-05-08
13:36:13 UTC (rev 8500)
+++
trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java 2008-05-08
13:45:43 UTC (rev 8501)
@@ -76,7 +76,7 @@
private static final String[] labelAttribues = { "addControlLabel",
"uploadControlLabel", "stopControlLabel",
"clearAllControlLabel",
"cancelEntryControlLabel", "clearControlLabel",
- "stopEntryControlLabel", null, null, null, null };
+ "stopEntryControlLabel", "doneLabel", "sizeErrorLabel",
"transferErrorLabel", "progressLabel" };
/**
* Overrides standard JSF component method.
Show replies by date