permaculture playing cards*
The moose likes JSF and the fly likes including a layer between the JSF life cycle layers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "including a layer between the JSF life cycle layers " Watch "including a layer between the JSF life cycle layers " New topic
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: 15964
    
  19

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: including a layer between the JSF life cycle layers
 
Similar Threads
work hours in US
SCDJWS and J2EE 5
Which book were you reading when passed Part 1 ?
how make petstore work in Jbuilder?
To Paul Sanghera, author of "SCBCD Exam Study"