Re: SSH Telnet - ColdFusion

2009-07-29 Thread Tom Chiverton
On Monday 27 Jul 2009, Arsalan Tariq Keen wrote: besides... Tera Term Pro Web is another opensource option ... I finally found last night... it uses POST and GET forms for ssh/telnet purposes... so we can integrate it with ColdFusion, HTML or any other web application server as well :) (this

CFMXE 7.x and SQL Server 2008

2009-07-29 Thread Maureen Barger
Hello - a client recently upgraded to SQL Server 2008 and we can no longer connect from CFMXE 7.x. I have asked them to go through the steps outlined here http://blog.mxunit.org/2009/02/connecting-sql-server-2008-to.html but errors persist. The DSN is defined using the standard SQL Server driver

Re: CFMXE 7.x and SQL Server 2008

2009-07-29 Thread Charles
Make sure they run the SQL Server Configuration Manager and turn on the client protocols. My installation had all of them disabled by default, until I went in and manually enabled tcp/ip access. On Jul 29, 2009, at 7:32 AM, Maureen Barger wrote: Hello - a client recently upgraded to SQL

CFC Error on CF8 (Same working on CFMX 6.1)

2009-07-29 Thread SANJEEV SINGLA
Hi All, I am moving my old CFMX 6.1 code to CF8 for setting up some local environment. Most of the things are already set up or chnaged as per requirements. But I am getting an error while executing the following code (this line of code is in a java script library). var text=

RE: CFC Error on CF8 (Same working on CFMX 6.1)

2009-07-29 Thread Adrian Lynch
Run the page in Firefox with Firebug installed for a better error message. Post your code for CallWebService() if you can. Adrian -Original Message- From: SANJEEV SINGLA [mailto:planetsanj...@gmail.com] Sent: 29 July 2009 13:44 To: cf-talk Subject: CFC Error on CF8 (Same working

Use CFELSE or Let Logic Fall Through?

2009-07-29 Thread Dawson, Michael
I have an instance where I have three or four levels of CFIFs that are nested and include another template or redirect the browser. In other words, the page processing stops at that point. In all cases, I can let the logic fall through to the next level without having a CFELSE tag. Or, is it

re: Use CFELSE or Let Logic Fall Through?

2009-07-29 Thread Jason Fisher
Completely acceptable to leave out the CFELSE if there is no alternative action that needs to be taken. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists

list from array occurences

2009-07-29 Thread Richard White
hi we need to create a list of the string VarChar i.e. VarChar,VarChar,VarChar the amount of list elements is totally dependant on the length of another array which could change. e.g. if theArray length is 3 then the list would be VarChar,VarChar,VarChar else if theArray length is 5 then the

re: list from array occurences

2009-07-29 Thread Jason Fisher
listVar = left(repeatString(VarChar,, arrayLen(arrayVar)), ((8 * arrayLen(arrayVar)) - 1)); that just creates a list of VarChar,VarChar,VarChar, based on the arrayLen() and then removes the final ,. ~| Want to reach the

Re: list from array occurences

2009-07-29 Thread Claude Schneegans
is there a function to do this in a line of code Try this: MyList = RepeatString(,VarChar, arrayLen(MyArray)) The comma at the begining will be considered as an empty element which is ignored by CF. However, if you rather have a clean list, use this: MyList = mid(RepeatString(,VarChar,

Re: list from array occurences

2009-07-29 Thread Charlie Griefer
does it have to be just one line? you can loop for the array length and do a list append... cfset myList = / cfloop from=1 to=#arrayLen(myArray)# index=idx cfset myList = listAppend(myList, 'VarChar') / /cfloop On Wed, Jul 29, 2009 at 9:27 AM, Richard White rich...@j7is.co.uk wrote:

Re: list from array occurences

2009-07-29 Thread Richard White
thanks for the replies, this works perfectly listVar = left(repeatString(VarChar,, arrayLen(arrayVar)), ((8 * arrayLen(arrayVar)) - 1)); that just creates a list of VarChar,VarChar,VarChar, based on the arrayLen() and then removes the final ,.

Re: list from array occurences

2009-07-29 Thread Barney Boisvert
typeList = removeChars(repeatString(,varchar, arrayLen(myArray)), 1, 1); On Wed, Jul 29, 2009 at 9:27 AM, Richard Whiterich...@j7is.co.uk wrote: hi we need to create a list of the string VarChar i.e. VarChar,VarChar,VarChar the amount of list elements is totally dependant on the length of

Re: list from array occurences

2009-07-29 Thread Randi Knutson
Everyone had interesting solutions, but I wonder why you just wouldn't use ArrayTolist() cf-talk@houseoffusion.com on Wednesday, July 29, 2009 at 9:27 AM -0700 wrote: hi we need to create a list of the string VarChar i.e. VarChar,VarChar,VarChar the amount of list elements is totally

Re: list from array occurences

2009-07-29 Thread Jason Fisher
Good call, Barney ... forgot all about the removeChars() function ... haven't used that one in years. Good reminder! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion

Re: list from array occurences

2009-07-29 Thread Charlie Griefer
Randi - Based on how I read the question, the existing array and desired list had nothing in common, other than the length of elements. On Wed, Jul 29, 2009 at 9:56 AM, Randi Knutson rknut...@otan.us wrote: Everyone had interesting solutions, but I wonder why you just wouldn't use

Re: list from array occurences

2009-07-29 Thread Jason Fisher
he's not looking for the array element values ... he wants the actual string 'VarChar' once for each element. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing

Re: list from array occurences

2009-07-29 Thread Claude Schneegans
Yet another solution, assuming that the array length is at least 1: MyList = VarChar RepeatString(,VarChar, arrayLen(MyArray) - 1) ~| Want to reach the ColdFusion community with something they want? Let them know on the House

Re: integrating with quick books merchant services

2009-07-29 Thread Clint Tredway
thanks David. I appreciate it. On Tue, Jul 28, 2009 at 2:23 PM, David McGuigan davidmcgui...@gmail.comwrote: !--- Prep request --- cfset qAppId = XXX cfset qAppLogin = whatev.yourdomain.com

Re: Use CFELSE or Let Logic Fall Through?

2009-07-29 Thread Dominic Watson
The same with a function, for e.g. function fubar(){ if(z = y) return y; return z; } I prefer this form and I'd guess that it performed better (though almost certainly not to a remotely relevant degree). Its definitely perfectly acceptable. Dominic 2009/7/29 Jason Fisher

CFDIV mapping problems?

2009-07-29 Thread Les Mizzell
Very simple page as below. cfdiv won't display. Tried examples from adobe.com on the save shared server and those don't display either: html xmlns=http://www.w3.org/1999/xhtml; head/head cfajaximport tags=cfform / body h2My Page/h2 cfdiv bind=url:testFORM.cfm /body /html

Re: CFDIV mapping problems?

2009-07-29 Thread Les Mizzell
OK- cfwindow and any of the other Ajax related stuff ain't working either. So, mapping problem to CFIDE, right? Suggestions as to how to fix on a shared server if the host won't do anything? Or am I a complete idiot? Very simple page as below. cfdiv won't display. Tried examples from

CFBuilder Code Coloring

2009-07-29 Thread Donnie Carvajal
Does anyone know how to set colors for the HTML tags in CF Builder? I have been using HomeSite and I like how the HTML tags, anchor tags, table tags, form tags, etc. are all different colors. ~| Want to reach the ColdFusion

Re: CFBuilder Code Coloring

2009-07-29 Thread Charlie Griefer
On Wed, Jul 29, 2009 at 11:27 AM, Donnie Carvajal donnie.carva...@transformyx.com wrote: Does anyone know how to set colors for the HTML tags in CF Builder? I have been using HomeSite and I like how the HTML tags, anchor tags, table tags, form tags, etc. are all different colors. Donnie:

Re: SSH Telnet - ColdFusion

2009-07-29 Thread Arsalan Tariq Keen
didn't get your point dude...! -- From: Tom Chiverton tom.chiver...@halliwells.com Sent: Wednesday, July 29, 2009 4:31 PM To: cf-talk cf-talk@houseoffusion.com Subject: Re: SSH Telnet - ColdFusion On Monday 27 Jul 2009, Arsalan Tariq Keen

Re: CFDIV mapping problems?

2009-07-29 Thread Les Mizzell
Les Mizzell wrote: OK- cfwindow and any of the other Ajax related stuff ain't working either. So, mapping problem to CFIDE, right? Host will add mapping - problem solved. If host wouldn't add mapping, could just place a copy of the cfide in the site root and go from there.

Re: CFBuilder Code Coloring

2009-07-29 Thread Jason Fisher
Recent blog post about colorizing CFB was linked from the CFB blog. Looks like his notes would allow you to colorize any tag the way you wanted. Haven't played with it myself yet. http://sandeepp.org/blog/?p=84 ~| Want

RE: Use CFELSE or Let Logic Fall Through?

2009-07-29 Thread Dawson, Michael
Thanks, guys. That is what I was thinking, too. Having multiple return points in a function is not a bad idea, in my opinion. Thanks, Mike -Original Message- From: Dominic Watson [mailto:watson.domi...@googlemail.com] Sent: Wednesday, July 29, 2009 12:59 PM To: cf-talk Subject: Re:

Question on page reloads and include refresh

2009-07-29 Thread Torrent Girl
I have an issue where I have header and left nav includes. My site has spanish and english text that allows the user to switch back and forth between the two languages. My problem is that the header, which includes a topNav doesn't refresh when the page reloads. Everything else does. So

Re: CFBuilder Code Coloring

2009-07-29 Thread Richard Dillman
You can do some color changes in the prefrences. select Window then prefrences +HTML+Editors+CSS+Colors +HTML+Editors+HTML+Colors +HTML+Editors+JavaScript+Colors +HTML+Editors+ScriptDoc+Colors +HTML+Editors+SQL+Colors +HTML+Editors+XML+Colors +ColdFusion+Editor Profiles+Editor+Colors On Wed,

Re: cfdocument question

2009-07-29 Thread Al Musella, DPM
Search your hard drive for the filename... you may have to give it a full path.. Also it might take time for the pdf to get generated. If the cfmail is in the same template, the file might not be there yet by the time cfmail needs it. At 11:30 AM 7/27/2009, you wrote: Your code below will

Re: Question on page reloads and include refresh

2009-07-29 Thread David McGuigan
Are you using frames? On Wed, Jul 29, 2009 at 1:17 PM, Torrent Girl torrentg...@gmail.com wrote: I have an issue where I have header and left nav includes. My site has spanish and english text that allows the user to switch back and forth between the two languages. My problem is that

Re: Reporting

2009-07-29 Thread denstar
On Tue, Jul 28, 2009 at 3:21 PM, David Mineermin...@gmail.com wrote: Is anyone using Jasper Reports or Crystal Reports with coldfusion. I use JasperReports/JasperServer, and I love 'em. -- You cannot be mad at somebody who makes you laugh - it's as simple as that. Jay Leno

Re: Question on page reloads and include refresh

2009-07-29 Thread Torrent Girl
Are you using frames? No just an index.cfm with a header, topnav and leftnav include. The leftnav refreshes but not the header ~| Want to reach the ColdFusion community with something they want? Let them know on the House of

Re: Question on page reloads and include refresh

2009-07-29 Thread Tony Bentley
How is the navigation being built? Is it dynamic? Try reloading the javascript or header by passing a unique string each time they toggle. Usually there is a caching issue if something does not change within the site ~| Want

Re: Reporting

2009-07-29 Thread David Mineer
Are you able to invoke the reports from your web page and output them to .pdf? On Wed, Jul 29, 2009 at 2:42 PM, denstar valliants...@gmail.com wrote: On Tue, Jul 28, 2009 at 3:21 PM, David Mineermin...@gmail.com wrote: Is anyone using Jasper Reports or Crystal Reports with coldfusion. I