RE: meta tag location
If you are putting them in application.cfm then they will be the same for all pages - some search engines might see this as metadata spamming and may penalise you - notwithstanding that I think Google does not rely on metadata because people tell fibs in metadata but not in the page content so they index on page content. ++ KPA ++ -Original Message- From: Les Irvin [mailto:les.cft...@gmail.com] Sent: Thursday, 7 January 2010 6:41 AM To: cf-talk Subject: meta tag location I usually put a few meta tags in the application.cfm file, and a few more on the individual pages. Is there any danger to not keeping all the meta tags in one place? A client claims their google ranking has fallen since this has been done. Thanks, Les ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329457 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Adult ColdFusion Websites
Does anyone know of a hosting company that allows adult websites (a store) that has ColdFusion and allows cffile and such? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329458 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is it possible for a ColdFusion web service method to return an object?
Using some of Leigh's suggestions I am now successfully returning an object as I expected to be able to do. But there is still some minor wierdness. This code is now working mostly as I would expect it to, accept for some strange reason when the nested myObject.cfc is called from the webservice code, the getFoo() function will not return the default value. It works properly after setFoo() is used to set a value, but not with the initial default value. *webservice-test.cfm* |!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / titleComplex Webservice Tests/title /head body div style=width: 39.5%; float:left; cfset testObj = createObject(component,webservice) getID:cfoutput#testObj.getID()#/cfoutputhr / getFoo:cfoutput#testObj.getObj().getFoo()#/cfoutputhr / cfset testObj.getObj().setFoo(New Stuff) getFoo:cfoutput#testObj.getObj().getFoo()#/cfoutputhr / cfdump var=#testObj.getObj()# expand=yeshr / cfdump var=#testObj# expand=yes /div div style=width: 59.5%; float:right; cfset testWS = createObject(webservice,http://localhost/webservice.cfc?wsdl;) cfset nestedObj = testWS.getObj() getID:cfoutput#testWS.getID()#/cfoutputhr / getFoo:cfoutput#nestedObj.getFoo()#/cfoutputhr / cfset nestedObj.setFoo(New Stuff) getFoo:cfoutput#nestedObj.getFoo()#/cfoutputhr / cfdump var=#nestedObj# cfdump var=#testWS# /div /body /html | *webservice.cfc* |cfcomponent cfproperty name=ID default=10 type=numeric cfproperty name=obj type=myobject cfset variables.ID = 12 cfset variables.obj = createObject(component,myobject) cffunction name=getID access=remote returntype=numeric cfreturn variables.ID /cffunction cffunction name=getObj access=remote returntype=myobject cfreturn variables.obj /cffunction /cfcomponent | *myobject.cfc* |cfcomponent cfproperty name=foo default=bar type=string cfset variables.foo = bar cffunction name=setFoo returntype=void cfargument name=foo type=string cfset variables.foo = arguments.foo /cffunction cffunction name=getFoo returntype=string cfreturn variables.foo /cffunction /cfcomponent | ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329459 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
form.FieldNames
How is the order of the elements in #FORM.fieldNames# determined? Could it be different and not well structured? Like if I have a form with text inputs named foo1, foo2, foo3. Will #FORM.fieldNames# always be: Foo1,foo2,foo3? Or could it be ordered different? Thanks, Chad ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329460 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: meta tag location
From my research on several large commerce websites I have worked on, Google does not even use the Meta Description, page Title or URL for page rank or position. In my own experience, the title is used for page rank, but I can't tell if it affects relevance. Page rank and relevance are, of course, the two factors that determine which search results you see (and which you see first). So, I don't rely on any forms of SEO to be a magic bullet, These things do help them categorize, (title, h1, h2, h3 etc..) but good content and relevance is the only silver bullet. Well, this is really the key. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VSOB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329461 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: form.FieldNames
I would expect the order to be the same as the order that the fields are submitted to the server (which, in turn, should be the same as the DOM order of the form elements), but if I wouldn't rely on that behaviour. If you need them in a specific order, best to order them yourself on the server. This is especially true if you have some sort of non-HTML (or impure-HTML) interface, since any sort of dynamic scripting (e.g. JavaScript) can potentially mutate the actual form submission in an arbitrary way. cheers, barneyb On Thu, Jan 7, 2010 at 8:17 AM, Chad Gray cg...@careyweb.com wrote: How is the order of the elements in #FORM.fieldNames# determined? Could it be different and not well structured? Like if I have a form with text inputs named foo1, foo2, foo3. Will #FORM.fieldNames# always be: Foo1,foo2,foo3? Or could it be ordered different? Thanks, Chad ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329462 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: meta tag location
The title tag is not a meta tag. Meta tags are meta name= , not title/title. Meta description does nothing for ranking. It helps with click troughs. -Original Message- From: Terry Troxel [mailto:te...@it-werks.com] Sent: Wednesday, January 06, 2010 9:49 PM To: cf-talk Subject: RE: meta tag location I think you better rethink that one. The Title Meta tag and the Meta Description tags are 2 very, very important tags as far as the search engines go. Yes the meta keywords is no longer in use but for proof look in the organic search for a top ranking page and then view source and a good percentage of the time you will see the meta description as the anchor text for the link to the landing page. The title and description should be different for every page on the site too. Terry -Original Message- From: Jacob [mailto:ja...@excaliburfilms.com] Sent: Wednesday, January 06, 2010 12:51 PM To: cf-talk Subject: RE: meta tag location What are the meta tags? Meta tags are 99% useless for search engine ranking. Remove them and see what happens. -Original Message- From: Les Irvin [mailto:les.cft...@gmail.com] Sent: Wednesday, January 06, 2010 11:41 AM To: cf-talk Subject: meta tag location I usually put a few meta tags in the application.cfm file, and a few more on the individual pages. Is there any danger to not keeping all the meta tags in one place? A client claims their google ranking has fallen since this has been done. Thanks, Les ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329463 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: form.FieldNames
Additionally, if your form consists of radio buttons which only exist if users choose something, then your fieldnames list can be out of order when those radio button fields go missing. On Thu, Jan 7, 2010 at 11:23 AM, Barney Boisvert bboisv...@gmail.comwrote: I would expect the order to be the same as the order that the fields are submitted to the server (which, in turn, should be the same as the DOM order of the form elements), but if I wouldn't rely on that behaviour. If you need them in a specific order, best to order them yourself on the server. This is especially true if you have some sort of non-HTML (or impure-HTML) interface, since any sort of dynamic scripting (e.g. JavaScript) can potentially mutate the actual form submission in an arbitrary way. cheers, barneyb On Thu, Jan 7, 2010 at 8:17 AM, Chad Gray cg...@careyweb.com wrote: How is the order of the elements in #FORM.fieldNames# determined? Could it be different and not well structured? Like if I have a form with text inputs named foo1, foo2, foo3. Will #FORM.fieldNames# always be: Foo1,foo2,foo3? Or could it be ordered different? Thanks, Chad ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329464 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: meta tag location
Fresh, unique content and quality backlinks... that is 98% of the battle. -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, January 07, 2010 8:22 AM To: cf-talk Subject: Re: meta tag location From my research on several large commerce websites I have worked on, Google does not even use the Meta Description, page Title or URL for page rank or position. In my own experience, the title is used for page rank, but I can't tell if it affects relevance. Page rank and relevance are, of course, the two factors that determine which search results you see (and which you see first). So, I don't rely on any forms of SEO to be a magic bullet, These things do help them categorize, (title, h1, h2, h3 etc..) but good content and relevance is the only silver bullet. Well, this is really the key. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VSOB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329465 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: form.FieldNames
Thanks for the insight guys. I will use listSort() before processing the form.FieldNames. This is better than relying on DOMs and such to do the ordering. Chad -Original Message- From: Qing Xia [mailto:txiasum...@gmail.com] Sent: Thursday, January 07, 2010 11:42 AM To: cf-talk Subject: Re: form.FieldNames Additionally, if your form consists of radio buttons which only exist if users choose something, then your fieldnames list can be out of order when those radio button fields go missing. On Thu, Jan 7, 2010 at 11:23 AM, Barney Boisvert bboisv...@gmail.comwrote: I would expect the order to be the same as the order that the fields are submitted to the server (which, in turn, should be the same as the DOM order of the form elements), but if I wouldn't rely on that behaviour. If you need them in a specific order, best to order them yourself on the server. This is especially true if you have some sort of non-HTML (or impure-HTML) interface, since any sort of dynamic scripting (e.g. JavaScript) can potentially mutate the actual form submission in an arbitrary way. cheers, barneyb On Thu, Jan 7, 2010 at 8:17 AM, Chad Gray cg...@careyweb.com wrote: How is the order of the elements in #FORM.fieldNames# determined? Could it be different and not well structured? Like if I have a form with text inputs named foo1, foo2, foo3. Will #FORM.fieldNames# always be: Foo1,foo2,foo3? Or could it be ordered different? Thanks, Chad ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329466 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: meta tag location
Google doesn't use the keywords metatag http://googlewebmastercentral.blogspot.com/2009/09/google-does-not-use-keywords-meta-tag.html But... http://googlewebmastercentral.blogspot.com/2007/09/improve-snippets-with-meta-description.html Good explanation on what it does with each meta tag http://googlewebmastercentral.blogspot.com/2007/12/answering-more-popular-picks-meta-tags.html Jerry On Thu, Jan 7, 2010 at 11:21 AM, Dave Watts dwa...@figleaf.com wrote: In my own experience, the title is used for page rank, but I can't tell if it affects relevance. Page rank and relevance are, of course, the two factors that determine which search results you see (and which you see first). ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329467 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: form.FieldNames
How is the order of the elements in #FORM.fieldNames# determined? Could it be different and not well structured? Like if I have a form with text inputs named foo1, foo2, foo3. Will #FORM.fieldNames# always be: Foo1,foo2,foo3? Or could it be ordered different? Structures are essentially unordered containers. You should not rely on a specific ordering behavior when iterating through a structure, as there is no guarantee that the current ordering behavior will work in any different version of CF. Scopes are exposed as structures, so I would recommend treating them the same way. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329468 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
I am just not understanding how to make a web service.
my web service. cfcomponent cfproperty name=id default=10 type=numeric cfset variables.id = 10 cffunction name=setId access=remote returntype=void cfargument name=id type=numeric required=yes cfset variables.id = arguments.id /cffunction cffunction name=getId access=remote returntype=numeric cfreturn variables.id /cffunction /cfcomponent my test page. pCall component as web service/p cfset myWS = createObject(webservice,http://10.104.106.39:8080/ian.cfc?wsdl;) cfoutput#myWS.getId()#/cfoutput cfset myWS.setId(888) cfoutput#myWS.getId()#/cfoutput cfdump var=#myWS# Both outputs are outputting the same value of 10. The web service does not seem to be maintaining state from one method call to another. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329469 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
jquery javascript coldfusion.navigate cflayout cfdiv
We cannot get a simple jquery function to work using coldfusion.navigate, cflayout and a cfdiv. One of those 3 or a combination is causing us fits. page 1: checkbox2.cfm -- script src= http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js;/scripthttp://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js%22%3E%3C/script script $(document).ready(function(){ $(#checkboxall).click(function() { var checked_status = this.checked; $(input[name=mapid]).each(function() { this.checked = checked_status; }); }); }); /script label for=checkboxallSelect Allinput id=checkboxall type=checkbox / FORM input name=mapid type=checkbox /BR input name=mapid type=checkbox /BR input name=mapid type=checkbox /BR /form Page 2: checkboxtest.cfm cflayout type=border name=layoutborder cflayoutarea name=Center position=center a href=javascript:ColdFusion.navigate('checkbox2.cfm','catz')Click Here/a /cflayoutarea /cflayout cfdiv id=catz /cfdiv --- The first page, by itself works just fine. The second page gives an error and we cannot figure out a solution. I really like the dynamic nature of using coldfusion.navigate to load a page into the cfdiv on the fly. How can I make the second page work? -- David Mineer Jr - The critical ingredient is getting off your butt and doing something. It's as simple as that. A lot of people have ideas, but there are few who decide to do something about them now. Not tomorrow. Not next week. But today. The true entrepreneur is a doer. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329470 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: I am just not understanding how to make a web service.
Both outputs are outputting the same value of 10. The web service does not seem to be maintaining state from one method call to another. Right! Web service calls don't maintain state by default. You have to manage state yourself. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329471 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: jquery javascript coldfusion.navigate cflayout cfdiv
Have you tried including the jQuery library on target page? - Original Message - From: David Mineer min...@gmail.com To: cf-talk cf-talk@houseoffusion.com Sent: Thursday, January 07, 2010 12:09 PM Subject: ***SPAM*** jquery javascript coldfusion.navigate cflayout cfdiv We cannot get a simple jquery function to work using coldfusion.navigate, cflayout and a cfdiv. One of those 3 or a combination is causing us fits. page 1: checkbox2.cfm -- script src= http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js;/scripthttp://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js%22%3E%3C/script script $(document).ready(function(){ $(#checkboxall).click(function() { var checked_status = this.checked; $(input[name=mapid]).each(function() { this.checked = checked_status; }); }); }); /script label for=checkboxallSelect Allinput id=checkboxall type=checkbox / FORM input name=mapid type=checkbox /BR input name=mapid type=checkbox /BR input name=mapid type=checkbox /BR /form Page 2: checkboxtest.cfm cflayout type=border name=layoutborder cflayoutarea name=Center position=center a href=javascript:ColdFusion.navigate('checkbox2.cfm','catz')Click Here/a /cflayoutarea /cflayout cfdiv id=catz /cfdiv --- The first page, by itself works just fine. The second page gives an error and we cannot figure out a solution. I really like the dynamic nature of using coldfusion.navigate to load a page into the cfdiv on the fly. How can I make the second page work? -- David Mineer Jr - The critical ingredient is getting off your butt and doing something. It's as simple as that. A lot of people have ideas, but there are few who decide to do something about them now. Not tomorrow. Not next week. But today. The true entrepreneur is a doer. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329472 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: I am just not understanding how to make a web service.
Both outputs are outputting the same value of 10. The web service does not seem to be maintaining state from one method call to another. Right! Web service calls don't maintain state by default. You have to manage state yourself. To be more specific to my own reply, when you invoke a web service method, you are instantiating your object and then immediately destroying it, just like if you used CFINVOKE to call a method directly. If you want to manage state, you can write to a persistent store (Session, Application, Server scopes, databases, etc, although the Session scope relies on the caller to pass the session token on subsequent requests, which may not happen). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329473 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: I am just not understanding how to make a web service.
If I am understanding Dave correctly. A web service component does not maintain state natively. Thus information stored in the 'this' and 'variables' scope of a component are not maintained from one call to another. But the web service component can access the other cross request scopes such as server, application and session. So if I want to maintain state, I need to write and read the state data from one of these scopes with the web service. Is that correct, Dave? You where talking about the web service component code writing and reading to the application or session scope, NOT the consuming code. Continuing this train of thought, since web service calls do not include cookies, normal session state is not maintained and I would have to handle that myself. Does anybody have any good pointers or reading material about suggested methods to maintain state across web service calls. I.E. is there someway to pass the normal cookie values into the web service and allow the web service code to access the session scope? TIA ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329474 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: jquery javascript coldfusion.navigate cflayout cfdiv
It was on the target page (the page that is called by coldfusion.navigate, checkbox2.cfm) Moving it to the parent page (checkboxtest.cfm) actually gets rid of the error message, but the function does not work. On Thu, Jan 7, 2010 at 12:30 PM, Martin Franklin ma...@assetresearch.comwrote: Have you tried including the jQuery library on target page? - Original Message - From: David Mineer min...@gmail.com To: cf-talk cf-talk@houseoffusion.com Sent: Thursday, January 07, 2010 12:09 PM Subject: ***SPAM*** jquery javascript coldfusion.navigate cflayout cfdiv We cannot get a simple jquery function to work using coldfusion.navigate, cflayout and a cfdiv. One of those 3 or a combination is causing us fits. page 1: checkbox2.cfm -- script src= http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js /script http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js%22%3E%3C/script script $(document).ready(function(){ $(#checkboxall).click(function() { var checked_status = this.checked; $(input[name=mapid]).each(function() { this.checked = checked_status; }); }); }); /script label for=checkboxallSelect Allinput id=checkboxall type=checkbox / FORM input name=mapid type=checkbox /BR input name=mapid type=checkbox /BR input name=mapid type=checkbox /BR /form Page 2: checkboxtest.cfm cflayout type=border name=layoutborder cflayoutarea name=Center position=center a href=javascript:ColdFusion.navigate('checkbox2.cfm','catz')Click Here/a /cflayoutarea /cflayout cfdiv id=catz /cfdiv --- The first page, by itself works just fine. The second page gives an error and we cannot figure out a solution. I really like the dynamic nature of using coldfusion.navigate to load a page into the cfdiv on the fly. How can I make the second page work? -- David Mineer Jr - The critical ingredient is getting off your butt and doing something. It's as simple as that. A lot of people have ideas, but there are few who decide to do something about them now. Not tomorrow. Not next week. But today. The true entrepreneur is a doer. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329475 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: jquery javascript coldfusion.navigate cflayout cfdiv
I am a jQuery newbie so I definitely feel your pain. One method that has worked for me is to the bottom-up approach. Start with a bare-bone simple form with just the jQuery stuff and then add the other stuff you want in, one by one. Make sure to also strip down your CSS file to just those definitions directly relating to the jQuery stuff. This way you can figure out when it stops working and then narrow it down to the prime suspect. The other thing is to test the stuff at each stage in all browsers you have. If it doesn't work in any of them, then you know the problem is your code. On Thu, Jan 7, 2010 at 3:07 PM, David Mineer min...@gmail.com wrote: It was on the target page (the page that is called by coldfusion.navigate, checkbox2.cfm) Moving it to the parent page (checkboxtest.cfm) actually gets rid of the error message, but the function does not work. On Thu, Jan 7, 2010 at 12:30 PM, Martin Franklin ma...@assetresearch.com wrote: Have you tried including the jQuery library on target page? - Original Message - From: David Mineer min...@gmail.com To: cf-talk cf-talk@houseoffusion.com Sent: Thursday, January 07, 2010 12:09 PM Subject: ***SPAM*** jquery javascript coldfusion.navigate cflayout cfdiv We cannot get a simple jquery function to work using coldfusion.navigate, cflayout and a cfdiv. One of those 3 or a combination is causing us fits. page 1: checkbox2.cfm -- script src= http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js /script http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js%22%3E%3C/script script $(document).ready(function(){ $(#checkboxall).click(function() { var checked_status = this.checked; $(input[name=mapid]).each(function() { this.checked = checked_status; }); }); }); /script label for=checkboxallSelect Allinput id=checkboxall type=checkbox / FORM input name=mapid type=checkbox /BR input name=mapid type=checkbox /BR input name=mapid type=checkbox /BR /form Page 2: checkboxtest.cfm cflayout type=border name=layoutborder cflayoutarea name=Center position=center a href=javascript:ColdFusion.navigate('checkbox2.cfm','catz')Click Here/a /cflayoutarea /cflayout cfdiv id=catz /cfdiv --- The first page, by itself works just fine. The second page gives an error and we cannot figure out a solution. I really like the dynamic nature of using coldfusion.navigate to load a page into the cfdiv on the fly. How can I make the second page work? -- David Mineer Jr - The critical ingredient is getting off your butt and doing something. It's as simple as that. A lot of people have ideas, but there are few who decide to do something about them now. Not tomorrow. Not next week. But today. The true entrepreneur is a doer. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329476 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: I am just not understanding how to make a web service.
A web service component does not maintain state natively. Thus information stored in the 'this' and 'variables' scope of a component are not maintained from one call to another. Right. But the web service component can access the other cross request scopes such as server, application and session. So if I want to maintain state, I need to write and read the state data from one of these scopes with the web service. Is that correct, Dave? You where talking about the web service component code writing and reading to the application or session scope, NOT the consuming code. Right. Continuing this train of thought, since web service calls do not include cookies, normal session state is not maintained and I would have to handle that myself. Not necessarily right. Some web service clients will pass cookies properly. I believe that CF does this, so if you have your application set to use cookies with session management, your CF client should work fine. Does anybody have any good pointers or reading material about suggested methods to maintain state across web service calls. I.E. is there someway to pass the normal cookie values into the web service and allow the web service code to access the session scope? If you want, you can build your own state management mechanism that would basically return a token on the first method call, then accept that token on subsequent method calls - basically just what cookies do, but an explicit value that would be passed as an argument to subsequent requests. But I suspect that most web service clients support cookies by default nowadays. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or on ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329477 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFHTTP wierdness
So I've got a production and a live server. Both running CF8, Win 2003 Server Standard Ed, IIS6. Both have the same code calling a remote, non-CF-based web service via a cfhttp call to an https URL. We are getting sporadic Connection Failure messages from cfhttp. This clearly isn't the old cfhttp_5 inability to connect to a secure site because it works normally. However, it the dev server can still often connect when the production server can't. Though we definitely sometimes experience the inability to connect on both sometimes. I've tried changing timeouts anywhere from 5 to 60 seconds. I now loop over the attempt to connect a bunch of times before showing an error message to the user. I know this is a shot in the dark, but I figured I would ask if anyone has experienced anything like this or has any thoughts. I'm also open to suggestions on how to try to diagnose the problem. --Jeff p.s. The web service is pretty esoteric - Kintera Sphere ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329478 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: jquery javascript coldfusion.navigate cflayout cfdiv
The answer came from the jedi master himself Ray Camden: if you put the click handler in the root document, and switch it to Live(), then it will work. So changing the event handler to $(#checkboxall).live(click,function() { Makes it work. Even Ray was a little surprised that Live() was needed in this case. I never even heard of Live() cause I don't use jQuery that much, I should start. But it works now, thanks All. On Thu, Jan 7, 2010 at 1:39 PM, Qing Xia txiasum...@gmail.com wrote: I am a jQuery newbie so I definitely feel your pain. One method that has worked for me is to the bottom-up approach. Start with a bare-bone simple form with just the jQuery stuff and then add the other stuff you want in, one by one. Make sure to also strip down your CSS file to just those definitions directly relating to the jQuery stuff. This way you can figure out when it stops working and then narrow it down to the prime suspect. The other thing is to test the stuff at each stage in all browsers you have. If it doesn't work in any of them, then you know the problem is your code. On Thu, Jan 7, 2010 at 3:07 PM, David Mineer min...@gmail.com wrote: It was on the target page (the page that is called by coldfusion.navigate, checkbox2.cfm) Moving it to the parent page (checkboxtest.cfm) actually gets rid of the error message, but the function does not work. On Thu, Jan 7, 2010 at 12:30 PM, Martin Franklin ma...@assetresearch.com wrote: Have you tried including the jQuery library on target page? - Original Message - From: David Mineer min...@gmail.com To: cf-talk cf-talk@houseoffusion.com Sent: Thursday, January 07, 2010 12:09 PM Subject: ***SPAM*** jquery javascript coldfusion.navigate cflayout cfdiv We cannot get a simple jquery function to work using coldfusion.navigate, cflayout and a cfdiv. One of those 3 or a combination is causing us fits. page 1: checkbox2.cfm -- script src= http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js /script http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js%22%3E%3C/script script $(document).ready(function(){ $(#checkboxall).click(function() { var checked_status = this.checked; $(input[name=mapid]).each(function() { this.checked = checked_status; }); }); }); /script label for=checkboxallSelect Allinput id=checkboxall type=checkbox / FORM input name=mapid type=checkbox /BR input name=mapid type=checkbox /BR input name=mapid type=checkbox /BR /form Page 2: checkboxtest.cfm cflayout type=border name=layoutborder cflayoutarea name=Center position=center a href=javascript:ColdFusion.navigate('checkbox2.cfm','catz')Click Here/a /cflayoutarea /cflayout cfdiv id=catz /cfdiv --- The first page, by itself works just fine. The second page gives an error and we cannot figure out a solution. I really like the dynamic nature of using coldfusion.navigate to load a page into the cfdiv on the fly. How can I make the second page work? -- David Mineer Jr - The critical ingredient is getting off your butt and doing something. It's as simple as that. A lot of people have ideas, but there are few who decide to do something about them now. Not tomorrow. Not next week. But today. The true entrepreneur is a doer. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329479 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Mail directory locked
Here's one that was supposed to be solved in earlier versions of ColdFusion. I'm using ColdFusion 8 and every time the system tries to send an email, the following error is generated: An exception occurred when setting up mail server parameters. This exception was caused by: coldfusion.mail.MailSpooler$SpoolLockTimeoutException: A timeout occurred while waiting for the lock on the mail spool directory.. So the question is, what is causing this lock? From what I can see, there are no permission issues with the mail directory. Anyone have a clue? Thanks -- Michael Dinowitz ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329480 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: I am just not understanding how to make a web service.
On 1/7/2010 12:48 PM, Dave Watts wrote: Not necessarily right. Some web service clients will pass cookies properly. I believe that CF does this, so if you have your application set to use cookies with session management, your CF client should work fine. How would this work? Adding a function that returns the session state of the Web service. cffunction name=getSESSION access=remote returntype=struct cfreturn session /cffunction And invoking after each WS call from my consuming page. cfoutput#testWS.getID()#/cfoutput cfdump var=#testWS.getSESSION()# cfset testWS.setID(44) cfdump var=#testWS.getSESSION()# cfoutput#testWS.getID()#/cfoutput cfdump var=#testWS.getSESSION()# Shows me getting a new session state with each call. Is there something I need to do so that the session cookies are passed with the web service request? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329481 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: I am just not understanding how to make a web service.
Shows me getting a new session state with each call. Is there something I need to do so that the session cookies are passed with the web service request? Is the web service in a directory that has session management enabled in Application.cfm/cfc? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329482 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Mail directory locked
Here's one that was supposed to be solved in earlier versions of ColdFusion. I'm using ColdFusion 8 and every time the system tries to send an email, the following error is generated: An exception occurred when setting up mail server parameters. This exception was caused by: coldfusion.mail.MailSpooler$SpoolLockTimeoutException: A timeout occurred while waiting for the lock on the mail spool directory.. So the question is, what is causing this lock? From what I can see, there are no permission issues with the mail directory. Anyone have a clue? Locking problems don't necessarily indicate improperly-set permissions. If it's a Windows box, you can use the Sysinternals Filemon tool to see what's accessing the directory. Or, you could just cycle the service and see if it's able to acquire a lock after restart. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329483 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 wierdness
Hmm, it almost sounds like an intermittent network problem. Out of curiosity what if you set up a cfexecute to capture the results of a ping command to the remote server at the time it failed. If it turns out to be something low-level like that you might save some time trouble CFML that is just fine. Also, if the error can be reproduced fairly easily, you can try setting up a packet sniffer (like WireShark) on your server to capture the traffic and see what is happening. You'd probably want to set up some pre-capture filters though-- capture files could get big pretty quick on a server with a lot of network traffic. ~Brad Original Message Subject: CFHTTP wierdness From: Jeff Langevin jlange...@outdoors.org Date: Thu, January 07, 2010 2:51 pm To: cf-talk cf-talk@houseoffusion.com So I've got a production and a live server. Both running CF8, Win 2003 Server Standard Ed, IIS6. Both have the same code calling a remote, non-CF-based web service via a cfhttp call to an https URL. We are getting sporadic Connection Failure messages from cfhttp. This clearly isn't the old cfhttp_5 inability to connect to a secure site because it works normally. However, it the dev server can still often connect when the production server can't. Though we definitely sometimes experience the inability to connect on both sometimes. I've tried changing timeouts anywhere from 5 to 60 seconds. I now loop over the attempt to connect a bunch of times before showing an error message to the user. I know this is a shot in the dark, but I figured I would ask if anyone has experienced anything like this or has any thoughts. I'm also open to suggestions on how to try to diagnose the problem. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329484 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Mail directory locked
I don't have any direct experience with that error, but I can suggest a tool such as filemon (looks like it's been rolled into process monitor now) to try and find what process is holding the locks at least. It might be a bit of a needle in the hay, but it's a start. Also, pulling a full thread dump of your JVM might show you if the folder is being locked by another thread. ~Brad Original Message Subject: Mail directory locked From: Michael Dinowitz mdino...@houseoffusion.com Date: Thu, January 07, 2010 3:24 pm To: cf-talk cf-talk@houseoffusion.com Here's one that was supposed to be solved in earlier versions of ColdFusion. I'm using ColdFusion 8 and every time the system tries to send an email, the following error is generated: An exception occurred when setting up mail server parameters. This exception was caused by: coldfusion.mail.MailSpooler$SpoolLockTimeoutException: A timeout occurred while waiting for the lock on the mail spool directory.. So the question is, what is causing this lock? From what I can see, there are no permission issues with the mail directory. Anyone have a clue? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329485 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: I am just not understanding how to make a web service.
In my experience CF has not returned cookies to web service calls-- at least when calling them from cfhttp that is. If you can't get createObject or cfinvoke to work, you can check out this post which shows you how to collect and return cookies manually if you are consuming a web service with CFML that requires cookies to manage session persistence. http://www.bennadel.com/blog/725-Maintaining-Sessions-Across-Multiple-ColdFusion-CFHttp-Requests.htm http://www.bennadel.com/projects/cfhttp-session.htm ~Brad Original Message Subject: Re: I am just not understanding how to make a web service. From: Ian Skinner h...@ilsweb.com Date: Thu, January 07, 2010 3:45 pm To: cf-talk cf-talk@houseoffusion.com your CF client should work ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329486 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Mail directory locked
Sorry, I forgot to paste the link. http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx ~Brad Original Message Subject: RE: Mail directory locked From: b...@bradwood.com Date: Thu, January 07, 2010 4:49 pm To: cf-talk cf-talk@houseoffusion.com I don't have any direct experience with that error, but I can suggest a tool such as filemon ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329487 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: I am just not understanding how to make a web service.
On 1/7/2010 2:13 PM, Dave Watts wrote: Is the web service in a directory that has session management enabled in Application.cfm/cfc? Yes, I have a successful session scope. But the state is not being maintained. Every request from the consuming CFML file is generating a new session scope with a new CFID and CFTOKEN. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329488 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Adult ColdFusion Websites
Yes, we do, provided the site meets our TOS (the content is legal in your jurisdiction and also in California, and in Australia, and doesn't breach copyrights of others.)(We campaign for musician's and songwriters royalty rights, so we cant have any of our clients joining the 'other side'.) Most web hosting companies have problems with adult sites, because they are prone to several problems that impact the rest of the system: [A] Huge volumes that take bandwidth from other users [B] Constant attacks that bring with them risks to other users [C] copyright and other legal issues Believe it or not, few hosting companies are against adult sites for morality reasons, although I suspect there must be some. To accept an adult site into our system we would need to make sure we have adequately provided for the resources the site would require, and if it went outside the quotas allocated to it, we would need to provide more at additional cost. I guess a kind of 'probation period' if the site is new and doesn't have any prior statistics to work from. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On Thu, Jan 7, 2010 at 11:59 PM, Phillip Vector vec...@mostdeadlygame.com wrote: Does anyone know of a hosting company that allows adult websites (a store) that has ColdFusion and allows cffile and such? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329489 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFMEDIAPLAYER Issues
We have upgraded to CF9 and I'm trying to use the CFMEDIAPLAYER rather than the Wimpy Wasp player we have been using on CF8 and earlier. However, it seems like CFMEDIAPLAYER has some major issues and limitations. In IE (versions 8, 7 and 6), for example, it ignores the hidetitle=true which does work in FireFox. It also doesn't seem to have the basic option of having a title image display when the player is off, or the more advanced options of making the control bar a rollover with the play button an overlay over the image/video or using the first frame of the video as title image (although it does display the first frame as a closing image). I'm hoping I'm missing something basic - it seems hard to belive that with ColdFusion part of Adobe it would have such a lame media player. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329490 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4