Advertisement

10.03.2008 at 09:36AM PDT, ID: 23785631
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.2

Coldfusion 8 Upgrade - CFC's & Application Settings & Mappings

Asked by AaronDitto in Cold Fusion Markup Language, ColdFusion Application Server, ColdFusion Studio

Tags: , ,

I have just finished upgrading our entire Intranet application to CF8. The upgrade went well, and all is working as it should. However, I've recently started diving into some of the new Ajax capabilities that have been introduced (updated) into CF8, and have run into a wall trying to get simple bind & cfc returns to work correctly.

Our existing CFC's work perfectly fine, and we have several. They are being defined within the Application.cfm , however I think the issue is that mappings, application.cfm, and CFC's were all written way back with CF6 was released, and they haven't been updated since.

I'm trying to get a simple cfgrid to pull from a data source (have tried our own SQL server, as well as cfartgallery, cfdocexamples, etc) to no avail. At first I thought it was just me not understanding binding and the appropriate arguments. But after pulling my hair out for days, I decided to load other peoples examples in our environment, and noticed those are not working either.

To end this novel, attached is the test CFM file, and the corresponding CFC (pulled from a forta tutorial I believe). It displays a simple HTML CFGRID, binded to the appropriate datasouce. In IE7 I recieve a "exception thrown and not caught" error, and in Firefox, nothing. The page just finishes loading, and displays nothing.

I think I need direction in what a normal Application.cfm file needs to look like to handle all of the necessary CF8 scripts etc, any mappings that might need to be added, as well as a quick description of binding and location for CFC's. I can provide additional examples of our existing settings upon request.

I'm giving this question a large point value as I'm desperately needing to finish a project by next week which includes the CFGRID, Flash Form and Binding examples.

Thanks,
Aaron Ditto

Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
<cfform name="parkForm">
	<cfgrid format="html" name="parkGrid" pagesize="10" selectmode="row" bind="cfc:park.getParks({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection})">
		<cfgridcolumn name="parkName" width="300" header="Name" />
		<cfgridcolumn name="parkType" width="180" header="Type" />
		<cfgridcolumn name="city" width="120" header="City" />
		<cfgridcolumn name="state" width="60" header="State" />
	</cfgrid>
</cfform>
 
------------------- CFC -------------------
 
<cffunction name="getParks" access="remote" returntype="struct">
	<cfargument name="page" required="true" />
	<cfargument name="pageSize" required="true" />
	<cfargument name="gridsortcolumn" required="true" />
	<cfargument name="gridsortdirection" required="true" />
	
	<cfif arguments.gridsortcolumn eq "">
		<cfset arguments.gridsortcolumn = "parkName" />
		<cfset arguments.gridsortdirection = "asc" />
	</cfif>
 
	<cfquery name="parks" datasource="cfdocexamples">
		select		parkName, parkType, city, state
		from		parks
		order by	#arguments.gridsortcolumn# #arguments.gridsortdirection#
	</cfquery>
 
	<cfreturn queryconvertforgrid(parks, page, pagesize) />
</cffunction>
[+][-]10.03.2008 at 09:38AM PDT, ID: 22635594

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 09:39AM PDT, ID: 22635603

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 09:56AM PDT, ID: 22635770

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]10.03.2008 at 09:59AM PDT, ID: 22635814

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 10:02AM PDT, ID: 22635856

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 10:04AM PDT, ID: 22635868

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 10:07AM PDT, ID: 22635889

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 10:28AM PDT, ID: 22636058

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 10:37AM PDT, ID: 22636134

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 11:02AM PDT, ID: 22636371

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 11:12AM PDT, ID: 22636462

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 11:16AM PDT, ID: 22636497

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 11:46AM PDT, ID: 22636803

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 11:50AM PDT, ID: 22636843

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 11:56AM PDT, ID: 22636894

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Cold Fusion Markup Language, ColdFusion Application Server, ColdFusion Studio
Tags: Coldfusion CFML SQL, IE 6 7 Firefox 2 3, Exception Thrown and not caught (IE7)
Sign Up Now!
Solution Provided By: AaronDitto
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10.03.2008 at 12:04PM PDT, ID: 22636962

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628