• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Using html:checkbox

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Please someone explain me how to use html:checkbox??

I have a requirement where I have to provide checkboxes for each of the records shown in list view. Now when submit button is pressed only those records that were selected should be populated in the new similar screen.



1 P0 2006 9 BA0 0.0 ADVICED
2 P1 2006 9 BA1 100.0 ADVICED
3 P2 2006 9 BA2 200.0 ADVICED
4 P3 2006 9 BA3 300.0 ADVICED
5 P4 2006 9 BA4 400.0 ADVICED
6 P5 2006 9 BA5 500.0 ADVICED
7 P6 2006 9 BA6 600.0 ADVICED



In the quoted text i have tried to illustrate the problem. In this list the S.No. (i.e. 1,2,3 ....) has to be replaced by checkboxes. Now if one selects say record no. 1,2,4,6 and then clicks on submit button then only these four records should be populated on the next screen which is very similar to this screen.

Thanks in advance!!!

Amitesh
 
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am going to be working on something similar, and believe that you should start looking at the following page.
http://husted.com/struts/tips/007.html

Hopefully we can help each other out as we go along.

Also others in here will most likely be able to give you invaluable advice so hope one of them replies to you.
reply
    Bookmark Topic Watch Topic
  • New Topic