There could be several reasons why the listener function is not being called after upgrading to a newer version of JSF and PrimeFaces:
Check if the PrimeFaces version you have upgraded to is compatible with the version of JSF you are using. Make sure that you have the correct dependencies and configurations set up.
Verify that the listener function is properly defined in your backing bean and is correctly bound to the fileUpload component.
Check if any changes have been made to the p:fileUpload component in the newer version of PrimeFaces. Make sure that the component attributes are set correctly and that any new or updated attributes are used as intended.
Ensure that any additional libraries or dependencies required by the newer version of PrimeFaces are properly included in your project.
Check the server logs for any errors or warnings that might indicate an issue with the fileUpload component or its listener function.
Try debugging the issue by adding breakpoints in the listener function to see if it is being called or not.
If all else fails, try reaching out to the PrimeFaces or JSF community for help or filing a bug report.
Asked: 2023-06-22 15:14:32 +0000
Seen: 9 times
Last updated: Jun 22 '23