title: Richfaces fileupload component - before file upload event
body: <p>I am using Richfaces fileupload component to upload some files. After I select a file, I would like to do something with the data, filename, etc before actually uploading the file. However, I cant seem to find the the before upload event handler event handler. </p>
  
  <p>Question 1: What event is used to handle file selection -can I hook my code in there</p>
  
  <p>Question 2: Is there an onbeforeUpload event?</p>