jsf - Strange display of p:fileUpload component -


i trying use fileupload component of primefaces , working but empty error message displayed when component appeared no content , not understand why.

enter image description here

and if add file component disappeared still not pretty have when component loads.

// view <h:form>   <p:fileupload fileuploadlistener="#{bean.handlefileupload}" /> </h:form>  // managedbean public void handlefileupload(fileuploadevent event) {     uploadedfile file = event.getfile();     system.out.println("handlefileupload : " + file); } 

the managed bean function called when click on upload button.

hope understand problem !

thanks in advance


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -