Re: CF8 - Why is my ajax undefined?
The problem if it is not a mapping problem as aforementioned is that you are probably making the simple mistake that javascript is case sensitive meanwhile coldfusion is not. The solution to the problem was using Coldfusion with a lowercase 'f' instead of ColdFusion with a capital 'F'. Sorry, for reopening a thread for such a simple fix. Hopefully it helps someone out as I am sure that may be a mistake others make when working with the ajax features. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303217 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 - Why is my ajax undefined?
this isn't the actual code i'm working with as that is far to big to post here. This is a very simplified version of what i am trying to accomplish. This code throws the same error when i look in the firebug console. "Coldfusion is not defined onclick(click clientX=0, clientY=0)" here is a code example. http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> AJAX Test Some Content here... Some Content here... Select Tab 2 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303209 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 - Why is my ajax undefined?
On Friday 11 Apr 2008, Tim Brown wrote: > I have imported the tags CFLAYOUT-TAB and checked the source to see if the > appropriate .js script files were being loaded correctly and they are. Any > ideas would be appreciated as this is driving me crazy. Is something else throwing a JS error ? What about posting the source and output of a tiny demo page ? -- Tom Chiverton Helping to interactively negotiate essential communities on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303193 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 - Why is my ajax undefined?
Sorry to re-open an old thread, however I continue to get the same error of Coldfusion is undefined on my development edition despite having full privileges to the /CFIDE directory. I can browse to the ajax .js package files with no problem. Yet, when I call a method using onClick="Coldfusion.Layout.selectTab('tab1', 'tab1);", for example, i get the Coldfusion is undefined error. I have imported the tags CFLAYOUT-TAB and checked the source to see if the appropriate .js script files were being loaded correctly and they are. Any ideas would be appreciated as this is driving me crazy. thanks in advance, tim ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303192 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 - Why is my ajax undefined?
>> I have a page that uses . It works fine on my dev >> machine. Works fine at CrystalTech shared hosting... >> >> But on my HostMySite VPS server, I get undefined errors in Firebug. > >Does the /CFIDE URL properly resolve on that server? My guess is that it >doesn't. > >Whenever you have a problem with CF's client-side functionality - CFFORM, >Flash forms, CF AJAX stuff, etc - this is almost always the cause. > >Dave Watts, CTO, Fig Leaf Software >http://www.figleaf.com/ > >Fig Leaf Software provides the highest caliber vendor-authorized >instruction at our training centers in Washington DC, Atlanta, >Chicago, Baltimore, Northern Virginia, or on-site at your location. >Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303165 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 - Why is my ajax undefined?
All, I hadta setup a virtual directory pointing to CFIDE. Dave and Gary nailed it. Thanks, Will ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290837 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 - Why is my ajax undefined?
Also I have to ask the obvious question: are you sure the HostMySite VPS server is running CF8? On 10/10/07, Will Tomlinson <[EMAIL PROTECTED]> wrote: > > I have a page that uses . It works fine on my dev machine. Works > fine at CrystalTech shared hosting... > > But on my HostMySite VPS server, I get undefined errors in Firebug. > > CF is generating this: > > > ColdFusion.Ajax.importTag('CFWINDOW'); > > > Which produces errors like this: > > ColdFusion is not defined > ColdFusion.Ajax.importTag('CFFORM'); > > My code calls tags as well: > > > > Like I said, all works well on other servers and my dev machine. > > Thanks, > Will > > ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290769 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF8 - Why is my ajax undefined?
> I have a page that uses . It works fine on my dev > machine. Works fine at CrystalTech shared hosting... > > But on my HostMySite VPS server, I get undefined errors in Firebug. Does the /CFIDE URL properly resolve on that server? My guess is that it doesn't. Whenever you have a problem with CF's client-side functionality - CFFORM, Flash forms, CF AJAX stuff, etc - this is almost always the cause. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290744 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 - Why is my ajax undefined?
Hi Will, It may have something to do with how the hostmysite has set up their servers. Check if you can get to www.yourdomain.com /CFIDE/scripts/ajax/package/cfajax.js If you can't then you know why ColdFusion is undefined as you need to have access to the CFIDE/scripts directory in order for any of the ajax stuff to work. -- Gary Gilbert http://www.garyrgilbert.com/blog ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290733 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4