| Author |
including a layer between the JSF life cycle layers
|
khaja syed
Greenhorn
Joined: Oct 30, 2012
Posts: 3
|
|
Hi,
I want to know how many times a particular page has been rendered to user within a session and i want to count the number of occurrences.
Please help me in doing this requirement.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
|
|
Welcome to the JavaRanch, Khaja!
Without actually checking the technical details, I'd say that probably you should implement a PhaseListener to catch the rendering phase of the JSF lifecycle and record what view is being rendered.
Note that because JSF uses postbacks, the number of page render operations is going to be a lot higher than it would be for most web application frameworks and will not have a simple correspondence to the "number of page views" that is the common metric for the popularity of a page.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: including a layer between the JSF life cycle layers
|
|
|