Re: Set Unchecked Value in the Checkbox Interceptor

2009-04-15 Thread Richard Sayre
I think I found the problem. All of my check boxes have the same name. After examining the code in the interceptor: if (key.startsWith("__checkbox_")) { String name = key.substring("__checkbox_".length()); iterator.remove(); // is this checkbox checked/sub

Re: Set Unchecked Value in the Checkbox Interceptor

2009-04-15 Thread Richard Sayre
After reading some more documentation I tried : -1 completeDefault is a stack I created which includes the checkbox interceptor. This is still not setting the value in my int array. On Wed, Apr 15, 2009 at 8:29 AM, Richard Sayre wrote: > The Struts 2 docs says the followi

Set Unchecked Value in the Checkbox Interceptor

2009-04-15 Thread Richard Sayre
The Struts 2 docs says the following about the Checkbox Interceptor: setUncheckedValue - The default value of an unchecked box can be overridden by setting the 'uncheckedValue' property. Where in code can I call the setUncheckedValue(String uncheckedValue) from? The problem I am facing is the f