Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Pagination in JSF - RAD 7

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic