Skip to main content
Participant
June 11, 2008
Question

CFGRID does not display

  • June 11, 2008
  • 1 reply
  • 264 views
I'm running CFMX 7on Windows. I couldn't get CFGrid to return any records, so I tried the CFGRID example on page 646 of the Development Guide:

<cfquery name="empdata" datasource="cfdocexamples">
SELECT * FROM Employee
</cfquery>
<cfform name="Form1" action="submit.cfm" >
<cfgrid name="employee_grid" query="empdata"
selectmode="single">
<cfgridcolumn name="Emp_ID">
<cfgridcolumn name="LastName">
<cfgridcolumn name="Dept_ID">
</cfgrid>
<br>
<cfinput name="submitit" type="Submit" value="Submit">
</cfform>

<cfdump> shows that there are records in the query, but the page displays nothing but the Submit button.

I apparently have the correct mapping for the JAVA class, because CF knows when I've made a syntax error within CFGrid.


    This topic has been closed for replies.

    1 reply

    trapnetoAuthor
    Participant
    June 12, 2008
    I just noticed this diagnostic in the Java console:

    load: class coldfusion.applets.CFGridApplet.class not found.

    . . . so I obviously don't have the correct mapping in some sense, even though CFMX7 tells me when I've made a syntax error.