struts2 checkbox

2010-04-09 Thread lucas owen
Hi Struts users: I'm working with Struts 2 (v 2.1.6) and I have the following problem: I have a list of notifications, which I display in a table in a jsp: As you can see, each notification has a checkbox: if the user selects a notification, its Id is sent to the action. So in

Re: Struts2 CheckBox tag inside an s:iterator

2008-03-04 Thread Skip Hollowell
The problem with this is that checkboxes only exist when they are checked. If the box is not checked, nothing is sent to the form for that box. Thus you are seeing information in your pre-populated data for those boxes that were checked when the form was submitted. It's not an easy fix, and

Struts2 CheckBox tag inside an s:iterator

2008-03-04 Thread Mano Dasanayaka
Hi All, I have a jsp where we list down some dynamic checkboxes. for this we use s:checkbox tag inside a s:iterator , in my action class I have a string[] named fullMarket and all the required getters and setters are provided there. Everything happens successfully, when we submit the