Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem With Checkbox

 
subhasish nag
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,
I have a problem with checkbox. It is delclared in a childbean and declared as(String ynROChecked="-1";).
and in jsp as <html:checkbox property="ynROChecked" name="rocodelist" value="1" indexed="true" /></td>.
In jsp multiple rows are getting populated and some of them are preselected.When I am going to update
the details based on selected checkbox even when I am deselectiong one of the presected checkboxes
those are treating as value 1(ie. selected). Please guide me,or provide some code ,so that I can solve this.
Thanks,
subhasish
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
 
subhasish nag
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks David.It's working Now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic