CF9 - CFC doesnt throw any error messages?

2010-04-08 Thread Mike Kear
Is this what's supposed to happen? In every previous version, when there was a syntax or other error in my code in a CFC, I'd get an error message that would point me to the line containing the problem. Now, with CF9 Enterprise, I get a result from my CFCs or I get nothing.If there's an

Re: Joni Mitchell and Cold Fusion

2010-04-08 Thread Gert Franz
If you like, I would like to help. Performance is one of our main objectives. Just contact me off list if you like me to help... Greetings from Switzerland Gert Franz Railo Technologies Professional Open Source skype: gert.franz g...@getrailo.com +41 76 5680 231 www.getrailo.com

Re: annoying table issue...

2010-04-08 Thread ColdFusion Developer
Based on the code snippets you provided, it will add the 1 pixel TD. Do you have conditional logic around the last TD? Can you paste the complete code snippet so it can be reviewed? My initial thought is the conditional logic is not set up right. On Wed, Apr 7, 2010 at 5:13 PM, Eric Roberts

Re: CF9 - CFC doesnt throw any error messages?

2010-04-08 Thread Scott Brady
I've seen plenty of errors from CFCs (sadly :) ), so there must be something up. Two things: 1) I assume you've made sure there aren't any try/catch blocks around the calling code, right? 2) Maybe post some code? Scott On Thu, Apr 8, 2010 at 1:16 AM, Mike Kear afpwebwo...@gmail.com wrote:

Re: annoying table issue...

2010-04-08 Thread Shaun Webster
This might not be related at all but I know DreamWeaver likes to correct problems it sees with tag nesting etc. even if you disable the help in the settings. For example if you used something like the following to start a new row after every 3 records DreamWeaver might add opening/closing

Re: Joni Mitchell and Cold Fusion

2010-04-08 Thread Cutter (ColdFusion)
Amazon S3 for the storage, and Amazon CloudFront for CDN delivery. That's the ticket... Steve Cutter Blades Adobe Community Professional - ColdFusion Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS

Re: CFDocs

2010-04-08 Thread Paul Kukiel
There is also http://www.cfmldocs.com which also has an offline AIR app. Paul http://blog.kukiel.net On Apr 8, 2010, at 2:31 AM, Dave Sueltenfuss wrote: Does anyone know if the creator of cfdocs.org has plans to update the site to use the latest versions of CF Documentation It's still

Re: CFDocs

2010-04-08 Thread Eric Cobb
I like http://coldfusiondocs.com/app/, it has both ACF and Railo (although CF 9 stuff isn't there yet). I've found that cfquickdocs is not accurate when doing broader lookups. For example, if you search for array, you'll see it only brings back items that start with array. Things like

Re: ColdFusion Distributed Mode

2010-04-08 Thread Mahcsig
Is the new ColdFusion instance running as a user that has permission to read from the share? ~Mahcsig On Wed, Apr 7, 2010 at 12:55 PM, brad f b...@ciswired.com wrote: Have a question in regards to setting up distributed mode. We have ran in distributed mode for years with CF7 and windows

Re: ColdFusion Distributed Mode

2010-04-08 Thread Dave Watts
Now I know in the documentation it says this is the way you have to set it up.. but I guess my two questions are 1. Why did it work before with the code only being in one place? I don't know. Maybe it was able to resolve to a remote share where the files actually are? 2. Why is the CFM

RE: annoying table issue...

2010-04-08 Thread Eric Roberts
I found a solution...sort of...I made it static and used a blank row to set the size of the cells with pixel gifs. Now if I could just get the last cell to cooperate and stay static when I expand the browser (yes...they are set with values and not percents), I would be good :-D The basic set up

RE: annoying table issue...

2010-04-08 Thread Eric Roberts
I am using eclipse...I avoid Dreamweaver because of issues like that ;-) While it is definitely the cleanest of any of the code generating IDE's, it still isn't perfect. Thanks! -Original Message- From: Shaun Webster [mailto:sh...@webvalve.com] Sent: Thursday, April 08, 2010 7:19 AM

RE: annoying table issue...

2010-04-08 Thread Sebastiaan GMC van Dijk
Seems like someone need a quick HTML/CSS tutorial here (or maybe it's just legacy code you aren't allowed to touch, just touch up?) ;-) Strip the script tag of it's language attribute, remove all the spacer-gif's (so 1990 - replace with CSS border-top:1px solid #000 or inline style if

RE: annoying table issue...

2010-04-08 Thread Eric Roberts
That is how they want me to do it... -Original Message- From: Sebastiaan GMC van Dijk [mailto:seb...@hotmail.com] Sent: Thursday, April 08, 2010 10:31 AM To: cf-talk Subject: RE: annoying table issue... Seems like someone need a quick HTML/CSS tutorial here (or maybe it's just legacy

RE: annoying table issue...

2010-04-08 Thread Sebastiaan GMC van Dijk
OK ;-) Then you could at least make sure you put a nbsp; in the empty table cells, to make sure they are filled up i.e. actually get borders in all browsers. Empty cells with no content is usually rendered very differently across browsers.

Re: ColdFusion Distributed Mode

2010-04-08 Thread brad f
Have a question in regards to setting up distributed mode. We have ran in distributed mode for years with CF7 and windows 2000. We are in the process of upgrading to CF9 and Windows 2008. The problem I am having is the we used to be able to have all of our code on a fileserver and point

Re: ColdFusion Distributed Mode

2010-04-08 Thread brad f
Is the new ColdFusion instance running as a user that has permission to read from the share? ~Mahcsig I have actually found the necessary info. 1. You need to have Interact with Desktop checked under services LogOn info. 2. Reason for CFM code to be stored on App box is purely for speed.

Re: CFDocs

2010-04-08 Thread Barney Boisvert
Eric, you can use the function category dropdown if you want to filter that way instead of enter the text it starts with. cheers, barneyb On Thu, Apr 8, 2010 at 8:01 AM, Eric Cobb cft...@ecartech.com wrote: I like http://coldfusiondocs.com/app/, it has both ACF and Railo (although CF 9 stuff

Re: ColdFusion Distributed Mode

2010-04-08 Thread brad f
I have found the answers to my questions 1. Need to have Interact with Desktop checked under the service LogOn tab. 2. Code resides on app box strictly for speed. ~| Want to reach the ColdFusion community with something they

FileExists using variable - not working

2010-04-08 Thread Fred Grainger
Ok - I'm about to pull my hair out. I am using fileexists() function to determine whether a image file exists on the server. When I type in the path it works fine, but when I use a variable it always returns false. My code is like this: cfset variables.ImageSource =

Re: FileExists using variable - not working

2010-04-08 Thread Dorioo
To troubleshoot, one, the pounds are not needed so I'd take those out. Two, in cfelse, what is the value of: cfoutput#variables.ImageSource#cfoutput do something else In other words, what is the variable's value as soon as you hit cfelse. - Gabriel On Thu, Apr 8, 2010 at 1:03 PM, Fred

Re: FileExists using variable - not working

2010-04-08 Thread William Seiter
try cfif FileExists('#variables.ImageSource#') or cfif FileExists(variables.ImageSource) -- William E. Seiter On Apr 8, 2010, Fred Grainger i...@fredgrainger.com wrote: Ok - I'm about to pull my hair out. I am using fileexists() function to determine whether a image file exists on

Re: FileExists using variable - not working

2010-04-08 Thread Cutter (ColdFusion)
We use this all over, though you don't need the hash marks. Steve Cutter Blades Adobe Community Professional - ColdFusion Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book

Re: FileExists using variable - not working

2010-04-08 Thread Dave Watts
I am using fileexists() function to determine whether a image file exists on the server. When I type in the path it works fine, but when I use a variable it always returns false. My code is like this: cfset variables.ImageSource = C:\somedirectoy\somefile.txt cfif

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
Tried: cfif FileExists(#variables.ImageSource#) cfif FileExists('#variables.ImageSource#') cfif FileExists(#variables.ImageSource#) cfif FileExists(variables.ImageSource) None of which works. ~| Want to reach the ColdFusion

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
The value of the variable is: C:\somepath\filename.png Which is correct. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: FileExists using variable - not working

2010-04-08 Thread Ian Skinner
On 4/8/2010 10:26 AM, Fred Grainger wrote: Tried: cfif FileExists(#variables.ImageSource#) cfif FileExists('#variables.ImageSource#') cfif FileExists(#variables.ImageSource#) cfif FileExists(variables.ImageSource) None of which works. Just a shot in the dark, cfif

Re: FileExists using variable - not working

2010-04-08 Thread Dave Watts
The value of the variable is: C:\somepath\filename.png Which is correct. When I was testing this a few minutes ago, I noticed that when I made changes to the fileExists function, the file wasn't being recompiled - I had to make some other change (any other change) and save the file again.

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
How can you tell when a template is recompiled? I made some changes and tried again. Still no dice? I'm outputting the variable and it looks correct, unless there is a control character or something in the string that I cannot see. I am thinking this might be the issue. The file name was

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
It is the correct path and file name. C:\somepath\filename.png I am thinking that there may be a control character of something that I cannot see. I am reading the filename.png from SQL Server. ~| Want to reach the

Re: FileExists using variable - not working

2010-04-08 Thread Dave Watts
How can you tell when a template is recompiled? You can attempt to identify the compiled file in the WEB-INF/cfclasses subdirectory, and look at the timestamp. I made some changes and tried again.  Still no dice? I'm outputting the variable and it looks correct, unless there is a control

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
Tried: cfif FileExists(#variables.ImageSource#) cfif FileExists('#variables.ImageSource#') cfif FileExists(#variables.ImageSource#) cfif FileExists(variables.ImageSource) cfif FileExists(trim(variables.ImageSource)) None of which works. The fileExists function expects a string literal. Wrap

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
Took the hash marks out. Put quotes, trimmed the variable, checked the length of the file name to make sure there weren't any control characters or anything. My code is very straight forward. A day and a half later, still no dice. This is the first time I've used this function. We just

Re: FileExists using variable - not working

2010-04-08 Thread Dave Watts
Took the hash marks out.  Put quotes, trimmed the variable, checked the length of the file name to make sure there weren't any control characters or anything.  My code is very straight forward. A day and a half later, still no dice.  This is the first time I've used this function.  We

Re: Re: FileExists using variable - not working

2010-04-08 Thread William Seiter
try: cfset variables.blah = '[filelocation filename you know exists]' cfif fileExists(variables.blah) Success!! cfelse Failed!! /cfif cfdump var=#variables.blah# -- William E. Seiter On Apr 8, 2010, Fred Grainger i...@fredgrainger.com wrote: Took the hash marks out. Put quotes,

Re: ColdFusion Distributed Mode

2010-04-08 Thread brad f
Now I know in the documentation it says this is the way you have to set it up.. but I guess my two questions are 1. Why did it work before with the code only being in one place? I don't know. Maybe it was able to resolve to a remote share where the files actually are? 2. Why

storing a cfinput inside of a variable

2010-04-08 Thread Steve Logan
Is there anyway to use cfset or cfsavecontent to store a complete cfinput tag? i.e. cfset config.formFieldA = cfinput type=text name=fieldname value=// If I do a view source, I see it the code on my output page, but it won't render at all in the browser. If I try cfsavecontent it errors

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
Yep - If it type in a literal into the variable it is working. When I build the file path from the database fields it will not work. When I manually cut and paste the cfoutput of the variable I build with the database fileds into the fileexists function it finds it. It does not like

Re: FileExists using variable - not working

2010-04-08 Thread Wil Genovese
I was digging into Adobe's docs to see if something change. 1. Their examples are terrible. It's amazing anyone learns anything from those. 2. Nothing noted about changed behavior. So I took their example and fixed it so it would work. Try this. h3FileExists Example/h3 cfset thisPath =

Re: FileExists using variable - not working

2010-04-08 Thread Roger Austin
Fred Grainger i...@fredgrainger.com wrote: Yep - If it type in a literal into the variable it is working. When I build the file path from the database fields it will not work. When I manually cut and paste the cfoutput of the variable I build with the database fileds into the

Re: FileExists using variable - not working

2010-04-08 Thread Wil Genovese
You said that When I build the file path from the database fields it will not work. . Lets see that code. Something may not be what it seems to be. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Apr

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
Have you tried checking the length of the string? Sometimes, you get a CR/LF at the end with Excel. -- http://www.linkedin.com/pub/roger-austin/8/a4/60 http://twitter.com/RogerTheGeek http://www.misshunt.com/ Home of the Clean/Dirty Magnet http://www.ncdevcon.com/ TACFUG 2010

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
You said that When I build the file path from the database fields it will not work. . Lets see that code. Something may not be what it seems to be. cfset variables.ImageSource = 'C:\Inetpub\wwwroot\Interspire\images_originals\cfoutput#trim(catalog.sku)#/cfoutput.png' The value is:

Re: CF9 - CFC doesnt throw any error messages?

2010-04-08 Thread Sean Corfield
On Thu, Apr 8, 2010 at 12:16 AM, Mike Kear afpwebwo...@gmail.com wrote: In every previous version, when there was a syntax or other error in my code in a CFC,  I'd get an error message that would point me to the line containing the problem.  Now, with CF9 Enterprise,  I get a result from my

Re: FileExists using variable - not working

2010-04-08 Thread Wil Genovese
Well thats the problem alright. Your putting CFOUTPUT in the cfset tag. It's getting used as a literal. This is the better way to do this cfset variables.ImageSource = 'C:\Inetpub\wwwroot\Interspire\images_originals\#trim(catalog.sku)#.png' Alternately you could do this: cfset

Re: FileExists using variable - not working

2010-04-08 Thread Ian Skinner
On 4/8/2010 11:58 AM, Fred Grainger wrote: You said that When I build the file path from the database fields it will not work. . Lets see that code. Something may not be what it seems to be. cfset variables.ImageSource =

Looking for Suggestion: e-Commerce/CMS Integration

2010-04-08 Thread Matthew Lesko
I have ColdFusion CMS. I'm looking for an e-Commerce package suggestions where I can present its data - products pricing, customer information, shopping cart, orders - in the CMS. The e-Commerce solution would preferably also offer fulfillment tracking. I've worked with AbleCommerce in the

Re: Looking for Suggestion: e-Commerce/CMS Integration

2010-04-08 Thread Patrick Santora
Depending your time frame you may want to look at http://www.quilldesign.com/. They provide an e-commerce solution. Their latest version does not supply an API, but their upcoming release (version 5 around May or so) will have an API. Here at Mura we are hoping to build a good relationship with

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
Thank you so much. What a newbie error. I had tried it without the cfoutput and was at the point of frustration I was coding recklessly. That fixed it! Well thats the problem alright. Your putting CFOUTPUT in the cfset tag. It's getting used as a literal. This is the better way to do

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
On 4/8/2010 11:58 AM, Fred Grainger wrote: cfset variables.ImageSource = 'C:\Inetpub\wwwroot\Interspire\images_originals\#trim(catalog.sku)#.png' The value is: C:\Inetpub\wwwroot\Interspire\images_originals\707-2298005-001.png I bet if you view source you will see that the value is

RE: storing a cfinput inside of a variable

2010-04-08 Thread Andy Matthews
The only option would be to evaluate the variable, and even that might not work: cfoutput #Evaluate(config.formFieldA)# /cfoutput -Original Message- From: Steve Logan [mailto:st...@sagescholars.com] Sent: Thursday, April 08, 2010 1:37 PM To: cf-talk Subject: storing a cfinput inside of

Re: storing a cfinput inside of a variable

2010-04-08 Thread Ian Skinner
I think you want to be coding the actual input tag that is sent to the browser. If you are not using any of the advanced features of the cfinput... tag, all it does is generate an input... html tag. Skip the middle man and generate your own html tag.

Re: storing a cfinput inside of a variable

2010-04-08 Thread Ian Skinner
On 4/8/2010 11:37 AM, Steve Logan wrote: Is there anyway to use cfset or cfsavecontent to store a complete cfinput tag? i.e. cfset config.formFieldA = cfinput type=text name=fieldname value=// If I do a view source, I see it the code on my output page, but it won't render at all in the

Re: RE: storing a cfinput inside of a variable

2010-04-08 Thread William Seiter
Hey Steve, Can you tell us what the bigger picture is, what is it that you are trying to accomplish by saving the cfinput in a variable? cfinput is rendered by coldfusion for the browser in respect to the cfform tags that are around it. Are you trying to create a reuseable form field where

Re: storing a cfinput inside of a variable

2010-04-08 Thread Dan G. Switzer, II
Steve, Is there anyway to use cfset or cfsavecontent to store a complete cfinput tag? i.e. cfset config.formFieldA = cfinput type=text name=fieldname value=// If I do a view source, I see it the code on my output page, but it won't render at all in the browser. If I try cfsavecontent

RE: annoying table issue...

2010-04-08 Thread Eric Roberts
I tried both nbsp; and the gif and got the same results. Eric -Original Message- From: Sebastiaan GMC van Dijk [mailto:seb...@hotmail.com] Sent: Thursday, April 08, 2010 10:57 AM To: cf-talk Subject: RE: annoying table issue... OK ;-) Then you could at least make sure you put a

Re: [JOB] Junior CF Developer, New York City

2010-04-08 Thread Phillip Vector
Perhaps you shouldn't look on a ColdFusion list for people to move a site AWAY from ColdFusion to a language that is less efficient and will end up costing your client more in the long run. On Thu, Apr 8, 2010 at 10:12 AM, Beau Gould (OSS) b...@open-source-staffing.com wrote: My New York City

RE: [JOB] Junior CF Developer, New York City

2010-04-08 Thread Beau Gould (OSS)
They are planning to migrate some of their sites to PHP Some is the key word. -Original Message- From: phillipvec...@gmail.com [mailto:phillipvec...@gmail.com] On Behalf Of Phillip Vector Sent: Thursday, April 08, 2010 1:15 PM To: cf-jobs-talk@houseoffusion.com Cc:

Re: [JOB] Junior CF Developer, New York City

2010-04-08 Thread Ray Champagne
Personally, I think it's on-topic. I use both PHP and CF in my work life. I still prefer CF, but I'm not going to turn down a job because I have drank the CF kool-aid. Only having one tool in your toolbox and shutting out anyone who suggests that you use another tool is kinda ignorant. Sorry

RE: [JOB] Junior CF Developer, New York City

2010-04-08 Thread David Wilf
I do not think Phillip was criticizing the use of other technologies. He was confused as to why a decision was made to remove CF code and replace it with PHP code. There are times that a political factor will override solid technical solutions which may be the case here. Thanks David Wilf PMP

Re: [JOB] Junior CF Developer, New York City

2010-04-08 Thread Teddy R. Payne
Gentlemen, An employer is offering a position to CF developers. Regardless of the eventual tool set or the range of tools that you can offer, it is a position that is available for an aspiring developer. Let us be satisfied with the continued job offerings for those trying to get more