aspose file tools*
The moose likes Struts and the fly likes html:checkbox  tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:checkbox  tag" Watch "html:checkbox  tag" New topic
Author

html:checkbox tag

Manish Moorjani
Greenhorn

Joined: Jun 17, 2005
Posts: 9
Hi,

I have a form in which I have mulitple records
like this

Name Owns Car

Manish (checkbox here)
Amit (checkbox here)
Rajesh (checkbox here)

Save button

For the checkbox ,I am using
<html checkbox propertyName=checkCar value= ??? >
In the value I want to put the unique id of the name, so that I can determine for which user the checkbox was clicked.
I am using html iterate to print the names

Thanks
Manish


Happiness is neither fulfillment of desires nor suppression of desires. It is overcoming the desires
Ram Munshi
Ranch Hand

Joined: Aug 09, 2005
Posts: 55
you can use <html:multibox > for such kind of thing ,and in action form you can take an array of string to represent array of string to store the values. I suppose.

Ram


Ram Munshi
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: html:checkbox tag