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

android - IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling -

go - serving up pdfs using golang -

how to add preprocess loader in webpack 2 -