Differences between revisions 3 and 4
Revision 3 as of 2005-09-22 20:34:12
Size: 255
Editor: 216-115-113-19
Comment:
Revision 4 as of 2005-09-22 22:25:57
Size: 401
Editor: 216-115-113-19
Comment: Added note about enctype since this one hit me.
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Note that the name of this component is <t:inputFileUpload> Note that the name of this component is <t:inputFileUpload>.

You also must set the enctype properly on your containing form as well as use the extensionsFilter.

<h:form enctype="multipart/form-data">

Describe File Upload here:

Andrei Cioroianu has written a very good article on how to use the MyFaces File Upload component: [http://www.onjava.com/pub/a/onjava/2005/07/13/jsfupload.html]

Note that the name of this component is <t:inputFileUpload>.

You also must set the enctype properly on your containing form as well as use the extensionsFilter.

<h:form enctype="multipart/form-data">

File_Upload (last edited 2009-09-20 23:01:10 by localhost)