This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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
how to print multiple file uploads in console
using Multiple submit buttons.
how to make editable page non editable when i press save?????
prevent auto submit
selectOneRadio - javascript get value