This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JSF and the fly likes Keeping track of question number Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Keeping track of question number" Watch "Keeping track of question number" New topic
Author

Keeping track of question number

tom davies
Ranch Hand

Joined: Apr 27, 2012
Posts: 168
I am creating an e-learning site, the user will have a series of 20 questions, i have the questions to automatically update when the the next button is clicked but i have a line at the top saying what question you are on. This wont update. I have a feeling it is not storing the page value but is just initializing it at 0 and then adding 1 every time the next button is clicked.

FIXED: I changed @RequestScoped to @SessionScoped
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Keeping track of question number