fileuplaod_wgt.buttonBar.find("button.cancel")
fileuplaod_wgt.buttonBar.find("button.start")
fileuplaod_wgt.buttonBar.find('input[type=file]')
upload content
upload.uploadContent'
number of uploaded files
var files = fileuplaod_wgt.uploadContent.find('.files .template-upload');
invalid files
fileuplaod_wgt.uploadContent.find("tr.ui-state-error");
reference:
http://stackoverflow.com/questions/14881131/primefaces-upload-how-to-only-allow-one-upload-in-advance-mode
Tuesday, August 2, 2016
Subscribe to:
Comments (Atom)
Popular Posts
- Velocity without template(.vm) file
- How to edit Liferay email notification templates
- How to switch EJB client to local or remote interface without changing code
- Easy way to add AJAX action to HTML element with Richfaces and Primefaces
- How to display dynamic PDF document with <p:media /> component
- How to disable row selection in PrimeFaces datatable
- How to deploy jdbc driver as a module in JBoss AS7
- Group Chatting with SparkWeb and OpenFire
- Primefaces fileDownload in Liferay
- How to get Company Id in Liferay