Results 1 to 3 of 3

Thread: bind list of checkboxes

  1. #1
    Join Date
    Sep 2006
    Posts
    12

    Default bind list of checkboxes

    Hi,

    We have a requirement where we need to display list of checkboxes and a text field multiple times on a page depending on the as many number of registrations selected by the user i.e. if the user has selected 4 registrations then those list of checkbixes and text field will be displayed 4 times

    The question is how to bind the value of selected check boxes for all these

    Help needed !!!

    Thanks
    -Rajeev

  2. #2
    Join Date
    Nov 2006
    Posts
    4

    Question Me too!

    I also have the same question as the original poster. Any insight would be much appreciated.

  3. #3
    Join Date
    Sep 2006
    Posts
    12

    Default

    We implemented it by creating a separate Pojo class which holds the value of selected checkboxes and textfields. And in the form we have getter and setter for that POJO class. And this class basically is an array of objects for each registration.

    Also we used DWR to bind those checkbox values whenever a onclick event is fired.

    Hope this helps

    -Rajeev

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •