Hi,

I started a thread on this topic a while back, but the example I was guided to 
was hard to understand and implement.

The question is straight forward: How do you get the value of a checkbox from 
within an action?

- I have named my <s:checkbox> in the jsp, and have a private String element 
with the same name in my action
- I have created get/set methods

Each time I try to obtain the value when a button is pressed, I get null, 
regardless of whether the checkbox is clicked or not.

It's easy and straight forward to get the value of other tags (textfield, 
selectbox, ...), so I'm thinking that there's something more for checkboxes.  
Do I need to set an interceptor?  Please let me know whether I'm missing 
something here.

Thanks,
Session


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to