Re: Array of checkboxes in JSP - props in bean

2002-01-03 Thread Shengmeng Liu
Hi, I have successfully use String as type for property of checkbox. It works exactly the way I expected. That is it's initial value is null and when the checkbox is checked, it will have the value of on, which is the default of html:checkbox and the html input element will now have one

Re: Array of checkboxes in JSP - props in bean

2002-01-03 Thread Shengmeng Liu
Hi, I have successfully use String as type for property of checkbox. It works exactly the way I expected. That is it's initial value is null and when the checkbox is checked, it will have the value of on, which is the default of html:checkbox and the html input element will now have

Re: Array of checkboxes in JSP - props in bean

2002-01-01 Thread David M. Karr
Shengmeng == Shengmeng Liu [EMAIL PROTECTED] writes: Shengmeng Hi, Shengmeng I agree with you that the property attribute for form element is overloaded to Shengmeng have two meanings. It determines both: Shengmeng 1)which getter method will be invoked on the form bean to

Array of checkboxes in JSP - props in bean

2001-12-31 Thread David M. Karr
I've noticed some problems, and have some questions, with situations where I use logic:iterate to display a list of checkboxes and then (hopefully) automatically populate those values in the downstream form object. I'm sure I'm misunderstanding some things, so please correct me if you see a

Re: Array of checkboxes in JSP - props in bean

2001-12-31 Thread Shengmeng Liu
Hi, I agree with you that the property attribute for form element is overloaded to have two meanings. It determines both: 1)which getter method will be invoked on the form bean to obtain its initial value; 2)which setter method will be invoked on the form bean (or the name of the request