FileUpload and SpreadSheet

UI Components for JSF
Post Reply
helpme
Posts: 2
Joined: 09 Sep 2010, 17:18

13 Sep 2010, 14:32

hi,

i'm having both the fileupload (widgetVar: widgetFile) and spreadsheet (widgetVar: widgetSS) in one xhtml page.

my problem is i'm using customUI for fileupload, whereby clicking on the submit button will start the upload. from my understanding i will need to call widgetFile.upload() and widgetSS.save() to perform the respective function.

however, the onclick"" doesn't response when i put both functions into it. i suppose this is due to limitation on javascript. to work around, i created a function (clickButton()) in javascript and placed both widgetFile.upload() and widgetSS.save() in it. sad to say, the clickButton() is invoked but the two functions are not. can anyone advice on how should i invoke the two functions from javascript?

thanks in advance!!

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests