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/XMLStringSample.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.htm
> > l
> >
> > ----------------------------
> > Massimo Foti, web-programmer for hire
> > Tools for ColdFusion and Dreamweaver developers:
> > http://www.massimocorner.com
> > ----------------------------
> >
> >
> >
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:275087
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to