I hope you can help me with this.
I'm with a web app in java ee 7 primefaces like the view and the corresponding Beans.
What I want is the following:
By selecting a particular category, requirements are generated dynamically and next to them, a FileUpload is added, meaning that each requirement must upload a file. The view correctly renders each requirement with its FileUpload, what I want to do is save those files that are uploaded with the id of the corresponding requirement.
Primefaces gives me the basic fileupload see here code , but when sending the id of the requirement, by submit, I do not receive in the corresponding bean.
While with this fileupload of primefaces same see here , I can not send the corresponding parameter, I do not know how I could overwrite that method (the one with the fileuploadevent) to send the id of the requirement right there.
I hope you can help me ...