Re: Flex3 and CF 8 connection problem
Hi Mike, thanks for your questions. I put the answers down below. Uwe Quick questions. 1. Are you running CF 8.0.0 or 8.0.1 CF 8.0.0 Do you think I should install the updater ? 2. What do you get when you enter that URL in the error message directly into your Web browser. Do you get a blank white page or something else? I get a 404 error. I also noticed, that I get a 405-error using RDS and I also don't know why. 3. Is your CFC set to allow for remote access I don't know. Where is this set ? I enabled remote LC DM on as below. 4. Is Flex Remoting turned on inside of CF Admin? Yes. What are some of the things you have tried so far that didn't work? I also turned Enable Remote Adobe LiveCycle Data Management access on. I played around with the file: \WEB-INF\flex\services-config.xml without success. -Mike Chabot On Fri, May 2, 2008 at 8:22 PM, [EMAIL PROTECTED] wrote: Hi list, I try to get Flex3 to get to be working with CF8 and I can't figure out, why it is not working. I get: faultCode = Client.Error.MessageSend faultDetail = Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://www.abc.com/flex2gateway/' faultString = Send failed I google around tons of hints, but nothing worked. S.O. who knows how to get it to run under Win2k and IIS 6.x ? Uwe ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304700 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flex3 and CF 8 connection problem
Can you post the Flex code you're using to connect? On Sat, May 3, 2008 at 4:14 PM, [EMAIL PROTECTED] wrote: Hi Mike, thanks for your questions. I put the answers down below. Uwe Quick questions. 1. Are you running CF 8.0.0 or 8.0.1 CF 8.0.0 Do you think I should install the updater ? 2. What do you get when you enter that URL in the error message directly into your Web browser. Do you get a blank white page or something else? I get a 404 error. I also noticed, that I get a 405-error using RDS and I also don't know why. 3. Is your CFC set to allow for remote access I don't know. Where is this set ? I enabled remote LC DM on as below. 4. Is Flex Remoting turned on inside of CF Admin? Yes. What are some of the things you have tried so far that didn't work? I also turned Enable Remote Adobe LiveCycle Data Management access on. I played around with the file: \WEB-INF\flex\services-config.xml without success. -Mike Chabot On Fri, May 2, 2008 at 8:22 PM, [EMAIL PROTECTED] wrote: Hi list, I try to get Flex3 to get to be working with CF8 and I can't figure out, why it is not working. I get: faultCode = Client.Error.MessageSend faultDetail = Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://www.abc.com/flex2gateway/' faultString = Send failed I google around tons of hints, but nothing worked. S.O. who knows how to get it to run under Win2k and IIS 6.x ? Uwe ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304701 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Flex3 and CF 8 connection problem
Regarding the version number, no you don't need to upgrade. Someone reported a problem with Flex after upgrading. The source of the problem most likely relates to your answer to the second question. You should see a blank white page in CF 8.0.0. That is what I see. Is that a real URL, or did you mask it for purposes of reporting the error? Meaning, do you work for abc.com? I'm guessing you don't, so I'm hoping you tried that experiment using localhost or whatever your dev server is. You might want to Google around for flex2gateway 404 or something similar. You also might want to start with the Hello World Flex/CF tutorial app that is on Adobe.com to make sure that works. The remote access level should be an attribute of the functions you want to expose that are in the CFC. cffunction access=remote -Mike Chabot On Sat, May 3, 2008 at 8:20 AM, James Holmes [EMAIL PROTECTED] wrote: Can you post the Flex code you're using to connect? On Sat, May 3, 2008 at 4:14 PM, [EMAIL PROTECTED] wrote: Hi Mike, thanks for your questions. I put the answers down below. Uwe Quick questions. 1. Are you running CF 8.0.0 or 8.0.1 CF 8.0.0 Do you think I should install the updater ? 2. What do you get when you enter that URL in the error message directly into your Web browser. Do you get a blank white page or something else? I get a 404 error. I also noticed, that I get a 405-error using RDS and I also don't know why. 3. Is your CFC set to allow for remote access I don't know. Where is this set ? I enabled remote LC DM on as below. 4. Is Flex Remoting turned on inside of CF Admin? Yes. What are some of the things you have tried so far that didn't work? I also turned Enable Remote Adobe LiveCycle Data Management access on. I played around with the file: \WEB-INF\flex\services-config.xml without success. -Mike Chabot On Fri, May 2, 2008 at 8:22 PM, [EMAIL PROTECTED] wrote: Hi list, I try to get Flex3 to get to be working with CF8 and I can't figure out, why it is not working. I get: faultCode = Client.Error.MessageSend faultDetail = Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://www.abc.com/flex2gateway/' faultString = Send failed I google around tons of hints, but nothing worked. S.O. who knows how to get it to run under Win2k and IIS 6.x ? Uwe ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304702 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfgrid, bind and more than 1 table
Hi, we are using a cfgrid and want to bind more than 1 table to one grid but cannot find any examples. for example we have table1, table2, and table3 in our database. tables 2 and tables 3 both have foreign keys from table1 so i expect we will have to do some form of join. we want to use the bind so that it loads easily and saves as the user is typing. we would use the ext libraries to validate as the user types. we want our grid to be built on 2 columns of each table but cannot work out how to do it, or even if it is possible. does anyone have any basic examples that we can work with if this is possible. if it is not possible can you suggest what would be the best way to do this. thanks very much richard ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304703 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFdirectory under ColdFusion 8 (Standard)
On Fri, May 2, 2008 at 3:46 PM, Don L [EMAIL PROTECTED] wrote: cfdirectory directory=e:\blabla\bla2bla2\ action=list name=juiceFile type=file sort=directory DESC the Sort attribute failed (it did not list files in z to a order). 'directory' is only for recursive CFDIRECTORY calls. You want 'name' field for files within the directory. cfdirectory directory=e:\blabla\bla2bla2\ action=list name=juiceFile type=file sort=size DESC output includes Thumbs.db (the Type Attribute is supposed to eliminate the Thumbs.db or is it my misunderstanding?) Thumbs.db is a file, not a directory, so it's matched. You probably want filter=*.jpg or something. cheers, barneyb -- Barney Boisvert [EMAIL PROTECTED] http://www.barneyb.com/ Barney Boisvert Thanks, Barney. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304704 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfgrid, bind and more than 1 table
Hi, we are using a cfgrid and want to bind more than 1 table to one grid but cannot find any examples. for example we have table1, table2, and table3 in our database. tables 2 and tables 3 both have foreign keys from table1 so i expect we will have to do some form of join. we want to use the bind so that it loads easily and saves as the user is typing. we would use the ext libraries to validate as the user types. we want our grid to be built on 2 columns of each table but cannot work out how to do it, or even if it is possible. does anyone have any basic examples that we can work with if this is possible. if it is not possible can you suggest what would be the best way to do this. thanks very much richard ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304705 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: insert /delet problem in coldfusion
The problem is that instead of posting these kinds of questions (which are usually just hundreds of lines of code with the request to fix it), Erik needs to read a book on ColdFusion and a book on SQL. I've asked (begged) him to do this so many times that my fingers are numb, but he just refuses to do it. So my proposal is that everyone just stop responding to his posts until he a) figures out how to ask for help properly, b) reads a SQL book, and c) reads a ColdFusion book. Everything he asks about is explained in full detail in any book on these subjects, so at this point all he's doing is wasting other people's time. Erik, you've got to do this, that's all there is to it. You'll thank me later. On Fri, May 2, 2008 at 12:34 PM, Tom McNeer [EMAIL PROTECTED] wrote: There's a lot in your code that should probably be changed -- first, I'm assuming that the form/database code at the bottom of your post is NOT part of the same page as the form -- but you don't need the cfoutput tags in the processing code, or most of the hash signs, and you could avoid the use of Evaluate. But most importantly, there are two big problems in the database code if this is supposed to be an update (you say the user is modifying the answers. cfif isDefined(form.fieldnames) cfquery name=qryInsert datasource=cfelsunrise dbtype=odbc insert into survey_results (surveyidfk, empID) values (#url.survey#, #session.EmpID#) Here you're always doing an insert -- creating a new survey result record. Is that what you're really trying to do? You said modify, but you're saving a new record. Then ... CFLOOP LIST=#form.fieldnames# Index=field cfif #field# neq btnSubmitSurvey and #field# neq btnSubmitSurvey2 cfquery name=qryInsert1 datasource=cfelsunrise dbtype=odbc delete from SurveyResultsDetail where idfk =#qryInsert.newID# insert into SurveyResultsDetail (answer,surveyID,idfk) values (#ListLast(Evaluate(Form.#field#),_)#,#url.survey#,#qryInsert.newID#) /cfquery cfelse /cfif /CFLOOP . you are trying to delete records from the Detail table based on the ID of the new record, and there aren't any in the first iteration of the loop. You just created the Results record. Then you're immediately inserting a record into the Details table. But you are doing this within the loop of the fieldnames, so the next iteration of the loop deletes the record you just created. At the end you have one Detail record, from the last iteration of the loop, and it's related to the new Result record you just created. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304706 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Recommend a Workflow Engine in CF
Have you found anything in terms of a CF workflow engine? If not I am currently working on an open source workflow engine, I have the core complete and would like to help you out. -chris I'm looking for a state machine workflow engine written in (or easily consumed by) ColdFusion but I can't seem to find anything. Does anyone know of or (better yet) have experience using one? Do you have a web site where I can read about the CF Workflow Engine? I have heard of something in the .Net arena like Windows Workflow Foundation. I would think this is done in similar lines. Just curious. Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304707 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Verity and PDF
I want a user to search a pdf document (test.pdf) for a term and then go to the page that has that term on it. In Coldfusion 8, what would the cfindex tag look like to index test.pdf to do that? Is the page number returned? In other words, how can I link to that page? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304708 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
onSessionend never fires
The subject says it all- I can't get my onSessionend to execute. For testing, all I do is a call to a log file. The sessionTimeout is 2 secs. I hit the page. Wait 2 secs. Hit the page again. Switch over to the Coldfusion administrator to the logging page. There is no log by the name of onSessionEnd as specified. What can be the reason? Here's the code. Application.cfc: cfcomponent extends components.ApplicationRoot cfcomponent ApplicationRoot: cfset THIS.applicationTimeOut=CreateTimeSpan(2,0,0,0)\ cfset THIS.sessionmanagement=true cfset THIS.setclientcookies=true cfset THIS.sessionTimeOut=CreateTimeSpan(0,0,0,2) cffunction name=onSessionEnd access=public description=perform actions on session end output=false cfargument name=sessionscope type=struct cfargument name=applicationscope type=struct cflog file=onSessionEnd application=true text=hello, this session has ended /cffunction You see I use a root Application.cfc that has all shared functionality. I only overide specific parts (like THIS.name) in the extending Application.cfc components Oh, if I explicitly call onSessionEnd in Application.cfc via createobject* the code executes correctly ansd a log by ythe name of onSessionEnd is created. Thanks for any tips. * from http://www.coldfusionmuse.com/index.cfm/2005/6/21/cfmx7_onsessionend ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304709 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Verity and PDF
Verity determines how to parse the file based on the file type. You don't do anything special for PDF, you just index it like you would any other file or directory of files. I'd read the docs on cfindex and Verity. On Sat, May 3, 2008 at 4:03 PM, Richard Steele [EMAIL PROTECTED] wrote: I want a user to search a pdf document (test.pdf) for a term and then go to the page that has that term on it. In Coldfusion 8, what would the cfindex tag look like to index test.pdf to do that? Is the page number returned? In other words, how can I link to that page? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304710 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: onSessionend never fires
Turn off application=true. I think that may be breaking your logging. Remember that in onSessionEnd, you only have indirect access (via arguments) to the session/application scopes. On Sat, May 3, 2008 at 4:39 PM, marc -- [EMAIL PROTECTED] wrote: The subject says it all- I can't get my onSessionend to execute. For testing, all I do is a call to a log file. The sessionTimeout is 2 secs. I hit the page. Wait 2 secs. Hit the page again. Switch over to the Coldfusion administrator to the logging page. There is no log by the name of onSessionEnd as specified. What can be the reason? Here's the code. Application.cfc: cfcomponent extends components.ApplicationRoot cfcomponent ApplicationRoot: cfset THIS.applicationTimeOut=CreateTimeSpan(2,0,0,0)\ cfset THIS.sessionmanagement=true cfset THIS.setclientcookies=true cfset THIS.sessionTimeOut=CreateTimeSpan(0,0,0,2) cffunction name=onSessionEnd access=public description=perform actions on session end output=false cfargument name=sessionscope type=struct cfargument name=applicationscope type=struct cflog file=onSessionEnd application=true text=hello, this session has ended /cffunction You see I use a root Application.cfc that has all shared functionality. I only overide specific parts (like THIS.name) in the extending Application.cfc components Oh, if I explicitly call onSessionEnd in Application.cfc via createobject* the code executes correctly ansd a log by ythe name of onSessionEnd is created. Thanks for any tips. * from http://www.coldfusionmuse.com/index.cfm/2005/6/21/cfmx7_onsessionend ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304711 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFHTTP resolving URLS?
Hello all, Quick question. If I have a URL such as: http://feeds.feedburner.com/~r/Techcrunch/~3/283066435/; Which resolves to: http://www.techcrunch.com/2008/05/03/yahoo-responds/; When I call http://feeds.feedburner.com/~r/Techcrunch/~3/283066435/; in the first CFHTTP, its automatically reloads the full techcrunch URL. Is there a way to obtain this final resolved URL? from the results of the CFHTTP? Thanks, N ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304712 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFHTTP resolving URLS?
If you turn off redirection in the cfhttp tag you might be able to pull the new location out of the cfhttp.responseHeader variable, such as cfhttp.responseHeader['location']. You wouldn't end up at your final destination though and would have to call cfhttp again to get the content. If you do a dump of the cfhttp variable, and the new location isn't there, then that data point isn't available. You could always use an alternative to cfhttp, such as some Java function or maybe calling a program like wget using cfexecute. Good luck, Mike Chabot On Sat, May 3, 2008 at 11:31 PM, Nate Willard [EMAIL PROTECTED] wrote: Hello all, Quick question. If I have a URL such as: http://feeds.feedburner.com/~r/Techcrunch/~3/283066435/; Which resolves to: http://www.techcrunch.com/2008/05/03/yahoo-responds/; When I call http://feeds.feedburner.com/~r/Techcrunch/~3/283066435/; in the first CFHTTP, its automatically reloads the full techcrunch URL. Is there a way to obtain this final resolved URL? from the results of the CFHTTP? Thanks, N ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304713 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Split data over multiple mysql tables or leave in 1 table
I'm building an application where the amount of data in a table will be growing fairly quickly. The particular application is a little complicated to explain, so for simplicity, let's say I was building a blog app in the following enviroment. Linux server w/apache MySQL 4.1 Coldfusion 7.02 I have 20,000+ users now (increasing at a rate of 300+ per month), and let's assume all will be making blog posts (2-3 per week). That's 60,000 entries per week. Should I have 1 table where I store the blog posts, writing the ID for the specific user in a column so I can retrieve only his/her posts when they are viewing their blog? OR Should I setup my code to create a new table for each user's blog posts, and then pass the table name dynamically when retrieving his/her posts? OR Split the data some other way? Thanks in advance for any recommendations. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304714 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4