Wes Wannemacher wrote:
Second, when you are using the iterator and creating single checkboxes, you need to make the names unique. You are simply creating a new checkbox with the name "beds" over and over again.

Putting in an index only matters if order is important (and you don't trust the browser to submit in order); if a page has multiple variables of the same name their values will be put into an array or collection action property.

For a checkbox w/ a true/false value probably need either an index or to use a map-based property.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to