Groups | Blog | Home
all groups > coldfusion flash integration > may 2006 >

coldfusion flash integration : CFGRID and format=flash



cqk
5/15/2006 7:50:00 PM
We have been testing CFGRID with format = flash . This works on our dev web
server but not our live server. Both are running Wiondows Server 2000, IIS 6,
CFMX7.0.1 with Hotfix 2

On the dev server the column headings and data appear in the flash grid. But
on the live server only the column headings appear and the flash grid appears
but no data yet is appears to load the data but does not show the data.

you can test this at http://www.ametsoc.org/flashtest3.cfm

The code is


<!--- Query the database to fill up the grid. --->
<cfquery name="qry_states" DATASOURCE="#dbdsn#" USERNAME="#dbuid#"
PASSWORD="#dbpwd#">
SELECT * from States
ORDER BY StateAbbrev
</cfquery>
<h3>cfgrid Example</h3>
<I>Using flash as format - on live server only the column names show up but
not the data</i>
<!--- cfgrid must be inside a cfform tag. --->
<cfform name="frmGrid" method="post" action="">
<cfgrid name = "FirstGrid"
height="320" width="580"
query = "qry_states"
font="Tahoma" fontsize="12" appendkey="yes" griddataalign="left"
gridlines="yes" rowheaderalign="left" colheaderalign="left" selectmode="browse"
enabled="yes" visible="yes" format="flash" autowidth="true">
</cfgrid>
</cfform>
Al Parvar
5/19/2006 7:19:41 PM
I think you forget to add cfgridcolumn my friend !!

<cfgrid name="test" format="Flash" query="test">
<cfgridcolumn name="itemA">
<cfgridcolumn name="itemB">
<cfgridcolumn name="itemC">
</cfgrid>

Good luck

cqk
5/20/2006 12:42:59 PM
Well I thought that too, but the exact code that I show works perfectly on our
development web server. Even with the column name specified the code works
only on the development server

compare dev server URL <a target=_blank class=ftalternatingbarlinklarge
href="http://web2.ametsoc.org/flashtest3.cfm

to">http://web2.ametsoc.org/flashtest3.cfm

to</a> the live server URL <a target=_blank class=ftalternatingbarlinklarge
href="http://www.ametsoc.org/flashtest3.cfm

">http://www.ametsoc.org/flashtest3.cfm

</a>
PaulH **AdobeCommunityExpert**
5/20/2006 8:30:54 PM
[quoted text, click to view]

it appears as if the cf server wasn't connected to the webserver correctly,
AddThis Social Bookmark Button