False alarm. I forgot to add that particular form element to the
> What does your <form:form> tag or <form:bind> tag look like? I suspect
> the form is bound to the Event object and not bound to your object. Our
> test in the test harness for checkbox is working -- so I suspect a
> simple configuration issue we're not seeing.
> Best,
> .Peter
> Mike Rogers said the following on 11/07/2009 02:15 PM:
> > All,
> > Has anyone played with <form:checkbox>? I have a decorator on a
> > TransferObject that seems never to be called. My view:
> > <label for="educationFormatString">Education Format</label>
> > <cfloop query="educationFormatQuery">
> > <form:checkbox path="educationFormatString"
> > value="#educationFormatQuery.id#"/>#educationFormatQuery.format#
> > </cfloop>
> > My decorator method (this TransferObject is being used as an event-
> > bean, and all non-checkbox fields are binding correctly through
> > decorator methods):
> > <cffunction name="setEducationFormatString" returntype="void"
> > output="false">
> > <cfargument name="educationFormatString" type="string"
> > required="true"/>
> > <cfset var array = ListToArray(arguments.educationFormatString)/>
> > <cfthrow message="educationFormatString:
> > #arguments.educationFormatString#"/>
> > <cfset clearEducationFormats()/>
> > <cfloop from="1" to="#ArrayLen(array)#" index="i">
> > <cfset addEducationFormats(getTransfer().get
> > ("gorgon.EducationFormat", array[i]))/>
> > </cfloop>
> > </cffunction>
> > The CFTHROW command on line 4 in the decorator method is never getting
> > called.
> > Does anyone have a clue where I've gone wrong? Did I find a bug?
> > Thanks,
> > -Mike Rogers