@tpetruzzi - Thanks for the code update. I've gone ahead and applied
it to my model. Now when I access the edit page I am getting the
following error related to the checkBoxTag.
Invalid CFML construct found on line 32 at column 34.
ColdFusion was looking at the following text:
width
The CFML compiler was processing:
* An expression beginning with checkboxTag, on line 25, column
34.This message is usually caused by a problem in the expressions
structure.
* The body of a cfoutput tag beginning on line 3, column 2.
* The body of a cfoutput tag beginning on line 3, column 2.
The error occurred in C:\inetpub\wwwroot\cha\press_room\pubman\views\pr
\edit.cfm: line 32
Called from C:\inetpub\wwwroot\cha\press_room\pubman\wheels\global
\cfml.cfm: line 101
Called from C:\inetpub\wwwroot\cha\press_room\pubman\wheels\controller
\rendering.cfm: line 315
Called from C:\inetpub\wwwroot\cha\press_room\pubman\wheels\controller
\rendering.cfm: line 119
Called from C:\inetpub\wwwroot\cha\press_room\pubman\wheels\controller
\rendering.cfm: line 40
Called from C:\inetpub\wwwroot\cha\press_room\pubman\wheels\dispatch
\request.cfm: line 390
Called from C:\inetpub\wwwroot\cha\press_room\pubman\wheels\dispatch
\request.cfm: line 352
Called from C:\inetpub\wwwroot\cha\press_room\pubman\wheels\index.cfm:
line 1
Called from C:\inetpub\wwwroot\cha\press_room\pubman\index.cfm: line 1
Called from C:\inetpub\wwwroot\cha\press_room\pubman\wheels\events
\onrequest.cfm: line 1
30 : </fieldset>
31 : <br />
32 : <fieldset style="width:800px;">
33 : <legend>Press Release Info</legend>
34 : <div>#textField(objectName="pritem", property="title",
label="Title: ")#</div>
Here's the checkBoxTag code
<cfloop query="prtypes">
#checkboxTag(name="pritem[prtypeid]", value="#prtypeid#",
label="#type#", labelPlacement="after",
checked="#IIF(ListFindNoCase(prsubList, prtypeid, chr(7)),
DE('checked'), DE(''))#<br />
</cfloop>
I'm not seeing any reason why this would not work.
> ...
>
> read more »