1
I’m implementing the Phaselistener interface and now the system has slowed down. I was doing an analysis and saw that JSF is making repeated calls to a page that has only one panel with information coming from the database. Does anyone know what might be going on or have experienced this problem before? Is it possible to decrease the number of calls? Any tips?
Note: In the implementation of the Phaselistener methods I only put one System.out.println("") so the slowness is not caused by any code implemented in them.
Before phase: RESTORE_VIEW 1
After the stage: RESTORE_VIEW 1
After the stage: RESTORE_VIEW 1
Before phase: APPLY_REQUEST_VALUES 2
Before phase: APPLY_REQUEST_VALUES 2
After phase: APPLY_REQUEST_VALUES 2
After phase: APPLY_REQUEST_VALUES 2
Before phase: PROCESS_VALIDATIONS 3
Before phase: PROCESS_VALIDATIONS 3
After phase: PROCESS_VALIDATIONS 3
After phase: PROCESS_VALIDATIONS 3
Before phase: UPDATE_MODEL_VALUES 4
Before phase: UPDATE_MODEL_VALUES 4
After phase: UPDATE_MODEL_VALUES 4
After phase: UPDATE_MODEL_VALUES 4
Before the stage: INVOKE_APPLICATION 5
Before the stage: INVOKE_APPLICATION 5
After the stage: INVOKE_APPLICATION 5
After the stage: INVOKE_APPLICATION 5
Before stage: RENDER_RESPONSE 6
Before stage: RENDER_RESPONSE 6
on your page try to put this and see if it works:
<f:metadata>
 <f:viewParam name="dummy" />
 </f:metadata>
– DiegoAugusto
I had already put this, vlw by the comment
– Lucas Vinícius
@Lucasvinicius, show how your files are written
faces-config.xml
and theweb.xml
– Marcos Sousa