I am debugging a foreign JSF application. The problem is that I submit the form, but the values are not migrated.
With a phase listener, I see that the life cycle does not go through completely, so to speak, it skips phase 2-5: after the recovery viewing phase, the render response phase is called directly. I skip application values, validation, update model actions, etc.
So, this may be a problem with the chicken and the egg: 1. Responsible phases are not called up, so entering a new form cannot be rescheduled. 2. The system does not recognize the new input data and, therefore, directly displays them after recovery.
I checked that there is no call to responseComplete () or renderResponse ().
I’m somehow stuck. Any idea to test one of the two hypotheses? Or how to debug it at all? Has anyone had a similar problem?
Update
I have a suspicion that the JSF is not aware of the postback request and treats this as an initial view. This explains that I only transfer phases 1 and 6.
How to check if the JSF recognizes this as a faceless request?
How to check if facesContextthere is a corresponding treeID in the current one.
source
share