Installing CFEclipse/Subclipse plugins on FlexBuilder 3

A co-worker sent me this post for installing things through software updates. Issue is, trying to install through update sites would result in error:

Eclipse Modeling Framework (EMF) - org.eclipse.emf.codegen.ecore.ui (2.3.0.v200706262000) requires plug-in "org.eclipse.jdt.core".

Joao (Fernandes?) has posted the solution over on his blog:

Link Here

Note the comment I added about having to check a second option labeled:

'Eclipse Java Development Tools 3.3.1.r331_......' as well to get it to work.

Thanks Joao!

Export to Excel with Flex 2.0 and ColdFusion

Hi,

I didn't really find a suitable solution for exporting to Excel after a bit of searching through forums and blogs, so I came up with the following. I wanted to achieve seamless "click to generate a report" from Flex and have the file option dialog popup in the browser allowing me to open or save. Here's what I came up with. While I don't see any issues with the solution, I realize it's a bit of a hack, and would appreciate any CF wizards letting me know if this is going to create problems.

From Flex, I'm calling a CFC function with my data being passed back as an array. The CFC takes the data and stores it to an application variable in CF. I then send a trivial result back to Flex. On the CFC result inside Flex, I make a call to a template CFM file which uses the cfcontent tag to generate the excel file from an html table structure I build with the saved application variable data.

CFC

<cffunction name="exportToExcel" access="remote" returntype="any" output="true">
<cfargument name="data" type="array" required="yes" default="" />
<cfset session.exportData = #ArrayNew(1)#>
<cfreturn 'true'>
</cffunction>


Flex

if(event.result == 'true')
{
var request:URLRequest = new URLRequest(URLToCFTemplate);
flash.net.navigateToURL(request, "_self");
}


Brendan

Updated: Download the source files here - Download

CF Flex Connectivity Setup

Good God... I don't think this could have possibly been more frustrating...

I finally figured out the method behind setting up the CF-Flex Connectivity this afternoon. I'd setup the default "ColdFusion" destination out of the box, with a minor adjustment to the channel uri setting a few weeks ago. However, I decided this afternoon that I would get it setup so that I could easily copy from my development environment over to production (both have CF and the CF Connectivity installed). So I wanted to setup two different destinations, one for my local instance, and one for the production instance.... that way when I was ready to deploy to production just test locally, and move it over if all was good.

The solution ended up involving the same version of the flex-gateway-config.xml file to be placed in each location, which had destinations for both the local development box as well as production box. Before moving over to production, change the destination to the production box, test locally, and if al

BlogCFC was created by Raymond Camden. This blog is running version 5.005.