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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -