Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Laverda668 #1
cfGrid problems
Hi all,
I can't get the flash version of cfGrid to display when I assign it the
onChange attribute. If I remove it, it works fine. I get a browser error about
not being able to load the mxml.cfswf file.
Cheers
David Heacock
Laverda668 Guest
-
jump menu + cfgrid image width height problems
2nd day and no answer of anyone, please help! Just to simple questions: 1. HOw could I build a cfselect jump menu, since JavaScript does not work... -
<CFGRID>
I'm experiencing a strange behavior using cfgrid format="applet". If the selectmode="Edit" and I do specify a selectcolor, the field clicked on will... -
cfgrid / cfgridupdate problems
I've got a simple query to a MS Access 2003 database. I want to be able to edit records using cfgrid. I am able to delete records without problem.... -
CFGRID - Problems displaying in IE
Is anyone having problems getting the CFGRID (with the java plugin option) to display on IE. I'm finding that its working ok on Windows 2k boxes,... -
CF 6.1 Problems with CFGrid and CFTree
I get the following errors when i use a CFGrid Tag: ----------------------------------------------------------------------- load: class... -
Mike Nimer #2
Re: cfGrid problems
Sounds like an actionscript error in your onChange attribute. In the cfadmin
debugging page make sure you turn on debug and check the "show flash compile
errors" option. If you still can't see it, send me your onChange
actionscript and I'll see if I can find the error.
hth,
---nimer
"Laverda668" <webforumsuser@macromedia.com> wrote in message
news:cva0fa$p9$1@forums.macromedia.com...> Hi all,
>
> I can't get the flash version of cfGrid to display when I assign it the
> onChange attribute. If I remove it, it works fine. I get a browser error
> about
> not being able to load the mxml.cfswf file.
>
> Cheers
>
> David Heacock
>
Mike Nimer Guest
-
Laverda668 #3
Re: cfGrid problems
<cfform name="form1" method="post"
action="portfolio_item.cfm" timeout="1800">
<cfgrid name="Projects" format="flash" rowheaders="no"
query="ListPortfolioItems" fontsize="9" onChange="Submit();"
width="440" height="300">
<cfgridcolumn name="ID" display="no">
<cfgridcolumn name="Client" width="180">
<cfgridcolumn name="Title" width="200">
<cfgridcolumn name="Category" width="50">
</cfgrid>
<cfinput name="submit" value="submit" type="submit" style="width:80px;">
Laverda668 Guest
-
Mike Nimer #4
Re: cfGrid problems
2 problems
1) you need to wrap the javascript call in a getURL function so the flash
movie can call the javascripts
2) you need to rename your submit button something other then submit. The
function and the button name were conflicting.
try this
<cfform id="form1" name="form1" method="post" action="portfolio_item.cfm"
timeout="1800">
<cfgrid name="Projects" format="flash" rowheaders="no"
fontsize="9" onChange="getURL('javascript:document.form1.submit ()');"
width="440" height="300">
<cfgridcolumn name="ID" display="no">
<cfgridcolumn name="Client" width="180">
<cfgridcolumn name="Title" width="200">
<cfgridcolumn name="Category" width="50">
<cfgridrow data="sad,asd,asd,asd" >
</cfgrid>
<cfinput name="submit2" value="submit2" type="submit"
style="width:80px;">
</cfform>
---nimer
"Laverda668" <webforumsuser@macromedia.com> wrote in message
news:cvhjaf$ic8$1@forums.macromedia.com...> <cfform name="form1" method="post"
> action="portfolio_item.cfm" timeout="1800">
> <cfgrid name="Projects" format="flash" rowheaders="no"
> query="ListPortfolioItems" fontsize="9" onChange="Submit();"
> width="440" height="300">
> <cfgridcolumn name="ID" display="no">
> <cfgridcolumn name="Client" width="180">
> <cfgridcolumn name="Title" width="200">
> <cfgridcolumn name="Category" width="50">
>
> </cfgrid>
> <cfinput name="submit" value="submit" type="submit"
> style="width:80px;">
>
Mike Nimer Guest
-
Laverda668 #5
Re: cfGrid problems
Thanks. I found that only give me a page called 'javascript.document...'. What
I tried was 'getURL(display.cfm?ID=#ID#);', but that won't give me the href key
from the row. Do you know a way to get the hrefkey attribute into the
javascript while using the Flash verion of the cfgrid?
Cheers
David Heacock
Laverda668 Guest
-
The Ferret #6
CFGRID Problems
First, I'm using Coldfusion 7 and the "flash" format of cfform. I'm having two
problems:
1) According to what I've read on Coldfusion 7, the "query" attribute is
optional, but that doesn't seem to be the case as I get an error. What I'm
trying to do is let my users fill out fields and then click a button which
sends the data to the cfgrid and clears the fields for another entry.
Basically, I just want to use the cfgrid to organize what they've entered and
then when they're finally ready to submit, I'll loop through the cfgrid and
enter the data into the database. Can a cfgrid be populated this way? Or would
I have to cheat by designing a query that won't bring back anything, just to
create the cfgrid. Of course, I still have to know if it's possible to populate
a cfgrid from fields versus queries. This is the main problem I'm having now.
Any thoughts?
2) I have a page that has multiple tabs, though I'm not sure it that matters.
When I'm populating a cfgrid from a database query, there's no problem. But
when I try to populate 2 cfgrids from one query or each from a seperate query,
the page doesn't load...no error message...just doesn't load. When I take away
one of the cfgrids, everything's fine. Thoughts?
The Ferret Guest



Reply With Quote

