Re: spry problem with IE
go figure.. right after he sends me the email he figures it out :) Thanks for the reply!! Mike Milburn, Steve wrote: > Hi Mike > > I've used Spry extensively and have never had a problem with IE7. I have had > problems with certain versions of IE6 loading XML that I've posted to the > Spry forums without any resolution. I'd be happy to look up that thread and > post a link here, but the search functionality for the Spry forums on Adobe's > web site has been broken for a few weeks. > > Anyway, you may get more responses if you go into greater detail regarding > what IE7 is or is not doing rather than simply saying it does not work. Do > you have a link we could check out? > > Steve > > > From: Mike Soultanian [msoul...@csulb.edu] > Sent: Friday, January 23, 2009 7:58 PM > To: cf-talk > Subject: spry problem with IE > > My friend had a question about spry and I didn't have the answer so I > thought I'd query the list: > > Currently I am testing an application that uses spry to get data from a > CFC which queries a database and convert the query to a XML variable. > This application works fine with most current browsers, but not with IE > 7. I was wondering if anyone knows a fix for IE to show spry:region. > > Thanks! > Mike > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318470 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: spry problem with IE
Hi Mike I've used Spry extensively and have never had a problem with IE7. I have had problems with certain versions of IE6 loading XML that I've posted to the Spry forums without any resolution. I'd be happy to look up that thread and post a link here, but the search functionality for the Spry forums on Adobe's web site has been broken for a few weeks. Anyway, you may get more responses if you go into greater detail regarding what IE7 is or is not doing rather than simply saying it does not work. Do you have a link we could check out? Steve From: Mike Soultanian [msoul...@csulb.edu] Sent: Friday, January 23, 2009 7:58 PM To: cf-talk Subject: spry problem with IE My friend had a question about spry and I didn't have the answer so I thought I'd query the list: Currently I am testing an application that uses spry to get data from a CFC which queries a database and convert the query to a XML variable. This application works fine with most current browsers, but not with IE 7. I was wondering if anyone knows a fix for IE to show spry:region. Thanks! Mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318469 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
spry problem with IE
My friend had a question about spry and I didn't have the answer so I thought I'd query the list: Currently I am testing an application that uses spry to get data from a CFC which queries a database and convert the query to a XML variable. This application works fine with most current browsers, but not with IE 7. I was wondering if anyone knows a fix for IE to show spry:region. Thanks! Mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318465 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SPRY Problem
Didn't you write this earlier? I responded there but I'll respond here. Make sure yo use the proper cfcontent tag. Mozilla is more forgiving than IE. On 9/12/07, Chad McCue <[EMAIL PROTECTED]> wrote: > I have a SPRY application that returns and lists results. It works fine > in mozilla but does not display the contents of the generated XML in IE > 6. In IE 6 it always remains in the SPRY loading state > > (spry:state="loading") > > Below is the XML that is being generated > > > > > > > > 1070 > > Audrey > > LEMAITRE > > 22 > > F > > France > > NA > > 91 > > No > > Paris > > Hairstylist,Colorist > > CAP/NA > > 4/26/2005 7:36 > > 4/26/2005 7:36 > > > > > > > > ~| 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:288304 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SPRY Problem
I have a SPRY application that returns and lists results. It works fine in mozilla but does not display the contents of the generated XML in IE 6. In IE 6 it always remains in the SPRY loading state (spry:state="loading") Below is the XML that is being generated 1070 Audrey LEMAITRE 22 F France NA 91 No Paris Hairstylist,Colorist CAP/NA 4/26/2005 7:36 4/26/2005 7:36 ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288299 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Still having SPRY problem
A few things. You don't need to parse the XML. YOu can return the XML data as a string. This isn't the cause of your issue, but will make your code run a tiny bit faster. Secondly - remove Spry from the picture. Just try to go to the URL directly and see what you get in the browser. Or use Firebug. It makes it very easy to see what your AJAX calls are returning. On 4/12/07, Chad McCue <[EMAIL PROTECTED]> wrote: > > Here are my conclusions and hopefully someone can figure this out for > me. Is there anything special I have to do server side to be able to > call a cfc? > ~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275101 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Still having SPRY problem
Here are my conclusions and hopefully someone can figure this out for me. Is there anything special I have to do server side to be able to call a cfc? When I do this var XML_URL = "../FunctionPages/Employers.cfc?method=GetEmployerResults"; //create a basic Spry DataSet var dsEmployers = new Spry.Data.XMLDataSet(XML_URL, "dataset/row", { useCache: false }); //create a page-enabled view of the Spry DataSet var pvEmployers = new Spry.Data.PagedView(dsEmployers, { pageSize: 12 }); I get a coldfusion time out error and the spry does not load the data. Here is my CFC SELECT rtrim(FirstName) as FirstName, rtrim(LastName) as LastName, rtrim(EmailAddress) as EmailAddress FROM AMP_Employers WHERE EmployerID > 0 When I do this below (switch the cfc page to a cfm page) it runs perfectly. var XML_URL = "../FunctionPages/Employers.cfm"; //create a basic Spry DataSet var dsEmployers = new Spry.Data.XMLDataSet(XML_URL, "dataset/row", { useCache: false }); //create a page-enabled view of the Spry DataSet var pvEmployers = new Spry.Data.PagedView(dsEmployers, { pageSize: 12 }); Here is my cfm file SELECT rtrim(FirstName) as FirstName, rtrim(LastName) as LastName, rtrim(EmailAddress) as EmailAddress FROM AMP_Employers WHERE EmployerID > 0 #parsedEmployerXML# -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 12:56 PM To: CF-Talk Subject: RE: Using Spry to Page forward and backward through data When I try to put my returntype of my function to XML it goes into an very long loop and comes back with XML error saying the top element needs to be defined. Any ideas? -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 12:03 PM To: CF-Talk Subject: Re: Using Spry to Page forward and backward through data I'm afraid you lost me. You want to return the XML as a variable that Spry can read? Well you know that client side code can't read CF code, right? If your question is - can I include the XML data itself IN the page, then yes, you can. Spry doesn't have to make a HTTP request to get the XML. See this URL: http://labs.adobe.com/technologies/spry/samples/data_region/XMLStringSam ple.html On 4/12/07, Chad McCue <[EMAIL PROTECTED]> wrote: > > Is there now way of returning XML in a variable and have spry read it? > I need the customer to search and return results before the page that > the spry is located on is displayed. > > -Original Message- > From: Raymond Camden [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 12, 2007 9:58 AM > To: CF-Talk > Subject: Re: Using Spry to Page forward and backward through data > > In my presentation last night I showed multiple examples of pointing > Spry to a CFM page. I'm assuming the recording will be up soon at > > http://www.cfugtoronto.org/ > > On 4/12/07, Massimo Foti <[EMAIL PROTECTED]> wrote: > > > My code works if I directly call the XML file, I am trying to > > > avoid this and I want to pass the XML file back as a variable, I > > > don't want to save the XML file to webroot folder. > > > > There is no need to save the XML anywhere, the examples use static > > .xml files, but you can just point them to a .cfm file that output > > the > XML. > > > > For a complete application see: > > http://www.massimocorner.com/spry/dynamic_spry.zip > > > > > > Here you can see a very basic example of how to use CF and a > > database to drive one of Sprys demos: > > http://www.adobe.com/devnet/dreamweaver/articles/edit_data_in_ajax.h > > tm > > l > > > > > > Massimo Foti, web-programmer for hire Tools for ColdFusion and > > Dreamweaver developers: > > http://www.massimocorner.com > > > > > > > > > > > > ~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275094 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Spry Problem
Can you show a bit more of the code? On 12/4/06, Chad McCue <[EMAIL PROTECTED]> wrote: > Trying to use the spry xmlData set and getting the following error. > > Spry.Data.UpdateRegion(extend) caught an exception: TypeError: > Spry.Data.regionsArray[regionName].updateContent is not a function > Exception caught while loading > .../DisplayPages/admin/ContentPages/OurStaff.xml > Component returned failure code: 0x80070057 {NS_ERROR_ILLEGAL_VALUE) > [ns]XMLHttpRequest.setRequestHeader] > > My xml is below -- === Raymond Camden Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com AOL IM : cfjedimaster Video game player? Have kids? Check out KidGamers.org ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262705 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Spry Problem
Trying to use the spry xmlData set and getting the following error. Spry.Data.UpdateRegion(extend) caught an exception: TypeError: Spry.Data.regionsArray[regionName].updateContent is not a function Exception caught while loading .../DisplayPages/admin/ContentPages/OurStaff.xml Component returned failure code: 0x80070057 {NS_ERROR_ILLEGAL_VALUE) [ns]XMLHttpRequest.setRequestHeader] My xml is below Staff Name 1 1 Staff Name 2 1 Staff Name 3 1 ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262702 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4