aspose file tools*
The moose likes JSF and the fly likes JSF fileupload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF fileupload" Watch "JSF fileupload" New topic
Author

JSF fileupload

srinivas bodapati
Greenhorn

Joined: Jul 09, 2008
Posts: 14
Hey,

I am hitting some errors when trying to use fileuploader that comes with JSf

My JSP:

<tr>
<td>
<hx:fileupload styleClass="fileupload" id="fileupload1"
value="#{person.file}">
<hx:fileProp name="fileName" />
<hx:fileProp name="contentType" />
</hx:fileupload>
</td>
</tr>
<tr>
<td>
<hx:progressBar auto="true" timeInterval="1000" proportion="5"
styleClass="progressBar" id="bar1" style="color: #fd025a"
initHidden="true" outward="true" message="Upload Success">
</hx:progressBar>
</td>
</tr>

I am unable to see the status bar...when i Click my submit button that submits the form.

or else do i need to have a separate button for the upload process.

my other concern is, how do i save the file i upload from my jsp.

I am a novice javascript:%20x()in JSF.

Any help is greatly appreciated.
javascript:%20x()
Thank you

S R I.javascript:%20x()


Perception Matters.
S R I
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF fileupload
 
Similar Threads
prevent auto submit
how to print multiple file uploads in console
using Multiple submit buttons.
selectOneRadio - javascript get value
how to make editable page non editable when i press save?????