• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pagination in JSF - RAD 7

 
sri pathi
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
My requirement is as below
There are a set of questions (say for eg. 10) with radio buttons for answers and these questions span over multiple pages. What I would like to do is, validate the selection of answers for each question and carry over the selected answers on each page to the final page, where the user Submits the answers to the backend. There are two questions here, How do I implement pagination and how do I carry forward these answers to the final page. I can use only hx, h, f tags

Please let me know of any solution to the problem .
(Note: I have tried using div tags to show and hide parts of the page to simulate pagination, but that did not work as div tags becomes nested and goes in as child to the previously created div tags on the page . Is there any problem with using div tags in JSF. I'm using RAD 7.)

Thanks in advance!

[ August 02, 2008: Message edited by: sri pathi ]
[ August 02, 2008: Message edited by: sri pathi ]
 
Venkat Sadasivam
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no problem using <div> tag in JSF.

Probably a4j might solve your problem.
http://livedemo.exadel.com/richfaces-demo/richfaces/include.jsf?c=include
 
sri pathi
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Venkat Sadasivam:
There is no problem using <div> tag in JSF.

Probably a4j might solve your problem.
http://livedemo.exadel.com/richfaces-demo/richfaces/include.jsf?c=include


The problem is as I mentioned I can use only h:, f: and hx: tags.
Please let me know of any other solution you can think of for this problem (instead of div)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic