Check / Validate Emailadress

2007-09-04 Thread nicolai bass dh
Hello, i want to know how i could validate an emailadress after posting. Is there an existing function in CF? Thank your for your help with best regards Nic ~| Get involved in the latest ColdFusion discussions, product

Re: Check / Validate Emailadress

2007-09-04 Thread JediHomer
If you are using CF7+ you can use isValid(email, sMyEmailAddress) On 04/09/07, nicolai bass dh [EMAIL PROTECTED] wrote: Hello, i want to know how i could validate an emailadress after posting. Is there an existing function in CF? Thank your for your help with best regards Nic

Re: Check / Validate Emailadress

2007-09-04 Thread Tom Chiverton
On Tuesday 04 Sep 2007, [EMAIL PROTECTED] wrote: If you are using CF7+ you can use isValid(email, sMyEmailAddress) Be aware this only performs a syntax check. It in no way makes sure that the address is 'live'. -- Tom Chiverton Helping to greatly syndicate best-of-breed design-patterns on:

Text Field Auto-Fill

2007-09-04 Thread Peter Tanswell
Hi there I have a site which I put together in a few hours. I have one piece of code which works on another site but for some reason isnt working on this site and I cant see why? form onsubmit=return check_email(emad.value); action=act_signup.cfm method=post table

Re: Text Field Auto-Fill

2007-09-04 Thread David Low
Peter, Just out of interest, do you have any javascript at the head of the page, or included in some way? Looks like there are functions being called but the code doesn't show where they are running from... Peter Tanswell wrote: Hi there I have a site which I put together in a few hours.

RE: Text Field Auto-Fill

2007-09-04 Thread Bill Betournay
We would need to see the associated JavaScript to help out with that one peter. Bill -Original Message- From: Peter Tanswell [mailto:[EMAIL PROTECTED] Sent: September 4, 2007 7:34 AM To: CF-Talk Subject: Text Field Auto-Fill Hi there I have a site which I put together in a few hours.

Re: cfwindow refreshes main page

2007-09-04 Thread Larry Schaberg
I have fixed my error, I was not passing in the variable correctly. Now I am not getting any errors, but my primary page still refreshes instead of the cfwindow when I click on any other row in the cfgrid ~| ColdFusion is

Re: cfwindow refreshes main page

2007-09-04 Thread Larry Schaberg
Ok, I found the issue. I guess you are not able to use flash forms when using cfwindow. When remove my flash form that is in it, and change it to HMTL or just a regular form with no format=, it functions properly without any issues.

Re: cfwindow refreshes main page

2007-09-04 Thread Andrew Scott
You are right the flash form can't be used within the same html form. On 9/4/07, Larry Schaberg [EMAIL PROTECTED] wrote: Ok, I found the issue. I guess you are not able to use flash forms when using cfwindow. When remove my flash form that is in it, and change it to HMTL or just a regular

Java Script Value to CF Value

2007-09-04 Thread Robert Harrison
I have a value I'm retrieving from Java Script. I need to set it to a CF value. What is the correct syntax. Below does not work, but it makes the point on what I'm trying to do. How do I do this correctly? cfset wide=script language='javascript'document.write(document.images[0].height)/script

Re: Java Script Value to CF Value

2007-09-04 Thread David Low
That script won't work, as the CF code will already be executed before the client-side Javascript does anything. CF might be able to write to Javascript but can't read it. Robert Harrison wrote: I have a value I'm retrieving from Java Script. I need to set it to a CF value. What is the

Re: Java Script Value to CF Value

2007-09-04 Thread Ryan Stille
You'll need two pages or steps to get this value - one for the form itself, then when you submit that form you can have the value. form action=mypage.cfm input type=hidden name=wide /form script language=JavaScript document.forms[0].wide.value = document.images[0].height;

Re: Java Script Value to CF Value

2007-09-04 Thread Dan Vega
Robert, Look at the docs for toScript(), this function will help you out. Dan On 9/4/07, Robert Harrison [EMAIL PROTECTED] wrote: I have a value I'm retrieving from Java Script. I need to set it to a CF value. What is the correct syntax. Below does not work, but it makes the point on what

RE: Java Script Value to CF Value

2007-09-04 Thread Robert Harrison
I see the error of my ways. I'm missing client sided variables with server sided variables... oh well, back to the drawing board. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022

Re: Java Script Value to CF Value

2007-09-04 Thread Rey Bango
Robert, I couldn't really get a feel for what you're doing but take a look at two options: 1) Doing an XHR called (Ajax) to a CF template to set it and do any work necessary. 2) Look into WDDX to help you exchange JS native data elements between CF.

Re: Java Script Value to CF Value

2007-09-04 Thread David Low
But that is for passing CF values into Javascript, isn't it? Robert is trying to get a client-side JS value (which is defined once an image has loaded) into the server-side CF code. Can't be done in that way. Robert, what is it you're trying to do in general, aside from the snippet of code

Re: Java Script Value to CF Value

2007-09-04 Thread David Low
But that is for passing CF values into Javascript, isn't it? Robert is trying to get a client-side JS value (which is defined once an image has loaded) into the server-side CF code. Can't be done in that way. Robert, what is it you're trying to do in general, aside from the snippet of code

RE: Java Script Value to CF Value

2007-09-04 Thread Robert Harrison
ALTERNATE METHOD: I can read the file using CFFILE. If it is an image file is there some way I can get the width and height? Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022

Re: CF8 AJAX

2007-09-04 Thread Asim Manzur
I have a cfc which have two function, function one returns a query (more than one rows) which I am using to populate the cfselect. Then I have some form fields, once the cfselect dropdown have a selected value, I need to call the other function and pass the value of the cfselected ( which will

RE: Java Script Value to CF Value

2007-09-04 Thread Peterson, Chris
Man, just do an ajax call with your client side variable as a url parameter (or post if you want to get fancy) and have CF process that and save it as a var... I think you are trying to over-complicate it ;) Chris Peterson Gainey IT Adobe Certified Advanced Coldfusion Developer -Original

Unable to Generate Proxy WSDL File

2007-09-04 Thread Shane Trahan
I am trying to add a web Services component to Macromedia Dreamweaver 8 and when adding the location of the WSDL file I receive the following error. Unable to Generate Proxy. Emitter Failure. Invalid Endpoint address in port ServicePort in service ServiceLocator:

Re: Java Script Value to CF Value

2007-09-04 Thread David Low
Yep, that's possible - if you're using CF8 there are tags/functions to do this, if not you could use Rick Root's excellent ImageCFC or Alagad Image Component. For info, Railo has a very handy attribute which lets you get image dimensions directly from a cffile action=info file=... tag.

CF Hosting in China

2007-09-04 Thread Rey Bango
Has anyone had experience with ColdFusion hosting providers in China? Any recommendations? Rey... ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki.

Re: CFECLIPSE 'Error opening the editor' JavaFileEditorInput error

2007-09-04 Thread Virgil Ius
seemed i dl the old version on cfeclipse.org. had to find a new version through eclipse itself. problem solved. thanks ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now

Re: CFECLIPSE 'Error opening the editor' JavaFileEditorInput error

2007-09-04 Thread Virgil Ius
seemed i dl the old version on cfeclipse.org. had to find a new version through eclipse itself. problem solved. thanks ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now

RE: Java Script Value to CF Value

2007-09-04 Thread Robert Harrison
I'm trying to control image sizes on a image file upload. Image CFC seems to be usable. I'm wishing I could just use CFIMAGE in CF8, but my host is not there yet. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T :

RE: CFECLIPSE 'Error opening the editor' JavaFileEditorInput error

2007-09-04 Thread Robert Harrison
Which version did you use. I too had that same issue and eventually decided it was the all-in-one I was downloading. So which is the best version to use? Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext.

Re: CFIMAGE Text Length

2007-09-04 Thread Andy Chen
I used CFIMAGE to dyanmically create title bars and I don't think there is an automated way using the ImageDrawText function. Tere is no parameter for position besides the x,y coordinates. You would probably have to do some math in figuring out how big each character is and how to get it

RE: Java Script Value to CF Value

2007-09-04 Thread Bobby Hartsfield
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:267372 ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Robert Harrison [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 10:00 AM To: CF-Talk Subject: RE:

RE: Model Glue and reactor

2007-09-04 Thread owner
We are down to this error: Not using an ORM adapter. You will not be able to do automatic database functions. Cause: Reactor failed to load: coldspring.beanCreationException : Bean creation exception during init() of reactor.config.config : An error occurred when performing a file operation read

Re: Model Glue and reactor

2007-09-04 Thread Brian Kotek
Yes, you tell it where the Reactor config file is in the Model-Glue ColdSpring XML file: bean id=reactorConfiguration class=reactor.config.config constructor-arg name=pathToConfigXmlvalue/deli/config/reactor/Reactor.xml/value/constructor-arg property

Hosting CF 8

2007-09-04 Thread Vince Collins
I just blogged about this but I figured I'd post my request at house of fusion since so many of you also use ISPs. In order to find a good fit for hosting, I think you need to list up front some of your requirements. Here are the basics of mine. Requirements: CF8 Control Panel Multiple

RE: Hosting CF 8

2007-09-04 Thread Bill Betournay
I'm all for CrystalTech but I've always heard good things about HostMySite.com as well. Bill -Original Message- From: Vince Collins [mailto:[EMAIL PROTECTED] Sent: September 4, 2007 12:58 PM To: CF-Talk Subject: Hosting CF 8 I just blogged about this but I figured I'd post my request

RE: Hosting CF 8

2007-09-04 Thread David Morgan
Been worknig with AHPhosting.net for a while now and have never had a complaint. The servicec has been personal and impeccable. From: Bill Betournay [EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 1:10 PM To: CF-Talk cf-talk@houseoffusion.com

RE: Hosting CF 8

2007-09-04 Thread Andy Matthews
I've always had really good luck with Gearhost.com. They don't have CF8 right now, but they're talking about upgrading soon it sounds like. andy -Original Message- From: Vince Collins [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 11:58 AM To: CF-Talk Subject: Hosting CF

Re: UI recommendations needed

2007-09-04 Thread Andy Chen
Just an update. It seems like it is working. :) I need to tweak it some more to get the result I want but at least the file is being uploaded... within a CFWINDOW. So IFRAME is the answer. Thanks DAN! Thanks Dan, I haven't really used IFRAME much except to display external sites, so I

Re: CF8 AJAX

2007-09-04 Thread Brian Kotek
Passing the session ID in the JavaScript is a bad idea. Someone could modify that and look at projects for other users. You already have the session ID on the server, why would you want to pass it again from the select box? On 8/31/07, Asim Manzur [EMAIL PROTECTED] wrote: I have cfselect

CFGrid Ajax Results

2007-09-04 Thread [EMAIL PROTECTED] [EMAIL PROTECTED]
Hello, I am wondering if someone could clear something up for me. I am working on a datagrid using CFGRID in HTML format. I would like to be able to manipulate the data a little bit before throwing it into the grid. Two examples are that I want CITY AND STATE to be in one column, and I want

Re: Hosting CF 8

2007-09-04 Thread Vince Collins
That's great to hear about AHPhosting.net 's service. I'll check them out. Anyone else use AHPhosting.net, FusionLink.com or CrystalTech.com? At first glance, AHPhosting.net doesn't offer the resellers pack for CF8 yet. I'll ping them to see what their plans are... Vince

Re: CFGrid Ajax Results

2007-09-04 Thread Brian Kotek
If you read the documentation, you'll see the answer is no. You have to pass a query into the grid, unless you manually build up the grid elements using cfgridrow. You could combine the city and state into one column in the SQL. You might also be able to generate the URL in your SQL depending on

Re: Hosting CF 8

2007-09-04 Thread David Morgan
I know AHP offers resellers as that is what I am on and they are offering CF8 etc. I think houseoffusion host with AHP as well. Be sure to give em a call before passing them up cause the reseller isnt obviously shown. David From: Vince Collins [EMAIL

Re: Hosting CF 8

2007-09-04 Thread Vince Collins
Will do, thanks! David Morgan wrote: I know AHP offers resellers as that is what I am on and they are offering CF8 etc. I think houseoffusion host with AHP as well. Be sure to give em a call before passing them up cause the reseller isnt obviously shown. David

SQL select where in headache

2007-09-04 Thread Hugh Fidgen
Hiya, I've got a problem selecting data from a table and I was wondering if anyone could help. Code so far: cfquery name=eventlist1 SELECT * FROM EVENTS WHERE PERMISSIONS IN ('#session.status#') ORDER BY EVENT_DATE, EVENT_START ASC /cfquery This works fine where field permissions = 1

RE: SQL select where in headache

2007-09-04 Thread Adkins, Randy
if session.status is a numeric list and PERMISSIONS is a numeric value, remove the single quotes: WHERE PERMISSIONS IN (#session.status#) From: Hugh Fidgen [mailto:[EMAIL PROTECTED] Sent: Tue 9/4/2007 3:24 PM To: CF-Talk Subject: SQL select where in headache

Re: SQL select where in headache

2007-09-04 Thread Crow T. Robot
cfquery name=eventlist1 SELECT * FROM EVENTS WHERE PERMISSIONS IN cfqueryparam value=#session.status# list=true ORDER BY EVENT_DATE, EVENT_START ASC /cfquery Try that... On 9/4/07, Hugh Fidgen [EMAIL PROTECTED] wrote: Hiya, I've got a problem selecting data from a table and I was

Re: SQL select where in headache

2007-09-04 Thread Doug R
I think it is because of the single quotes around your comma delimited numbers. When I try to run a similar query, I get a data conversion error. If the column in the db is an INT, you do not need the single ticks around the var. That is only for varchar. Also, if it is varchar, each item

RE: SQL select where in headache

2007-09-04 Thread Michael E. Carluen
Also, don't forget- cfqueryparam is your friend cfqueryparam value=#session.status# separator=, list=Yes -Original Message- From: Adkins, Randy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 11:39 AM To: CF-Talk Subject: RE: SQL select where in headache if

Re: Hosting CF 8

2007-09-04 Thread John Blayter
I have a VPS with AHPHosting.net. These guys rock and I would go with them again any day. On 9/4/07, Vince Collins [EMAIL PROTECTED] wrote: That's great to hear about AHPhosting.net 's service. I'll check them out. Anyone else use AHPhosting.net, FusionLink.com or CrystalTech.com? At first

Re: Hosting CF 8

2007-09-04 Thread Eric Cobb
I've used Crystal Tech for years, and I've never had a problem with their service. I've got about 15 client's sites running on Crystal Tech, and they're all happy as well. I really like their Control Center as it's easy for me to manage everything, I can even create accounts for my clients

CF8 cfTextarea Richtext Question

2007-09-04 Thread Bruce Sorge
I had asked about this before but I did not get a response. When using the CF-8 cftextarea richtext=true tag, the file browser does not work. When I click on Browser Server, I get the message This connector is disabled. Please check the 'editor/filemanger/browser/default/connectors/cfm/config.cfm

Re: Hosting CF 8

2007-09-04 Thread Vince Collins
Thanks very much for the detailed response Eric! Vince http://www.vincentcollins.com Eric Cobb wrote: I've used Crystal Tech for years, and I've never had a problem with their service. I've got about 15 client's sites running on Crystal Tech, and they're all happy as well. I really like

RE: SQL select where in headache

2007-09-04 Thread Dave Francis
I don't know the answer (my SQL is very, very basic), but the way I read it is he is saying the PERMISSIONS column in the db is also sometimes a list. Best advice I have is to normalize the db first. -Original Message- From: Doug R [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04,

Re: SQL select where in headache

2007-09-04 Thread Doug R
ha! I didn't think about it from that angle. I agree with Dave, if in fact you are storing comma-delim'd lists in the db column as well. On 9/4/07, Dave Francis [EMAIL PROTECTED] wrote: I don't know the answer (my SQL is very, very basic), but the way I read it is he is saying the

RE: SQL select where in headache

2007-09-04 Thread owner
Permissions is not a list...the IN statement allows you to pass a list of parameters, so for instance if you had a statement where id in(1,2,3,4) it would get the records for all records in that table with id's of 1,2,3,or 4. If the values are varchar's...then each element needs single quotes

Re: CFGrid Ajax Results

2007-09-04 Thread Cutter (CFRelated)
Hold up, you should be able to. The query passed in to the cfgrid is only setting the data.Store property of the ExtJS grid behind it, you are using the cfgridcolumn tags to define your ColumnModel (another ExtJS construct). You should be able to define a custom renederer, pulling information

Setting Sending 301 Moved permanently HTTP Header

2007-09-04 Thread Ian Skinner
I'm experimenting with setting a 301 'Moved Permanently header for a large reorganization of our site. My first experiment was with using .htaccess with the following line in it: redirect 301 /301_old.html http://dprweb:/301_new.html This immediately caused my entire website to crash and

Re: Hosting CF 8

2007-09-04 Thread Eric Cobb
No problem. I'm glad I could help. Vince Collins wrote: Thanks very much for the detailed response Eric! Vince http://www.vincentcollins.com Eric Cobb wrote: I've used Crystal Tech for years, and I've never had a problem with their service. I've got about 15 client's sites

Re: CFGrid Ajax Results

2007-09-04 Thread Cutter (CFRelated)
(of course, that's all untested, may require a little work, and Brian's suggestion of combining the values directly at the SQL will work better [in this instance], and require less code) Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer

Re: CFGrid Ajax Results

2007-09-04 Thread Brian Kotek
True, I should have specified that using what CF has built in will require you to pass it a query. If you want to dig into the underlying YUI grid then all bets are off. Of course, as Cutter points out, this will be much more complicated. On 9/4/07, Cutter (CFRelated) [EMAIL PROTECTED] wrote:

Verity Spider error - vgwhttp: http init failed

2007-09-04 Thread james carberry
Trying to use Verity vspider to index dynamic content pages on my site (gr)... copied the style files from Adobe livedocs, followed directions, and get the following: E:\CFusionMX7\verity\k2\_nti40\bine:\CFusionMX7\verity\k2\_nti40\bin\vspider -s tyle

Re: cflocation to cflayout

2007-09-04 Thread Brian Kotek
It isn't possible. cflocation will redirect the entire page. On 9/4/07, Steve Sequenzia [EMAIL PROTECTED] wrote: Anyone know if it is possible to use cflocation to redirect a page inside of a cflayout to a cflayoutarea? I don't want it to break the page out. Thanks in advance for any help.

Can CF run if it's configuration files are not owned by root on UNIX?

2007-09-04 Thread Ian Skinner
If one changed to owner of the various configuration files of CF so that someone other then root can edit them, will CF crash and burn? We are trying to separate the role of Unix administrator and CF administrator on our web server. TIA Ian

Re: cflocation to cflayout

2007-09-04 Thread Raymond Camden
Use JavaScript. ColdFusion.navigate(...) Check the docs on the exact syntax. On 9/4/07, Steve Sequenzia [EMAIL PROTECTED] wrote: Anyone know if it is possible to use cflocation to redirect a page inside of a cflayout to a cflayoutarea? I don't want it to break the page out. Thanks in

Re: SQL select where in headache

2007-09-04 Thread Hugh Fidgen
Hiya, Sorry i think i've caused some confusion here. #session.status# is always a single character, EG P PERMISSIONS is sometimes a single character, or sometimes a comma delimited list. It's populated via a select multiple input in a form, so it depends if the user selects one, or multiple

Re: SQL select where in headache

2007-09-04 Thread Hugh Fidgen
Hiya, Sorry i think i've caused some confusion here. #session.status# is always a single character, EG P PERMISSIONS is sometimes a single character, or sometimes a comma delimited list. It's populated via a select multiple input in a form, so it depends if the user selects one, or multiple

RE: Can CF run if it's configuration files are not owned by root on UNIX?

2007-09-04 Thread Brad Wood
What user does CF run as? I think it needs to be the same. ~Brad -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 5:12 PM To: CF-Talk Subject: Can CF run if it's configuration files are not owned by root on UNIX? If one changed to

Re: Can CF run if it's configuration files are not owned by root on UNIX?

2007-09-04 Thread Barney Boisvert
Nope, as long as the user that CF runs has has read access to them (and write access to stuff that the CF admin manages), you're golden. cheers, barneyb On 9/4/07, Ian Skinner [EMAIL PROTECTED] wrote: If one changed to owner of the various configuration files of CF so that someone other then

CF8 Ajax tags and Prototype's evalScripts bug.

2007-09-04 Thread Bim Paras
Hopefully you can shed some light on this rather difficult problem I've come across. I have CF8 installed and was looking to leverage the built-in AJAX functionality but I am having issues with CF/HTML content being loaded into a div asynchronously through Prototype's Ajax.Updater call. The

RE: Can CF run if it's configuration files are not owned by root on UNIX?

2007-09-04 Thread Brad Wood
Tell you what... let's say CF runs as a user called cfmx (enter whatever user you use here). You want a user cfadmin to be able to edit the files as well. Do this: Add your cfadmin user into a cfadmin group (done automatically on OS's like Redhat I believe). Then do chown -R cfmx:cfadmin

Re: Can CF run if it's configuration files are not owned by root on UNIX?

2007-09-04 Thread Barney Boisvert
In general, you DON'T want the user that CF runs as to have write access to itself. If it does, then a malicious script could delete the runtime. Certain portions have to be accessible (like log files, the Mail spool, etc.), but most of it should be read only. cheers, barneyb On 9/4/07, Brad

Re: Can CF run if it's configuration files are not owned by root on UNIX?

2007-09-04 Thread Ian Skinner
Nope, as long as the user that CF runs has has read access to them (and write access to stuff that the CF admin manages), you're golden. cheers, barneyb Does anybody know of a description of the various files that CF reads and to which ones it writes? I am sure I am going to asked to

RE: SQL select where in headache

2007-09-04 Thread Dave Francis
As I said, I pretty much suck at SQL (and everything else if you believe Bobby) But you might try something like WHERE PERMISSIONS LIKE '%#session.status#%' -Original Message- From: Hugh Fidgen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 6:06 PM To: CF-Talk

Re: Can CF run if it's configuration files are not owned by root on UNIX?

2007-09-04 Thread Barney Boisvert
I believe that it runs under nobody by default, but you can change that during the install process. On 9/4/07, Ian Skinner [EMAIL PROTECTED] wrote: Nope, as long as the user that CF runs has has read access to them (and write access to stuff that the CF admin manages), you're golden. cheers,

Re: CFGrid Ajax Results

2007-09-04 Thread Andrew Scott
Actually it is not complicated. Ray has an example of rendering on his blog that will do the job nicely. On 9/5/07, Brian Kotek [EMAIL PROTECTED] wrote: True, I should have specified that using what CF has built in will require you to pass it a query. If you want to dig into the underlying

Re: CFGrid Ajax Results

2007-09-04 Thread Brian Kotek
However you define complicated, it's far more complicated than just using what is built in to cfgrid. Furthermore, the custom renderer examples are just changing the format of the displayed grid, and don't even touch on the issue of building up your own data (based on a ColdFusion structure) in

RE: Can CF run if it's configuration files are not owned by root on UNIX?

2007-09-04 Thread Brad Wood
That's correct. If you go to System Information in CF Admin it will tell you the User Name it is running as. Or just do a top command and look at the user running the cfusion or cfmx process. I'm pretty certain you can change the user cf is run under by updating the coldfusion executable in

structKeyExists() - Ok, this is freakin me out....

2007-09-04 Thread Will Tomlinson
CF8 - just buildin a simple cfform inside a div on a page. Nuthin special. So I do my usual routine of processing the form on the same page. cfif StructKeyExists(FORM, submit) process form /cfif ok, so why would the form processing execute when the page loads? Cause that's what it's doin,

Re: structKeyExists() - Ok, this is freakin me out....

2007-09-04 Thread Raymond Camden
I'm not seeing that myself. I think you have something else going on. On 9/4/07, Will Tomlinson [EMAIL PROTECTED] wrote: CF8 - just buildin a simple cfform inside a div on a page. Nuthin special. So I do my usual routine of processing the form on the same page. cfif StructKeyExists(FORM,

Re: SQL select where in headache

2007-09-04 Thread Dae
ok... I'm new to CF and I can't exactly remember how CFLOOP works but here goes. cfset status_count = 1 cfquery name=eventlist1 SELECT * FROM EVENTS WHERE PERMISSIONS IN ( CFLOOP CFIF status_count EQ 1 #session.status# cfset status_count = 2 CFELSE

Re: structKeyExists() - Ok, this is freakin me out....

2007-09-04 Thread Dinner
I like to name my submit buttons (saveContact, vs. submit) to avoid that type of error, and to allow multiple submit buttons that do different stuff. Probably have a field named submit in there, or something, perhaps? On 9/4/07, Will Tomlinson [EMAIL PROTECTED] wrote: CF8 - just buildin a

Re: structKeyExists() - Ok, this is freakin me out....

2007-09-04 Thread Sean Corfield
On 9/4/07, Will Tomlinson [EMAIL PROTECTED] wrote: I figured it out folks. Thanks!! Share... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood

Re: structKeyExists() - Ok, this is freakin me out....

2007-09-04 Thread Dinner
On 9/4/07, Will Tomlinson [EMAIL PROTECTED] wrote: I figured it out folks. Thanks!! Man, I'm good. The answer rocked so much, it obviously went back in time. You're welcome! hehe ~| Get involved in the latest ColdFusion

Re: structKeyExists() - Ok, this is freakin me out....

2007-09-04 Thread Will Tomlinson
Mike D! Please delete this thread! :) ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive:

Re: structKeyExists() - Ok, this is freakin me out....

2007-09-04 Thread Will Tomlinson
Do I gotta post what it was??? Cut me some slack :) ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now

Re: CF8 cfTextarea Richtext Question

2007-09-04 Thread Dinner
Sounds like maybe the cfm file is encrypted? You can download the original from fckeditor.net, or right from the repository, if you wish (don't have it's link handy). I'd seriously look into something besides the built-in file-upload stuff tho- it's always sorta made me nervous. Ha! Not that

Re: structKeyExists() - Ok, this is freakin me out....

2007-09-04 Thread Will Tomlinson
I figured it out folks. Thanks!! Will ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive:

Re: structKeyExists() - Ok, this is freakin me out....

2007-09-04 Thread Sean Corfield
On 9/4/07, Will Tomlinson [EMAIL PROTECTED] wrote: Do I gotta post what it was??? Yup. If it was a simple user error, it's entirely possible someone else will trip over it - having it in the archives will help other people. Cut me some slack :) Nope. You post here, you can't expect

Re: Setting Sending 301 Moved permanently HTTP Header

2007-09-04 Thread James Holmes
Do you also have a cflocation tag in that page? On 9/5/07, Ian Skinner [EMAIL PROTECTED] wrote: I'm experimenting with setting a 301 'Moved Permanently header for a large reorganization of our site. My first experiment was with using .htaccess with the following line in it: redirect 301

cfimage can't scale by width only?

2007-09-04 Thread Will Tomlinson
Can you not scale an image by just one axis with cfimage? That is, I want to scale an image by width only. Thanks, Will ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now

Re: lt;cfimagegt; can't scale by width only?

2007-09-04 Thread Will Tomlinson
Found it in the docs For the resize attribute, you also can specify the height as a percentage (an integer followed by the percent (%) symbol). When you resize an image, if you specify a value for the width, you can let ColdFusion calculate the aspect ratio by specifying as the height.

Re: cfimage can't scale by width only?

2007-09-04 Thread James Holmes
How about using 100% on the axis you don't want to resize? On 9/5/07, Will Tomlinson [EMAIL PROTECTED] wrote: Can you not scale an image by just one axis with cfimage? That is, I want to scale an image by width only. Thanks, Will -- mxAjax / CFAjax docs and other useful articles:

Re: lt;cfimagegt; can't scale by width only?

2007-09-04 Thread Will Tomlinson
How about using 100% on the axis you don't want to resize? I found it in the docs. :) When you resize an image, if you specify a value for the width, you can let ColdFusion calculate the aspect ratio by specifying as the height. Thanks james, Will

Re: lt;cfimagegt; can't scale by width only?

2007-09-04 Thread James Holmes
Yeah I noticed that my reply was also so good it went back in time and helped you. We're on a roll here :-) On 9/5/07, Will Tomlinson [EMAIL PROTECTED] wrote: How about using 100% on the axis you don't want to resize? I found it in the docs. :) When you resize an image, if you specify a

Re: cfimage can't scale by width only?

2007-09-04 Thread Barney Boisvert
try imageScaleToFit with a huge value on the axis you don't care about: myImg = imageRead(...); // max of 200 width imageScaleToFit(myImg, 200, 100); // max of 300 height imageScaleToFit(myImg, 10, 300); cheers, barneyb On 9/4/07, Will Tomlinson [EMAIL PROTECTED] wrote: Can you not

Re: UI recommendations needed

2007-09-04 Thread Steve Sequenzia
Andy, Can you share the code you used for the iframe? Thanks Just an update. It seems like it is working. :) I need to tweak it some more to get the result I want but at least the file is being uploaded... within a CFWINDOW. So IFRAME is the answer. Thanks DAN! Thanks Dan,

Re: Easy-to-develop recurring billing?

2007-09-04 Thread f g wenger
I've started using Billing Orchard for recurring billing. It has an API and also a new feature called Checkout Pages where you can setup recurring billing (with a post back call on success). Both are easy to code. I used PayQuake.com for the merchant account/Authorize.net reseller. They have

Re: Authorize.net cfc/tag for recurring billing?

2007-09-04 Thread f g wenger
I've started using Billing Orchard for recurring billing. It has an API and also a new feature called Checkout Pages where you can setup recurring billing (with a post back call on success). Both are easy to code. I used PayQuake.com for the merchant account/Authorize.net reseller. They have

Can't Install ColdFusion 8 on Windows XP Home , Dell comp.

2007-09-04 Thread John Martinez
I have tried to install Coldfusion 8 and coldfusion 7 mx on my dell dimension 4700. Both times I got this message at the end of the installer. I was only trying to install the built in server. however, the adobe coldfusion 8 service does not appear to be running, the web server connectors