Is is possible to fire a page action after the page is loaded?
I currenlty use a page action to log access to my application. I would like to persist an object in my page action and then outject. This part works fine.
After the page has loaded I would like to fire another action and inject this object to update it with the date the response finished rendering.
In the past I used a servlet filter, but I am trying to avoid that approach.
If you want to stay within the bounds of JSF, you could try a PhaseListener. Return PhaseID.RENDER_RESPONSE from getPhaseId().
Then fire your action in the afterPhase().
Stan