Author: konstantin.mishin
Date: 2011-02-23 15:10:53 -0500 (Wed, 23 Feb 2011)
New Revision: 21901
Added:
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/cdk/
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/cdk/attributes/
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/cdk/attributes/fileUploadListener-props.xml
Modified:
branches/4.0.X/ui/input/ui/src/main/java/org/richfaces/component/AbstractFileUpload.java
Log:
RF-9955
Modified:
branches/4.0.X/ui/input/ui/src/main/java/org/richfaces/component/AbstractFileUpload.java
===================================================================
---
branches/4.0.X/ui/input/ui/src/main/java/org/richfaces/component/AbstractFileUpload.java 2011-02-23
20:03:53 UTC (rev 21900)
+++
branches/4.0.X/ui/input/ui/src/main/java/org/richfaces/component/AbstractFileUpload.java 2011-02-23
20:10:53 UTC (rev 21901)
@@ -46,7 +46,7 @@
*/
@JsfComponent(tag = @Tag(handler =
"org.richfaces.view.facelets.FileUploadHandler"),
renderer = @JsfRenderer(type = "org.richfaces.FileUploadRenderer"),
- attributes = {"events-props.xml", "core-props.xml",
"ajax-props.xml", "i18n-props.xml"})
+ attributes = {"events-props.xml", "core-props.xml",
"ajax-props.xml", "i18n-props.xml",
"fileUploadListener-props.xml"})
@ListenerFor(systemEventClass = PostAddToViewEvent.class)
public abstract class AbstractFileUpload extends UIComponentBase {
Added:
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/cdk/attributes/fileUploadListener-props.xml
===================================================================
---
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/cdk/attributes/fileUploadListener-props.xml
(rev 0)
+++
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/cdk/attributes/fileUploadListener-props.xml 2011-02-23
20:10:53 UTC (rev 21901)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- JBoss, Home of Professional Open Source Copyright ${year}, Red Hat,
+ Inc. and individual contributors by the @authors tag. See the copyright.txt
+ in the distribution for a full listing of individual contributors. This is
+ free software; you can redistribute it and/or modify it under the terms of
+ the GNU Lesser General Public License as published by the Free Software Foundation;
+ either version 2.1 of the License, or (at your option) any later version.
+ This software is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ details. You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the
+ FSF site:
http://www.fsf.org. -->
+<cdk:properties
xmlns:cdk="http://jboss.org/schema/richfaces/cdk/extensions"
xmlns="http://java.sun.com/xml/ns/javaee">
+ <property>
+ <property-name>fileUploadListener</property-name>
+ <property-class>javax.el.MethodExpression</property-class>
+ </property>
+</cdk:properties>