[jboss-cvs] jboss-seam/src/ui/META-INF ...
Shane Bryzak
Shane_Bryzak at symantec.com
Tue Jan 23 00:19:46 EST 2007
User: sbryzak2
Date: 07/01/23 00:19:46
Modified: src/ui/META-INF faces-config.xml taglib.tld
Log:
separate value bindings for data, content type and filename
Revision Changes Path
1.30 +12 -0 jboss-seam/src/ui/META-INF/faces-config.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: faces-config.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/ui/META-INF/faces-config.xml,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- faces-config.xml 22 Jan 2007 16:19:12 -0000 1.29
+++ faces-config.xml 23 Jan 2007 05:19:46 -0000 1.30
@@ -475,6 +475,18 @@
<component>
<component-type>org.jboss.seam.ui.FileUpload</component-type>
<component-class>org.jboss.seam.ui.FileUpload</component-class>
+ <property>
+ <property-name>data</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>contentType</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>fileName</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
</component>
<validator>
1.27 +18 -0 jboss-seam/src/ui/META-INF/taglib.tld
(In the diff below, changes in quantity of whitespace are not shown.)
Index: taglib.tld
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/ui/META-INF/taglib.tld,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- taglib.tld 22 Jan 2007 16:19:12 -0000 1.26
+++ taglib.tld 23 Jan 2007 05:19:46 -0000 1.27
@@ -947,6 +947,24 @@
<name>fileUpload</name>
<tag-class>org.jboss.seam.ui.tag.FileUploadTag</tag-class>
<body-content>empty</body-content>
+ <attribute>
+ <name>data</name>
+ <required>true</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description>value binding for the file data</description>
+ </attribute>
+ <attribute>
+ <name>fileName</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description>value binding for the file name</description>
+ </attribute>
+ <attribute>
+ <name>contentType</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description>value binding for the file content type</description>
+ </attribute>
</tag>
<!-- Security functions -->
More information about the jboss-cvs-commits
mailing list