File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ui:upload tag of web ui

 
Bushra Binte
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,I am trying to invoke javascript function onClick of the upload tag of the tag library "Sun web ui component support --webui.jar".While trying to get the id of the tag
<ui:upload id="fileUploadComp"
uploadedFile="#{BodyUploadFile.uploadedFile}"
binding="#{BodyUploadFile.fileUpload}"
columns="60"
style="text-align: left;"
styleClass="mandatoryField"/>
m not able to get value of the control in javascript.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic