Re: Help! problem with checkbox ( relevant code included)

2004-10-20 Thread t t
Thank you, Bill, Jeff, and Wendy for all your help! Tong Jeff Beal <[EMAIL PROTECTED]> wrote: The relevant section is Section 8.8 of the specification: "Thus when we extract a property or event name from the middle of an existing Java name, we normally convert the first character to lower case.

Re: Help! problem with checkbox ( relevant code included)

2004-10-20 Thread Jeff Beal
The relevant section is Section 8.8 of the specification: "Thus when we extract a property or event name from the middle of an existing Java name, we normally convert the first character to lower case. However to support the occasional use of all upper-case names, we check if the first two chara

Re: Help! problem with checkbox ( relevant code included)

2004-10-20 Thread Wendy Smoak
From: "t t" <[EMAIL PROTECTED]> > Salute you! Bill. It works! Thank you so much! > But why? Why does the name of a property matter? Why > does the upper case "A" matter? Form beans need to conform to the JavaBeans specification. That's what makes it possible for the framework to "know" what metho

Re: Help! problem with checkbox ( relevant code included)

2004-10-20 Thread t t
Salute you! Bill. It works! Thank you so much! But why? Why does the name of a property matter? Why does the upper case "A" matter? Thanks again. Tong --- Bill Siggelkow <[EMAIL PROTECTED]> wrote: > I believe the problem is the property name in your > ActionForm. Having a > method named getSAll

Re: Help! problem with checkbox ( relevant code included)

2004-10-20 Thread Bill Siggelkow
I believe the problem is the property name in your ActionForm. Having a method named getSAll() is going to cause problems. Make it getSall() and then the property will be 'sall' and everything will be much happier. Or you could try more meaningful names ;) -Bill Siggelkow t t wrote: Thank you,

Help! problem with checkbox ( relevant code included)

2004-10-20 Thread t t
Thank you, Bill and Jeff, Sorry I didn't include relevant code in my first post. Here is the relevant code. Code in J2:(with checkbox) -- (with other tds) (with other tds) -

Re: Help! problem with checkbox

2004-10-20 Thread Jeff Beal
What's the code in J2 that you use to put the checkbox? Are you using an tag? If so, does that tag refer to yet another action, A3? If so, which form bean is associated with A3? -- Jeff t t wrote: Hi, all, I have JSP file J1 with form F1 inside. It is used to accept user's input. And I wil

Re: Help! problem with checkbox

2004-10-20 Thread Bill Siggelkow
Tong, While I appreciate that you are trying to present your information in a generic manner -- it is rather difficult to know what's going on without specifics. For checkboxes, the property needs to be a boolean. If you cannot figure out the problem, I suggest you include the relevant portions

Help! problem with checkbox

2004-10-20 Thread t t
Hi, all, I have JSP file J1 with form F1 inside. It is used to accept user's input. And I will display the result in JSP file J2 with form F2. And there are a checkbox and multibox in F2. At first, I didn't associate F2 form bean with Action A1 which is triggered in F1. I just associated F1 form