• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

JSF fileupload

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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()
reply
    Bookmark Topic Watch Topic
  • New Topic