Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Erick_Rod #1
CFGRID Don't work properly
Hello everybody.
I'm doing a flash form and i use the example of cfgrid and cfform....
i copy the example of cfgrid with cfform, nicely at firts view. but when i
copy this code in other page, the grid don't show any record...
what a hell is happening????
Please Help Me.
--------------------------------------------------------------------------------
--------------------------------
<cfquery name="getArtists" datasource="cfcodeexplorer">
select * from artists
</cfquery>
<cfif isDefined("form.btn")>
<cfdump var="#form#">
</cfif>
<cfform format="flash">
<cfgrid name="artistGrid" query="getArtists" rowheaders="false">
<cfgridcolumn name="firstName" header="First Name">
<cfgridcolumn name="lastName" header="Last Name">
<cfgridcolumn name="email" header="Email">
<cfgridcolumn name="address" display="false">
<cfgridcolumn name="city" display="false">
<cfgridcolumn name="state" display="false">
<cfgridcolumn name="postalcode" display="false">
<cfgridcolumn name="phone" display="false">
<cfgridcolumn name="fax" display="false">
</cfgrid>
<cfformgroup type="horizontal" label="Name">
<cfinput type="text" name="firstname" label="First"
bind="{artistGrid.dataProvider[artistGrid.selectedIndex]['FIRSTNAME']}"
onChange="artistGrid.dataProvider.editField(artist Grid.selectedIndex,
'FIRSTNAME', firstname.text);">
<cfinput type="text" name="lastname" label="Last"
bind="{artistGrid.dataProvider[artistGrid.selectedIndex]['LASTNAME']}"
onChange="artistGrid.dataProvider.editField(artist Grid.selectedIndex,
'LASTNAME', firstname.text);">
</cfformgroup>
<cfinput type="text" name="email" label="Email"
bind="{artistGrid.dataProvider[artistGrid.selectedIndex]['EMAIL']}"
onChange="artistGrid.dataProvider.editField(artist Grid.selectedIndex,
'EMAIL', email.text);">
<cfinput type="text" name="address" label="Address"
bind="{artistGrid.dataProvider[artistGrid.selectedIndex]['ADDRESS']}"
onChange="artistGrid.dataProvider.editField(artist Grid.selectedIndex,
'ADDRESS', address.text);">
<cfinput type="text" name="city" label="City"
bind="{artistGrid.dataProvider[artistGrid.selectedIndex]['CITY']}"
onChange="artistGrid.dataProvider.editField(artist Grid.selectedIndex,
'CITY', city.text);">
<cfinput type="text" name="state" label="State"
bind="{artistGrid.dataProvider[artistGrid.selectedIndex]['STATE']}"
onChange="artistGrid.dataProvider.editField(artist Grid.selectedIndex,
'STATE', state.text);">
<cfinput type="text" name="postalcode" label="Postal Code"
bind="{artistGrid.dataProvider[artistGrid.selectedIndex]['POSTALCODE']}"
onChange="artistGrid.dataProvider.editField(artist Grid.selectedIndex,
'POSTALCODE', postalcode.text);">
<cfinput type="text" name="phone" label="Phone"
bind="{artistGrid.dataProvider[artistGrid.selectedIndex]['PHONE']}"
onChange="artistGrid.dataProvider.editField(artist Grid.selectedIndex,
'PHONE', phone.text);">
<cfinput type="text" name="fax" label="Fax"
bind="{artistGrid.dataProvider[artistGrid.selectedIndex]['FAX']}"
onChange="artistGrid.dataProvider.editField(artist Grid.selectedIndex, 'FAX',
fax.text);">
<cfinput type="submit" name="btn" value="submit" >
</cfform>
Erick_Rod Guest
-
CFGRID Don't worl properly
Hello everybody. I'm doing a flash form and i use the example of cfgrid and cfform.... i copy the example of cfgrid with cfform, nicely at... -
Screening doesn't seem to work properly
According to the documentation, a black color screened over some base color (using the "Screen" transparency setting) should show the base color... -
CD done w/Director 7 doesn't work properly in W XP
I have a CD done with Director 7 for (at that time) Windows 98, when played in Windows XP the sound does not play correctly; do I have to compile it... -
Director doesn't work properly
I'm using Director MX for a couple of months now, never encountered a problem. Last week I formatted my disk and installed everything again (WinXP,... -
how come templates don't work properly with <div>??
Hi, I hope anyone can help me with this problem. I have created a template in dreamweaver mx. This template contains <div> tags which use a...



Reply With Quote

