Hello all, Weird error with CFGRid on cold fusion 5. I have a simple grid in a cfform that posts to the same page (code below). The grid displays perfectly.
I'm getting an error that states the grid can not be found in the posted form: Debug output clearly shows the grid being submitted: Form Fields: __CFGRID__CFFORM_1__SCROLLER= FIELDNAMES=GRIDENTERED,SUBMIT,__CFGRID__CFFORM_1__SCROLLER GRIDENTERED= SCROLLER= SUBMIT=Commit Changes ---error--- Error Occurred While Processing Request Error Diagnostic Information Grid scroller not found. The Grid scroller must be a control on the submitted form. The error occurred while processing an element with a general identifier of (CFGRIDUPDATE), occupying document position (10:1) to (10:156) in the template file D:\Inetpub\wwwroot\fhm\admin\home_scroller.cfm. Date/Time: 12/26/01 14:54:43 Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Remote Address: 10.0.0.20 HTTP Referrer: http://10.0.0.11/fhm/admin/home_scroller.cfm ---code--- <CFIF IsDefined("form.submit") is True> <cfgridupdate grid="scroller" datasource="FLORIDAHOLOCAUSTMUSEUM" tablename="scroller" dbtype="ODBC" username="stormfront" password="dsi2001" keyonly="Yes"> </CFIF> <cfquery name="getScrollerItems" datasource="FLORIDAHOLOCAUSTMUSEUM" dbtype="ODBC" username="stormfront" password="dsi2001"> SELECT * FROM Scroller ORDER BY Scroller_ID </cfquery> <table> <cfform action="home_scroller.cfm" method="POST" enablecab="Yes"> <input type="hidden" name="gridEntered" value=""> <tr><td> <cfgrid name="scroller" height="400" width="500" align="LEFT" query="getScrollerItems" insert="Yes" delete="Yes" sort="Yes" font="Arial" bold="No" italic="No" autowidth="true" appendkey="No" highlighthref="No" griddataalign="LEFT" gridlines="Yes" rowheaders="No" rowheaderalign="LEFT" rowheaderitalic="No" rowheaderbold="No" colheaders="Yes" colheaderalign="LEFT" colheaderitalic="No" colheaderbold="No" selectmode="Edit" picturebar="No" insertbutton="Add Record" deletebutton="Delete Record" sortascendingbutton="Sort ASC" sortdescendingbutton="Sort Desc"> <cfgridcolumn name="message" header="Message" headeralign="LEFT" dataalign="LEFT" width="50" bold="No" italic="No" select="Yes" display="Yes" type="STRING_NOCASE" headerbold="No" headeritalic="No"> <cfgridcolumn name="urlName" header="URL" headeralign="LEFT" dataalign="LEFT" width="50" bold="No" italic="No" select="Yes" display="Yes" type="STRING_NOCASE" headerbold="No" headeritalic="No"> <cfgridcolumn name="status_message" header="Status Bar" headeralign="LEFT" dataalign="LEFT" width="50" bold="No" italic="No" select="Yes" display="Yes" type="STRING_NOCASE" headerbold="No" headeritalic="No"> </cfgrid> </td></tr> <tr><td> <input type="submit" value="Commit Changes" name="submit"> </td></tr> </cfform> </table> ---error--- Error Occurred While Processing Request Error Diagnostic Information Grid scroller not found. The Grid scroller must be a control on the submitted form. The error occurred while processing an element with a general identifier of (CFGRIDUPDATE), occupying document position (10:1) to (10:156) in the template file D:\Inetpub\wwwroot\fhm\admin\home_scroller.cfm. Date/Time: 12/26/01 14:54:43 Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Remote Address: 10.0.0.20 HTTP Referrer: http://10.0.0.11/fhm/admin/home_scroller.cfm ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

