I think I am closer but still am lost. This is what is coming back to my
result page and populating spry. I not sure why this is returning like
this and not keeping the formatting.
<wddxPacket
version='1.0'><header/><data><string><?xml version="1.0"
encoding="UTF-8"?><char
code='0a'/><dataset><row><EMAILADDRESS>[EMAIL PROTECTED]
oductions.com</EMAILADDRESS
><FIRSTNAME>Chad</FIRSTNAME><LASTNAME>McCue</LAS
TNAME></row><row
><EMAILADDRESS>[EMAIL PROTECTED]</EMAILADDRESS>
;<FIRSTNAME>Greg</FIRSTNAME
><LASTNAME>Puglia</LASTNAME></row></dataset><
/string></data></wddxPacket>
-----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:275090
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4