Passing parameter from xhtml through p:remoteCommand to java bean not working
问题 I'm using p:fileUpload component from which I need to pass to java bean class, number of files which will be uploaded. Count of files is available here PrimeFaces.widgets.<widget_name>.files.length . So I'm trying to pass this value to java bean through p:remoteCommand , but for some reason method defined in action parameter is called, but parameter is not passed. I'm using Primefaces 2.1 ... I know that is prehistorical version, but I need to fix one bug in application which is using this