Entries for month: September 2008

Remote Object .cfc through SSL in FLEX

Flex , CFC - Author:John Gag at 3:59 PM 9 Comments »

Here is my problem, we have a server that we opened for our customers to access via SSL. When we are internally connected via our network, the flex app works. However when I'm outside our network and try visiting the site we get a send fail error and it will not connect to our .cfc. Do you think there is something wrong with the server that needs to be fixed? Any troubleshooting methods you can pass to me?

Read more...

Converting Flex 3 Datagrid to Excel Sheet

ColdFusion , Flex , CFC - Author:John Gag at 6:00 PM 11 Comments »

I was posed with the problem of converting flex 3 datagrids from a dashboard to an excel sheet.  I came across some really good blog posts that explain how to accomplish this task.  The best one can be found here.

He has it set up in actionscript calling a .php page but I wanted to supply the simple ColdFusion code for us ColdFusion people.  All you need to do is direct the actionscript to a coldfusion page containing the code below and it should work.

<cfcontent type=”application/msexcel”>
<cfheader name=”Content-Disposition” value=”filename=export.xls”>
<cfoutput>
#form.htmltable#
</cfoutput>

This little flex 3 script makes lots of managers very happy!  My next adventure will be printing  flex 3 datagrids and graphs into a nice looking report which seems to be posing a little challenge for me, the nice looking part that is  ;)

Read more...

Diplaying Months in a CFchart tag using a query

ColdFusion , SQL - Author:Steve Weyrick at 3:28 PM 2 Comments »

As a new member of the Coldfusion Team at OHL logistics,  I would like to say hello to everyone who participates in CFTips.net.  I have only been working with CF for about two weeks, and I have run into a few problems here and there while developing my first CF App.  One problem in particular, displaying months instead of numbers using a query and cfchart tag, caused a huge headache.

The solution to this problem is simple.  Use the SQL function DATENAME(mm,'fieldname') and output the column in your cfchart tag. 

Here is the Output:

post

Uses for cfform format=

ColdFusion , Flash Form - Author:John Gag at 1:46 PM 2 Comments »

When you think that you should maybe use CFFORM FLASH think again.  It causes more headache then you will ever imagine.  It may look good but the functionality is very limited. 

Read more...

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds
impediments