Re: [flexcoders] CSV file: Coldfusion to Flex/Air

2009-09-02 Thread Tom Chiverton
On Tuesday 01 Sep 2009, Scott wrote:
> I've got a CFC function that returns a CSV file, it works great if I hit
> it through a browser like Firefox or IE,

You mean the page triggers a file download in the web browser...

> but when I try to call it 
> through remoteobject It doesn't come through...

... if so, use navigateToURL() to the same URL.

-- 

Tom Chiverton
Developer

tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB



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 together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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.

Re: [flexcoders] CSV file: Coldfusion to Flex/Air

2009-09-01 Thread Tom Chiverton
On Monday 31 Aug 2009, Scott wrote:
> Has anyone created a dynamic query to csv through Coldfusion and been
> able to receive it through Flex or Air?

I am not sure what steps you are asking for help with. ColdFusion can 
obviously easily convert CSV to a native query, and CF can also send queries 
to Flex.

> When I was doing straight Coldfusion code I could create a CSV file on
> the fly without dumping it on the webserver first. 

CF already runs on the webserver ?

> I can't see anyway 
> to pass that back through to Air, does anyone know if a way?

Write a CFC that returns it, and use RemoteObject in Flex to invoke it.

-- 
Helping to conveniently envisioneer interactive prospective proactive 
appliances as part of the IT team of the year, '09 and '08



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 together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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.

[flexcoders] CSV file: Coldfusion to Flex/Air

2009-08-31 Thread Scott
Has anyone created a dynamic query to csv through Coldfusion and been
able to receive it through Flex or Air?

 

When I was doing straight Coldfusion code I could create a CSV file on
the fly without dumping it on the webserver first.  I can't see anyway
to pass that back through to Air, does anyone know if a way?

 

sj