Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
JakeFlynn #1
Problems referencing CFGRIDs contents
Here is the error:
You have attempted to dereference a scalar variable of type class
java.lang.String as a structure with members.
The error occurred in c:\tessite\gridTestUpdate.cfm: line 8
6 :
7 : <cfoutput>
8 : <cfloop index="var" from="1" to="4">
9 : #gridTest.cust_code[var]#
10 : </cfloop>
Here is the code:
<cfform ACTION="/gridTestUpdate.cfm" METHOD="POST">
<cfgrid name="gridTest" query="customer" width="600" height="400"
selectmode="edit">
<cfgridcolumn name = "cust_code" header = "Customer Code" select="no"
type="numeric" href="/index.cfm" hrefkey="cust_code">
<cfgridcolumn name = "bus_name" header = "Name" select="no">
<cfgridcolumn name = "cust_stat" header = "Status" values =
"#cust_stat_list#" valuesDisplay = " ,#cust_stat_list#">
<cfgridcolumn name = "territory" header = "Territory" values =
"#tech_code_list#" valuesDisplay = " ,#tech_code_list#">
</cfgrid>
<INPUT TYPE="Submit" NAME="submit" VALUE="Apply Changes">
<INPUT type="hidden" NAME="gridEntered" VALUE="yes">
</cfform>
Anyone have any ideas to why I cannot access anything in the CFGRID. I had the
same kind of problems also when trying to use gridTest.RowStatus.Action.
thanks
Jake
JakeFlynn Guest
-
Two cfgrids acting as master/detail page
I want to create a master/detail sheet using two cfgrids in the same form, one on top of the other. How do I bind the display of the second grid... -
Listing contents of a directory folder to contents ofdirectory
cfdirectory listing... Here is my problem... I am listing directorys and when each directory is listed I want to list the contents of that... -
Links in flash cfgrids
Can I put a link in a flash cfgrid using data from a query? It works if the grid is an applet but I can't seem to do it in a flash grid. Pointers? -
Table of Contents problems
ID 2.02 PC Win 2000 Pro I have created a table of contents and placed it in a text box. When I try to edit some of the text (copy/paste, double... -
referencing scenes
Hi Can anyone tell me how to reference a scene from another scene If you just want the next scene its: nextScene(); but what if you want to target...



Reply With Quote

