Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFGRID does not display

New Here ,
Jun 11, 2008 Jun 11, 2008
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.


251
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 12, 2008 Jun 12, 2008
LATEST
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources