Re: Problem compiling mxml with Flex-SDK-3 and CF

2008-04-28 Thread Jo�o_Fernandes
Flex 3 Support is added with LCDS 2.6 that you can get on labs. There is a specific additional file to download for CF. I guess you can grab that file ( webtier for cf ) without LCDS 2.6 and upgrade your server anyway. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org

Re: 8.0.1 FCKEditor file upload issue

2008-04-28 Thread Kay Smoljak
My FCKEditor problem is still unresolved, and I'm out of things to try. Here's a summary of the fun so far: - when I enable file uploads in /cfide/scripts/ajax/fckeditor/fckconfig.js it works fine - if I copy that folder underneath my web root and use the basepath attribute of CFTEXTAREA to point

RE: 8.0.1 FCKEditor file upload issue

2008-04-28 Thread Bhakti Pingale
HI Kay, We are trying to figure out this. I am also getting a pop-up when I click on the Browse option. Are you getting a 200 OK message or 404 not found. Also did you try not using the base-path? i.e. Without the basepath is everything ok for you? Sorry for the late response. Thanks, Bhakti

Re: 8.0.1 FCKEditor file upload issue

2008-04-28 Thread Kay Smoljak
Hi Bhakti - thanks for your response :) On Mon, Apr 28, 2008 at 7:34 PM, Bhakti Pingale [EMAIL PROTECTED] wrote: We are trying to figure out this. I am also getting a pop-up when I click on the Browse option. Are you getting a 200 OK message or 404 not found. I'm getting 404 not found.

Binding a checkbox to the selected CFGRID item

2008-04-28 Thread Philip Millard
I am trying to bind a cfinput checkbox to CFGRID column with no luck. cfgridcolumn name=IS_RESTRICTED display=false The value column in the grid contains 1 or 0. I have tried the cfinput checkbox by hardcoding 1 and 0 through the attribute checked and this works. I have tried binding the

Re: 8.0.1 FCKEditor file upload issue

2008-04-28 Thread Kay Smoljak
On Mon, Apr 28, 2008 at 7:43 PM, Kay Smoljak [EMAIL PROTECTED] wrote: I'm just trying specifying the entire script directory on the cfform tag... will post results once it's finished uploading. Specifying the scriptsrc in the cfform tag doesn't solve the problem, although everything else

RE: Transfer 1.0 Release Candidate - OUT NOW!

2008-04-28 Thread Jason Durham
Transfer sounds awesome. I'm looking forward to your presentations at cf.objective(). -Original Message- From: Mark Mandel [mailto:[EMAIL PROTECTED] Sent: Sunday, April 27, 2008 11:20 PM To: CF-Talk Subject: ANN: Transfer 1.0 Release Candidate - OUT NOW! Everyone! I just released

Re: Problem compiling mxml with Flex-SDK-3 and CF

2008-04-28 Thread Seth Duffey
@João - Thanks! I downloaded the 'Flex 3 Compiler Module for ColdFusion 8' 2.6Beta from here http://labs.adobe.com/downloads/livecycle_dataservices2_6.html and installing this allowed me to build a SWF. @Cameron - Yes using the variable 'application' was a bad idea, I was so focussed on

Re: cfmail won't send

2008-04-28 Thread daniel kessler
alright, I found the problem element. If I include SERVER = mail.umd.edu, then it doesn't work. Remove it and I receive my emails. I guess it's assumed or something else is assumed and this incorrectly overrides it. So this works: cfmail TO = #the_email# FROM = Dean's

Jrockit for eclipse

2008-04-28 Thread Richard Cooper
Hi all, I'm trying to configure JRockit's Eclipse plugin. I would like it to connect to my JVM for Coldfusion 8 on my remote development server. I've updated C:\ColdFusion8\runtime\servers\coldfusion\SERVER-INF\jrun.xml and can now browse to the the control panel and login in

RE: cfmail won't send

2008-04-28 Thread Brad Wood
If you do not specify an SMTP server, ColdFusion will use he default one entered in ColdFusion Administrator. Do you have access to the Administrator? ~Brad -Original Message- From: daniel kessler [mailto:[EMAIL PROTECTED] Sent: Monday, April 28, 2008 9:58 AM To: CF-Talk Subject: Re:

Re: Jrockit for eclipse

2008-04-28 Thread Tom Chiverton
On Monday 28 Apr 2008, Richard Cooper wrote: I'm trying to configure JRockit's Eclipse plugin. I would like it to connect to my JVM for Coldfusion 8 on my remote development server. Is that a 'real' JRun with CF deployed into it, or just the one that comes bundeled with CF ? If the latter,

cfinput autosuggest froma database query

2008-04-28 Thread Kamru Miah
Hi everyone, I am trying to use a cfinput autosuggest from a database query via a CFC. The code example is given below. The CFC returns a list, but it doesn't get populated to a drop-down list (but it does if I hard-coded a list!). Any idea why? Kamru -- index.cfm: cfform cfINPUT TYPE=text

Just 3 weeks until CFManiacs and FlexManiacs 2008

2008-04-28 Thread Dave Watts
In case anyone's interested, we're holding a conference very soon. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!

Re: cfinput autosuggest froma database query

2008-04-28 Thread Dominic Watson
Have you tried returning an array? i.e. cfreturn ListToArray(ValueList(getSurnames.surname)) I think both should work but give that a try if you haven't already. Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~|

Re: Jrockit for eclipse

2008-04-28 Thread Richard Cooper
Hi Tom, To be honest I don't know :( I was reading an article on memory leak and notice the nifty looking JRockit tool http://www.schierberl.com/cfblog/index.cfm/2006/10/16/memoryLeak_variablesScope So, I've made some assumitions and guessed that it would work in the native environment. Do

Re: Binding a checkbox to the selected CFGRID item

2008-04-28 Thread Philip Millard
I managed to kludge it after searching google with various permutations: cfajaxproxy bind=javascript:noteChange({documentGrid.is_restricted}) script type=text/javascript function noteChange(restricted) { var restrictBoolean; if (restricted == 1) { restrictBoolean

Re: Binding a checkbox to the selected CFGRID item

2008-04-28 Thread Philip Millard
I managed to kludge it after searching google with various permutations: cfajaxproxy bind=javascript:noteChange({documentGrid.is_restricted}) script type=text/javascript function noteChange(restricted) { var restrictBoolean; if (restricted == 1) { restrictBoolean

Re: Binding a checkbox to the selected CFGRID item

2008-04-28 Thread Philip Millard
I managed to kludge it after searching google with various permutations: Bind to the individual grid column: cfajaxproxy bind=javascript:noteChange({documentGrid.is_restricted}) React to the bind change: script type=text/javascript function noteChange(restricted) { var restrictBoolean;

Re: Binding a checkbox to the selected CFGRID item

2008-04-28 Thread Philip Millard
I managed to kludge it after searching google with various permutations: Bind to the individual grid column: cfajaxproxy bind=javascript:noteChange({documentGrid.is_restricted}) React to the bind change: script type=text/javascript function noteChange(restricted) { var restrictBoolean;

Re: Binding a checkbox to the selected CFGRID item

2008-04-28 Thread Philip Millard
I managed to kludge it after searching google with various permutations: Bind to the individual grid column: cfajaxproxy bind=javascript:noteChange({documentGrid.is_restricted}) React to the bind change in JS: function noteChange(restricted) { var restrictBoolean; if (restricted

Re: cfinput autosuggest froma database query

2008-04-28 Thread Kamru Miah
Yes, I have tried an array to start with but changed it to string afterwards - no difference. However, I realised !DOCTYPE was in my Applications.cfm, so excluding that from not to affacting staffData.cfc seems to have resolved the problem. Thanks for your suggestion.

Re: Binding a checkbox to the selected CFGRID item

2008-04-28 Thread Philip Millard
The reason I have replied 3 times is that the post form appeared to fail. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Javascript function not defined

2008-04-28 Thread Phillip Vector
When I load the page, no javascript errors.. When I type something in the box, I get a employ is not defined.. Yes it is... it's right freakin there. :) I realize I must be missing something obvious... Any ideas? script type=text/javascript function employ() {

RE: Javascript function not defined

2008-04-28 Thread Dave Watts
When I load the page, no javascript errors.. When I type something in the box, I get a employ is not defined.. Yes it is... it's right freakin there. :) I realize I must be missing something obvious... Any ideas? script type=text/javascript function employ() {

RE: Javascript function not defined

2008-04-28 Thread Adrian Lynch
It's not the function that's not found, it's GetXmlHttpObject. Adrian -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] Sent: 28 April 2008 18:19 To: CF-Talk Subject: Javascript function not defined When I load the page, no javascript errors.. When I type something in

Re: Javascript function not defined

2008-04-28 Thread Azadi Saryev
Phillip Vector wrote: I realize I must be missing something obvious... like a ; after xmlHttp=GetXmlHttpObject() ? just a guess... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ ~| Adobe® ColdFusion® 8 software 8 is

Re: Javascript function not defined

2008-04-28 Thread JJ Cool
You have a missing semicolon behind xmlHttp=GetXmlHttpObject(). Besides that, I don't see GetXmlHttpObject or stateChanged defined. If those issues are fixed, does it work? CoolJJ - Original Message From: Phillip Vector [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent:

Re: Javascript function not defined

2008-04-28 Thread Phillip Vector
Here is the full code (with some fixes). I still get the same error... script type=text/javascript // Set variable for AJAX var xmlHttp; // Load in the AJAX object based on what browser you have function GetXmlHttpObject() { var xmlHttp=null; try { //

RE: Javascript function not defined

2008-04-28 Thread Dave Watts
// Load in the AJAX object based on what browser you have function GetXmlHttpObject() In the code snippet you posted, this was all on one single line. Is it that way in your actual code? If so, there won't be any function called GetXmlHttpObject, and the code block that corresponds to the

Re: Javascript function not defined

2008-04-28 Thread Phillip Vector
No. Please see the full code posting.. There's more below it. On Mon, Apr 28, 2008 at 10:44 AM, Dave Watts [EMAIL PROTECTED] wrote: // Load in the AJAX object based on what browser you have function GetXmlHttpObject() ~|

Re: cfmail won't send

2008-04-28 Thread daniel kessler
If you do not specify an SMTP server, ColdFusion will use he default one entered in ColdFusion Administrator. Do you have access to the Administrator? I do not. It would be so useful though. ~| Adobe® ColdFusion® 8 software 8

Re: Javascript function not defined

2008-04-28 Thread JJ Cool
I assumed stateChanged was a variable. If it is a function call, need the parenthesis. xmlHttp.onreadystatechange=stateChanged(); Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try

RE: Javascript function not defined

2008-04-28 Thread Dave Watts
No. Please see the full code posting.. There's more below it. I know there's more below it. However, in what you posted, the keyword function is on the same line as your comment. If this is what you have in your actual code, that won't work. I just copied and pasted the two relevant lines.

Re: Javascript function not defined

2008-04-28 Thread Phillip Vector
Ah... As I emailed, it isn't on the same line. Sorry for the confusion. :) On Mon, Apr 28, 2008 at 10:55 AM, Dave Watts [EMAIL PROTECTED] wrote: No. Please see the full code posting.. There's more below it. I know there's more below it. However, in what you posted, the keyword

Currency Exchange Web Service

2008-04-28 Thread Mary Jo Sminkey
I just noticed today that the free XMethods currency exchange web service seems to have been removed, at least I'm not able to find it, and doesn't seem to be listed anymore. Anyone know another free or cheap web service that can do the same thing...send in a pair of country/currency codes and

Re: Javascript function not defined

2008-04-28 Thread JJ Cool
The code you pasted works fine for me as long as the span is there. script type=text/javascript // Set variable for AJAX var xmlHttp; // Load in the AJAX object based on what browser you have function GetXmlHttpObject() { var xmlHttp=null; try { // Firefox, Opera 8.0+, Safari

Re: Javascript function not defined

2008-04-28 Thread Phillip Vector
Yeah... I think I'm going to have to work on something else before I go mad. I may have to kludge something together. :) Thanks anyway guys. On Mon, Apr 28, 2008 at 11:13 AM, JJ Cool [EMAIL PROTECTED] wrote: The code you pasted works fine for me as long as the span is there. script

=?iso-8859-1?Q?cgi.http_user_agent_(OS=E2=80=99s_and_web_browsers)??=

2008-04-28 Thread James Blaha
All, Does anyone know where I can get a updated list of web browser and OS’s that might be associated with data being returned from cgi.http_user_agent? I’m trying to break down visitor stats for users OS’s and web browsers being used to access a CF application. -Jim

Re: cgi.http user agent (OS’s and web browsers)

2008-04-28 Thread Richard Dillman
http://www.user-agents.org/ On 4/28/08, James Blaha [EMAIL PROTECTED] wrote: All, Does anyone know where I can get a updated list of web browser and OS's that might be associated with data being returned from cgi.http_user_agent? I'm trying to break down visitor stats for users OS's and

Re: Currency Exchange Web Service

2008-04-28 Thread Jon Clausen
Mary Jo, Assuming you only need a daily update you can use the NY Feds WSDL: http://www.newyorkfed.org/markets/fxrates/WebService/v1_0/FXWS.wsdl Example: cfinvoike webservice=http://www.newyorkfed.org/markets/fxrates/WebService/v1_0/FXWS.wsdl method=getAllLatestNoonRates

Re: Currency Exchange Web Service

2008-04-28 Thread Jon Clausen
Oops! Sorry about the cfinvoke typo. On Apr 28, 2008, at 3:29 PM, Jon Clausen wrote: Mary Jo, Assuming you only need a daily update you can use the NY Feds WSDL: http://www.newyorkfed.org/markets/fxrates/WebService/v1_0/FXWS.wsdl Example: cfinvoike

Compare digits as strings not integers.

2008-04-28 Thread Ian Skinner
CFSET oldcompany = '033' CFSET newcompany = '0033' How would one compare these as strings and get a NOT equal result rather then integers resulting in an equal result? ~| Adobe® ColdFusion® 8 software 8 is the most important

Re: cgi.http user agent (OS’s and web browsers)

2008-04-28 Thread James Blaha
Great, thanks 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:

RE: Compare digits as strings not integers.

2008-04-28 Thread Dave Watts
CFSET oldcompany = '033' CFSET newcompany = '0033' How would one compare these as strings and get a NOT equal result rather then integers resulting in an equal result? You could tack a non-numeric value to the end of each, and compare the resultant strings. There may be a better, and/or

Re: Compare digits as strings not integers.

2008-04-28 Thread Claude Schneegans
Use the Compare() function, ie: CFSET oldcompany = '033' CFSET newcompany = '0033' CFOUTPUT#(oldcompany EQ newcompany)#BR #(Compare(oldcompany, newcompany) EQ 0)# /CFOUTPUT -- ___ REUSE CODE! Use custom tags; See

Re: Compare digits as strings not integers.

2008-04-28 Thread Ian Skinner
Dave Watts wrote: CFSET oldcompany = '033' CFSET newcompany = '0033' How would one compare these as strings and get a NOT equal result rather then integers resulting in an equal result? You could tack a non-numeric value to the end of each, and compare the resultant strings. There

APPLICATION scope unknown in Application.cfc

2008-04-28 Thread marc --
Hi, I have this in my Application.cfc: cffunction name=onApplicationStart access=public hint=Initialize application parameters cfset basepath = #Left(ExpandPath('.'),FindNoCase(wwwroot,#ExpandPath('.')#)-1)# cfset APPLICATION.mappings={} cfset

Re: ColdFusion 8 hosting

2008-04-28 Thread Don L
Has anyone used hostingatoz's coldfusion hosting service and your experience? Thanks. Here's an update. I'm wondering if anyone has any experience with these two cf8 hosting companies, yohost.com and www.bmchosting.com. TIA.

Re: ColdFusion 8 hosting

2008-04-28 Thread Phillip Vector
I've been with them for about 9 months now. Excellent customer service and always willing to work with you. Seriously, I have no complaints save for when they upgraded to CF8, my sites were down for a few days... But it was cleared up somewhat fast. I'd say go there and tell william I referred

Re: APPLICATION scope unknown in Application.cfc

2008-04-28 Thread Brian Kotek
The error says that the component components.security can't be located. It doesn't say anything about the application scope. On Mon, Apr 28, 2008 at 5:26 PM, marc -- [EMAIL PROTECTED] wrote: Hi, I have this in my Application.cfc: cffunction name=onApplicationStart access=public

Populating form text fields with javascript

2008-04-28 Thread Phillip Vector
I finally got the AJAX working (Scriptacilious was messing up something with it) and now, I have another issue.. I get the popup list of employers. I'd like to be able to click on the name of one and populate the name, address and city fields of the form WITHOUT submitting it. I thought about

RE: Compare digits as strings not integers.

2008-04-28 Thread Bobby Hartsfield
Just stick an alpha character in front of them when comparing or compare len AND value. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Monday, April 28, 2008 4:08 PM To: CF-Talk

Re: APPLICATION scope unknown in Application.cfc

2008-04-28 Thread marc --
Hi Brian, You're right, I put the question wrong. Sorry about that. The issue is this: if I define 2 mappings like this cfset THIS.mappings={} cfset THIS.mappings[/components]=D:\www\components cfset THIS.mappings[/includes]=D:\www\includes outside onApplicationstart() but inside the

Re: ColdFusion 8 hosting

2008-04-28 Thread Don L
I've been with them for about 9 months now. Excellent customer service and always willing to work with you. Seriously, I have no complaints save for when they upgraded to CF8, my sites were down for a few days... But it was cleared up somewhat fast. I'd say go there and tell william I

Re: Currency Exchange Web Service

2008-04-28 Thread Mary Jo Sminkey
Assuming you only need a daily update you can use the NY Feds WSDL: http://www.newyorkfed.org/markets/fxrates/WebService/v1_0/FXWS.wsdl Hhm, might work although I am not necessarily converting from USD but have to handle conversions from any currency to any other. I guess I can get there in

Re: ColdFusion 8 hosting

2008-04-28 Thread Phillip Vector
Sorry... hostingatoz... I didn't realize you quoted it. :) On Mon, Apr 28, 2008 at 3:07 PM, Don L [EMAIL PROTECTED] wrote: I've been with them for about 9 months now. Excellent customer service and always willing to work with you. Seriously, I have no complaints save for when they

Re: APPLICATION scope unknown in Application.cfc

2008-04-28 Thread Brian Kotek
Yes, they have to be defined in the THIS scope of Application.cfc. On Mon, Apr 28, 2008 at 6:05 PM, marc -- [EMAIL PROTECTED] wrote: Hi Brian, You're right, I put the question wrong. Sorry about that. The issue is this: if I define 2 mappings like this cfset THIS.mappings={} cfset

Re: APPLICATION scope unknown in Application.cfc

2008-04-28 Thread Adam Haskell
ColdFusion is annoyingly particular about this try putting a / at the end of your mapping declaration. cfset THIS.mappings={} cfset THIS.mappings[/components/]=D:\www\components cfset THIS.mappings[/includes/]=D:\www\includes Adam Haskell On Mon, Apr 28, 2008 at 6:05 PM, marc -- [EMAIL

Re: APPLICATION scope unknown in Application.cfc

2008-04-28 Thread Adam Haskell
Oh I forgot... this.mappings is only going to work in the psuedo constructor. Adam On Mon, Apr 28, 2008 at 6:05 PM, marc -- [EMAIL PROTECTED] wrote: Hi Brian, You're right, I put the question wrong. Sorry about that. The issue is this: if I define 2 mappings like this cfset

RE: Populating form text fields with javascript

2008-04-28 Thread Dave Watts
I finally got the AJAX working (Scriptacilious was messing up something with it) and now, I have another issue.. I get the popup list of employers. I'd like to be able to click on the name of one and populate the name, address and city fields of the form WITHOUT submitting it. I

Java NullPointerException thrown in CFFTP tag

2008-04-28 Thread WebMastesr Smarte
We recently upgraded to CF 8.0.1, but we are now getting a strange error when calling the CFFTP tag: cfftp action=putfile username = #arguments.argUserName# password = #arguments.argPassword# server = #arguments.argServer# name = uploadFile

Re: ColdFusion 8 hosting

2008-04-28 Thread Don L
yohost.com and www.bmchosting.com Sorry... hostingatoz... I didn't realize you quoted it. :) On Mon, Apr 28, 2008 at 3:07 PM, D I didn't quote it (had assumed the thread title of cf8 hosting, didn't know that the forum software would take part of the first sentence of the immediate follow-up

RE: ColdFusion 8 hosting

2008-04-28 Thread ColdFusion
I have been using yohost.com for a few years. Brett and Laith have been great and very responsive. I started out of CF6 and now on CF8 and has been nothing but great service/support. -Original Message- From: Don L [mailto:[EMAIL PROTECTED] Sent: Monday, April 28, 2008 5:36 PM To:

Application variable undefined in CFC

2008-04-28 Thread Colman, Richard
I keep getting these on an intermittent basis, and don't know how to go about diagnosing the problem. I know the variable exists. Any suggestions welcome. Element DATASOURCE is undefined in APPLICATION. The error occurred in C:\Inetpub\wwwroot\dev\changeLog\changeLog.cfc:

Query Help Please

2008-04-28 Thread Brian Sheridan
I will try to make this as simple as possible. Any help would be greatly appreciated. I have 2 tables like below. tblCustomers === ID | Name | Email | 1, John, [EMAIL PROTECTED] 2, Bob, [EMAIL PROTECTED] 3, Steve, [EMAIL PROTECTED]

Re: Query Help Please

2008-04-28 Thread Barney Boisvert
select *, exists ( select * from orders where date between #date1# and #date2# ) as hasOrdered from customers order by name, id Use CFQUERYPARAM, of course. cheers, barneyb On Mon, Apr 28, 2008 at 8:57 PM, Brian Sheridan [EMAIL PROTECTED] wrote: I will try to make this as simple as possible.

Re: Application variable undefined in CFC

2008-04-28 Thread Brian Kotek
Without more information it's impossible to say. Clearly, whether or not you believe the variable is defined, it isn't, or CF wouldn't be throwing an error. It's also worth pointing out that referencing the application scope from within a component is generally not a good idea anyway, since it

Re: Application variable undefined in CFC

2008-04-28 Thread Josh Nathanson
I keep getting these on an intermittent basis, and don't know how to go about diagnosing the problem. I know the variable exists. Any suggestions welcome. Element DATASOURCE is undefined in APPLICATION. You could be getting that if the application has timed out. -- Josh

Re: Application variable undefined in CFC

2008-04-28 Thread George Lu
I've got exactly same situation as you. If I change application scope to request scope then the problem gone. Somehow only request scope is carried over in cfc. 2008/4/29 Colman, Richard [EMAIL PROTECTED]: I keep getting these on an intermittent basis, and don't know how to go about diagnosing

RE: Application variable undefined in CFC

2008-04-28 Thread Andrew Scott
Hmm... What sort of comment is this? It's also worth pointing out that referencing the application scope from within a component is generally not a good idea anyway, since it violates the encapsulation of the component. I would be looking at how the CFC is created and where, is it outside of

RE: APPLICATION scope unknown in Application.cfc

2008-04-28 Thread Andrew Scott
pseudo constructor? I think, you mean defined as local variables to that component. The problem is that Coldfusion 8, has to reset that instantiation for mappings and custom tags each and every time the application.cfc is instantiated. By placing these in the onApplicationScope, means that they