Re: Problem uploading file from form in cfdiv

2008-03-11 Thread Ricardo Russon
how does gmail do it? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive:

Re: What are the Necessary Code Changes for Migrating from 6.1 to 8?

2008-03-11 Thread Sean Corfield
On Mon, Mar 10, 2008 at 9:05 PM, Russ [EMAIL PROTECTED] wrote: I think this is where .NET might have an edge, as I believe that .ASPX pages are compiled, so compile time errors are found quicker, unlike CF, where you won't see even compile time errors until you actually invoke the template.

Re: query help

2008-03-11 Thread Sonny Savage
Did that work for you? On Mon, Mar 10, 2008 at 12:25 PM, Sonny Savage [EMAIL PROTECTED] wrote: Now that I understand your data structures, I understand how to solve the problem. I hope this works on MySQL. I tested it using OpenOffice.orgBase. SELECT users.user_id , users.user_name

Re: Bluedragon = open source

2008-03-11 Thread Tom Chiverton
On Monday 10 Mar 2008, Jordan Michaels wrote: You can tie J2EE servers into Apache. In fact, the Smith Project has a simple step-by-step on how to do that with tomcat: http://smithproject.org/doc_preinstall.cfm As does Railo (which comes with the Resin J2EE server by default). there's *NO

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-11 Thread david reiter
They use their common name as the username - my test account is (digits changed but format the same) abc-x-myname. Is the working admin username just a name like admin or a DN like cn=admin,dc=something...? On Tue, Mar 11, 2008 at 11:35 AM, david reiter [EMAIL PROTECTED] wrote:

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-11 Thread david reiter
Yes, the username and password are correct - I can log onto their intranet with the account credentials they supplied me. I'll use Softerra LDAP Browsr to find my sAMAccountName and I'll try my userPrincipalName - we'll see what happens with each. David Looks like a simple username/password

RE: What are the Necessary Code Changes for Migrating from 6.1 to 8?

2008-03-11 Thread Dave Watts
Automated testing isn't always possible, especially when you are dealing with enterprise applications with millions of lines of code. In that case, honestly, how do you even know that the code works right now? All you know is that it does something that doesn't generate a visible error, and

Re: What are the Necessary Code Changes for Migrating from 6.1 to 8?

2008-03-11 Thread Jochem van Dieten
Russ wrote: I think this is where .NET might have an edge, as I believe that .ASPX pages are compiled, so compile time errors are found quicker, unlike CF, where you won't see even compile time errors until you actually invoke the template. That just depends on how you develop and deploy your

Re: Urgent: Cut-off (truncate?) too much text

2008-03-11 Thread Matthew Williams
cfif len(somestring) GTE 50 cfset newstring = left(somestring, 50) cfelse cfset newstring = somestring /cfif Given that somestring is greater than, equal to 50, set a newstring equal to the first 50 characters. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog

Re: What are the Necessary Code Changes for Migrating from 6.1 to 8?

2008-03-11 Thread Cutter (CFRelated)
While I feel your pain, CF6.1 was released when? You've been running your code on an app server that's been upgraded three times already, so I wouldn't fault Adobe overly much. Sorry to be blunt... Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer

Urgent: Cut-off (truncate?) too much text

2008-03-11 Thread George Linderman
Hey guys, This is a kind of urgent question, because it's disrupting the SMS service we use to notify the doctors in our company of emergencies. When someone submits too much text in a field, it screws up the SMS system, and the SMS isn't sent. I need to find a way for it to cut off at say 50

RE: Using Web Services with CF8

2008-03-11 Thread Bosky, Dave
I'm using the default cf8 installation configuration I didn't change any JVM setting in the CF Admin. = C:\ColdFusion8\runtime\jre\binjava -version java version 1.6.0_01 Java(TM) SE Runtime Environment (build 1.6.0_01-b06) Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode)

RecordMaster -wizard from way back in CF Studio

2008-03-11 Thread Jeff F
Anyone use Recordmaster wizard from back in the CF Studio days?? Sometimes I really miss it! Is there anything comparable available today for the current toolset (CFeclipse or Dreamweaver)? RecordMaster was a little automated wizard thing that you could just point to a DSN and a table, and

RE: What are the Necessary Code Changes for Migrating from 6.1 to 8?

2008-03-11 Thread Gaulin, Mark
Sounds to me like there's an expectation that the folks doing the beta for new versions will be more superhuman than everyone else. But the folks running the beta are not the ones responsible for discovering what the vendor changed! If you think we're all mad at the beta testers for not

Re: Urgent: Cut-off (truncate?) too much text

2008-03-11 Thread George Linderman
Awesome. This is perfect, and exactly what I was looking for. Thanks a lot. cfif len(somestring) GTE 50 cfset newstring = left(somestring, 50) cfelse cfset newstring = somestring /cfif Given that somestring is greater than, equal to 50, set a newstring equal to the first 50

Re: Bluedragon = open source

2008-03-11 Thread Tanguy Rademakers
It's just another CFML engine with not quite the same features as the 'offical' one. Being open source isn't much one way or the other, tbh. Well, if people want to add features that are missing, now they can. And it's more than just another CFML engine - it will be the only mature CFML

Naming Forms randomly

2008-03-11 Thread Phillip Perry
hello, I use a form with a naming structure of formName#ID#. The CF template ends up making multiple forms which is why i thought the #id# part would be a good idea, to allow for identifying which form i want to work on. The problem is that when i try to refer to the form name in any CF template

RE: Urgent: Cut-off (truncate?) too much text

2008-03-11 Thread Dale Fraser
cfset text = The long text / cfset text = left(text, 50) / Regards Dale Fraser -Original Message- From: George Linderman [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 March 2008 11:32 PM To: CF-Talk Subject: Urgent: Cut-off (truncate?) too much text Hey guys, This is a kind of urgent

Re: Bluedragon = open source

2008-03-11 Thread Tom Chiverton
On Tuesday 11 Mar 2008, Tanguy Rademakers wrote: I think NA deserves a big warm hearted thank you from the whle CF community for taking this step. Oh, I say 'thanks', but I don't believe, for instance, it's going to speed the inclusion of Remoteing (OpenAMF) into the product. -- Tom

Re: Naming Forms randomly

2008-03-11 Thread Tom Chiverton
On Tuesday 11 Mar 2008, Phillip Perry wrote: SomeVariable=formName#ID# I get an error referring to the #'s. You should always scope variables, i.e. SomeVariable=form[formName#ID#] -- Tom Chiverton Helping to elementarily brand corporate paradigms on: http://thefalken.livejournal.com

Re: jquery treeview navigation refresh problem

2008-03-11 Thread Paul Ihrig
just noticed it dosnt expand/collapse in ie6 when you click plus symbol works in ie7 and ff http://63.144.103.199/http://63.144.103.199/industrial/enclosures/wallmount/index.cfm ~| Adobe® ColdFusion® 8 software 8 is the most

Re: What are the Necessary Code Changes for Migrating from 6.1 to 8?

2008-03-11 Thread Aaron Rouse
True, but I might be completely wrong on this but I thought if someone made an ASP.NET application on say the 2.0 Framework that if the server was brought to the 3.5 Framework that the application would still run under the 2.0, so that would prevent potential errors related to a version change on

Re: Database not found - error message

2008-03-11 Thread Daniel Negusse
Hi william, thanks for your help. don't mind my stupidity in this field. but where do i find the application.cfm? what i have is a coldfusion application, and the root folder for my site is in the wwwroot (a folder created when installing coldfusion on my mac). so i have the index.cfm in this

Re: Database not found - error message

2008-03-11 Thread Daniel Negusse
Hello Rich, what is SELECT * FROM FOO. last... i created a recordset on my machine, and that is how i drag the 'field' onto the index.cfm file. but at godaddy, i haven't created a recordset, and how does the serever or the coldfusion at godaddy know what 'rs-christmas' is. or it just

Re: Database not found - error message

2008-03-11 Thread Daniel Negusse
i think i found it: cfset CurrentPage=GetFileFromPath(GetBaseTemplatePath()) cfparam name=PageNum_rs_christmas default=1 cfquery name=rs_christmas datasource=spaceexpressions SELECT * FROM christmasphotos ORDER BY photo_id ASC /cfquery cfset

RE: Database not found - error message

2008-03-11 Thread Rich
Dan, I apologize I did not realize that you were utilizing Dreamweaver (DW) to generate the CF code to power this page. When you connected your database to ColdFusion, you were forced to give it a name to identify that connection. I do not use DW, so I am not sure the exact process used to

RE: Database not found - error message

2008-03-11 Thread Rich
Dan, Yep, you found it! You have two options: 1. Ask godaddy: What is the DSN name for my database? 2. Ask godaddy to update your DSN with the name spaceexpressions The string provided to you from godaddy is the actual address of the database server, and is not needed unless they have given you

Re: Database not found - error message

2008-03-11 Thread Daniel Negusse
it works... thanks RICH, you are awesome. great... i can't thank you enough. yes, they have a DSN name they gave me, and it works as it should... thanks, oh, you can't believe how glad, excited and ecstatic i am. i am, like i said, a molecular biologist, playing with life and DNA and stuff

CFC OOP tutorial reccomendations

2008-03-11 Thread Greg Morphis
So I'm looking around for some real good CFC OOP tutorials.. I'd like to get your ideas and where you learned about it. Preferably that are complete (walk you through everything step by step) and provide some decent real world examples and is using best practices... I've been reading one at

RE: Naming Forms randomly

2008-03-11 Thread Billy Cox
Assuming that 'formName' is literal text... cfset SomeVariable=formName#ID# ?? Or cfset SomeVariable=formName ID ?? -Original Message- From: Phillip Perry [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 7:59 AM To: CF-Talk Subject: Naming Forms randomly hello, I use a

SOT: Aptana plugin within Flex Builder 3

2008-03-11 Thread Andy Matthews
I'm considering installing the Aptana plugin within Flex Buidler 3 so as to keep all AIR type functionality together. Has anyone done this and if so, what Aptana version did you use? I can't find any mention of the plugin on the Aptana website. All they talk about is their own IDE.

RE: Coldfusion and Active Directory

2008-03-11 Thread Ian Vaughan
Hi Mike Thanks for that, and the point you made about the object class! Before I run the script against active directory, I would just like to check one or two points. In the second CFLDAP I currently have cfldap action=modify modifyType=replace attributes=#newAttributes#

Re: Naming Forms randomly

2008-03-11 Thread Rob Parkhill
You can also use evaluate(formnameid) to get at the different form elements cfset name = evaluate(formnameid).name Rob hello, I use a form with a naming structure of formName#ID#. The CF template ends up making multiple forms which is why i thought the #id# part would be a good idea, to allow

Re: Naming Forms randomly

2008-03-11 Thread Dominic Watson
I think this problem stems from CF syntax being too loose with regards its # symbols which leads to misunderstanding and confusion. If you want to set someVariable to the value pointed to by the variable someForm234 you could do: cfset someVariable = Evaluate(someform#ID#) or cfset someVariable =

Re: SOT: Aptana plugin within Flex Builder 3

2008-03-11 Thread Nathan Strutz
Andy, There is a download link, but you've got to dig for it. You can click the Eclipse Plugin tab here http://www.aptana.com/studio/download Fill out the form to download the aptana eclipse plugin. Or you can point your auto-update tool to this address: http://update.aptana.com/install/3.2/ or

RE: CF_SQL_TIMESTAMP

2008-03-11 Thread Jenny Gavin-Wear
Thanks for the reply. The work around I have done for this is to use SET DATEFORMAT in mssql and then set the data time to text in the form updates. Messy though as it means I have to rememeber to set the date formats to text everytime I use Insert/Update for forms from Dreamweaver. This

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-11 Thread Nicholas Stein
I have had the exact same problem. My Active Directory is inside the firewall and accesable with .net code from my dev machine. Here is the salient C#. public static bool UserExists(string UserName) { //create an instance of the DirectoryEntry DirectoryEntry de =

Re: CFFILE/CFFTP errors - JVM issues?

2008-03-11 Thread J W
Didn't help much... Still getting file errors... Anyone have any other ideas? Jeff On Fri, Mar 7, 2008 at 5:38 PM, J W [EMAIL PROTECTED] wrote: I am moving all my code to new file system CF8 functions fileOpen(), fileWriteLine(), fileClose(), etc and see if this helps... Jeff On Fri,

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-11 Thread Nicholas Stein
OK, I got it to work. It was the user name. It is wierd. My login account is nstein, but cn is Nick Stein, so I have to use the latter in my CFLDAP. Here is the code that works: cfldap action=QUERY name=GetUserInfo attributes=givenName,sn,cn,name,dn start=DC=codagenomics,DC=net

Re: Bluedragon = open source

2008-03-11 Thread Sean Corfield
On Tue, Mar 11, 2008 at 6:50 AM, Tanguy Rademakers [EMAIL PROTECTED] wrote: Being open source isn't much one way or the other, tbh. Well, if people want to add features that are missing, now they can. But it will be up to New Atlanta and the BlueDragon Open Source Steering Committee whether

Re: Bluedragon = open source

2008-03-11 Thread Tom Chiverton
On Tuesday 11 Mar 2008, Sean Corfield wrote: source. Sure, you could modify your *own* copy to add features - but that will just create lots of incompatible engines. Everyone will need to work with the process, like Sun's JCP and all the other successful Exactly. We don't want someone adding

Getting media files from seperate server

2008-03-11 Thread Emily Cooper
I have two servers. One that hosts my site and the other where I store media. The storage server is on godaddy, the other is elsewhere. I currently use CFCONTENT to serve media from my website server to viewers. It hides the URL and works just fine. However, I have limited bandwidth and space

RE: Getting media files from seperate server

2008-03-11 Thread Russ
CFLOCATION. The urls will still point to your real server, but then the server will redirect the browser to the media server. Although it will be fairly trivial to figure out the real urls. If you want more security, you can install cf on the godaddy server and serve files that way. You will

Re: Bluedragon = open source

2008-03-11 Thread Tanguy Rademakers
But it will be up to New Atlanta and the BlueDragon Open Source Steering Committee whether your suggestions will be accepted. Open source does not mean that everyone can just pile in and change the source. Sure, you could modify your *own* copy to add features - but that will just create lots of

Re: Getting media files from seperate server

2008-03-11 Thread Emily Cooper
Thanks for this Russ - it sounds less complicated than I thought the way you put it. If I use cfcontent on my server to go to a page on my server that then links directly to the media server, and log in is required on the main server, do you think that would work for security and to hide the

Re: Naming Forms randomly

2008-03-11 Thread Phillip Perry
I've tried the Evaluate() example you provided but now I'm getting an error that my variable is undefined. This is the code I've been using for testing... cfparam name=thisOtherThing type=numeric default=1 cfset thisOtherThing=Evaluate(qty_adjust#theid#.current_qty.value) form

RE: Getting media files from seperate server

2008-03-11 Thread Russ
I don't think you can use cfcontent on a link. If you do not wish to use up the bandwidth on your main server, you will have to redirect to the browser to some kind of url on the media server. If you only do not want the casual user to see the url's, then cflocation should be enough for you.

RE: Coldfusion and Active Directory

2008-03-11 Thread Dawson, Michael
Hopefully, your CSV file will have one line for each employee. If so, then each line should contain that employee's telephone number. When you loop over the CSV recordset, everything should be aligned correctly. When you modify a directory object, the ATTRIBUTES attribute, of the CFLDAP tag,

RE: CFLDAP finds cn but can't find password or certain attributes

2008-03-11 Thread Dawson, Michael
Or use the userPrincipalName of [EMAIL PROTECTED] I would suggest that each of you create an object dumper page that outputs all of the Active Directory variables for users. Then, compare the following attributes: cn distinguishedName name sAMAccountName userPrincipalName In our directory, we

Re: Naming Forms randomly

2008-03-11 Thread Rob Parkhill
Phillip, Your bracket is in the wrong spot cfset this otherthing = evaluate(qty_adjusttheid).current_qty That should work. Rob I've tried the Evaluate() example you provided but now I'm getting an error that my variable is undefined. This is the code I've been using for testing... cfparam

Re: Naming Forms randomly

2008-03-11 Thread Claude Schneegans
The problem is that when i try to refer to the form name in any CF template I may be wrong, but AFAIK, the form name is not transmitted by HTTP, it is only available to Javascript on client side. Even if a page contains several forms, only one can be submitted at a time, and all its fields are

Re: Naming Forms randomly

2008-03-11 Thread Dominic Watson
I may be wrong, but AFAIK, the form name is not transmitted by HTTP, it is only available to Javascript on client side. Even if a page contains several forms, only one can be submitted at a time, and all its fields are referred in the form scope in the action template. So there is no use

Re: Naming Forms randomly

2008-03-11 Thread Phillip Perry
Thanks, but now it says that qty_adjust1, which is what its supposed to be, is undefined. qty_adjust1 is the name of the first form. On Tue, Mar 11, 2008 at 2:30 PM, Rob Parkhill [EMAIL PROTECTED] wrote: Phillip, Your bracket is in the wrong spot cfset this otherthing =

RE: SPAM: Re: SOT: Aptana plugin within Flex Builder 3

2008-03-11 Thread Andy Matthews
Got it Nathan...thanks. -Original Message- From: Nathan Strutz [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 10:51 AM To: CF-Talk Subject: SPAM: Re: SOT: Aptana plugin within Flex Builder 3 Andy, There is a download link, but you've got to dig for it. You can click the

Re: Bluedragon = open source

2008-03-11 Thread Tanguy Rademakers
Exactly. We don't want someone adding cfFooBar to their engine, whilst another uses cfBarFoo (or doesn't have it at all). Ideally I can take a project and run it with no changes on Adobe, or Railo, or Smith, or BD, or ... So i guess this means the CFML language is now set in stone

Re: Naming Forms randomly

2008-03-11 Thread Phillip Perry
Thank you. This is the answer I was looking for. I knew there was another way to refer to the separate forms but I haven't been coding for quite a while so my mind got caught wrapped around the naming form idea. Thanks again. On Tue, Mar 11, 2008 at 1:39 PM, Claude Schneegans [EMAIL PROTECTED]

Re: Bluedragon = open source

2008-03-11 Thread Chris Jordan
Let's give this announcement some link love! http://www.dzone.com/links/open_source_cfml_engine_on_the_way.html http://digg.com/software/New_Atlanta_announces_free_open_source_BlueDragon_edition I'm sure there are others out there. Let's talk this up! On Tue, Mar 11, 2008 at 1:14 PM, Tanguy

RE: Bluedragon = open source

2008-03-11 Thread Mark Fuqua
I'm pretty sure they meant 'someone' like you or me...that's the idea of NA having a steering committee to determine what gets included in the code base...at least that's how I understand it. -Original Message- From: Tanguy Rademakers [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11,

Re: Naming Forms randomly

2008-03-11 Thread Phillip Perry
Something just occured to me. If i make a hidden field and put the ID value in there, Wouldn't the name of the field be the same for every form? so naming the hidden field somevar wouldn't work. cfset myvar=form.somevar would have a value of whatever the last form has correct? On Tue, Mar 11,

Re: Naming Forms randomly

2008-03-11 Thread Aaron Rouse
I have seen some people just do it off the value of the Submit button. Although kind of sucks when they change the value in the button but forget to change their switch/case or if/else on the processing end of things. On Tue, Mar 11, 2008 at 12:47 PM, Dominic Watson [EMAIL PROTECTED] wrote:

Re: Naming Forms randomly

2008-03-11 Thread Claude Schneegans
If i make a hidden field and put the ID value in there, Wouldn't the name of the field be the same for every form? Not if you're wise enough to use a separate hidden field with a different id for each form ;-) Keep in mind that only ONE form gets to the action page. --

cfcalendar

2008-03-11 Thread Rick Sanders
OK, now I'm confused! I'm using cfcalendar and it's reversing my dates! Today is March 11, and the calendar is displaying November 3rd! Here's my code: cfset currdate = now() cfoutput cfset startdate=#dateformat(currdate, 'mm/dd/')# cfset enddate=#dateformat(currdate,

CFPOP #Body# and carriage returns

2008-03-11 Thread Steve Good
I am pulling data from a pop3 server using the cfpop tag and everything is working smoothly, but I noticed that there are no carriage returns in the body of the emails. Do I need to specify a delimiter or anything or am I just SOL? -- ~Steve http://goodcf.instantspot.com/blog

Flash Forms Not Working In CF 8

2008-03-11 Thread Michael Payne
We are building a new site using a CF 8 hosting company, and everything seems to work fine except for forms which include the cfform format=Flash. Even the simplest of code will not display the flash. For example: cfform format=flash cfinput type=text name=firstname cfinput type=submit

RE: CFPOP #Body# and carriage returns

2008-03-11 Thread Brad Wood
How are you outputting the body of the E-mail? If you are simply outputting it on an HTML page, you will need to replace carriage returns/line feeds with br tags since HTML ignores them. Either that, or place the output in pre tags. I'm assuming you are dealing with a plain text E-mail. That

QofQ Date Comparison Problem...

2008-03-11 Thread Che Vilnonis
How can I compare dates in a QofQ date comparison? See code snippet below. Thanks, Che cfset threeMonthsAgo = dateformat(dateAdd(m, -3, now()), m/d/) cfset dirArt = ExpandPath(../) emailblast cfdirectory action=LIST directory=#dirArt# name=getArt

Re: CFPOP #Body# and carriage returns

2008-03-11 Thread Steve Good
I am indeed working with plain text emails. I will eventually be outputting the body in html. Thanks for the push in the right direction. ~Steve http://goodcf.instantspot.com/blog Brad Wood wrote: How are you outputting the body of the E-mail? If you are simply outputting it on an HTML

Re: Flash Forms Not Working In CF 8

2008-03-11 Thread Rob Parkhill
Michael, You have to have access to the CFIDE directory. If you view the source on the page you have listed, you will see that it is looking for some JS in this directory. Copy the directory from your development theme to your hosted site.. You don't need the whole thing I don't think, but

Re: QofQ Date Comparison Problem...

2008-03-11 Thread Sonny Savage
IIRC: '-MM-DD' On Tue, Mar 11, 2008 at 3:37 PM, Che Vilnonis [EMAIL PROTECTED] wrote: How can I compare dates in a QofQ date comparison? See code snippet below. Thanks, Che cfset threeMonthsAgo = dateformat(dateAdd(m, -3, now()), m/d/) cfset dirArt = ExpandPath(../) emailblast

Re: QofQ Date Comparison Problem...

2008-03-11 Thread Charlie Griefer
On Tue, Mar 11, 2008 at 12:37 PM, Che Vilnonis [EMAIL PROTECTED] wrote: How can I compare dates in a QofQ date comparison? See code snippet below. Thanks, Che cfset threeMonthsAgo = dateformat(dateAdd(m, -3, now()), m/d/) cfset dirArt = ExpandPath(../) emailblast cfdirectory

RE: Flash Forms Not Working In CF 8

2008-03-11 Thread Michael Payne
Thanks Rob, I have forwarded this to the hosting company, as we don't have access to that directory. Ill let you know how it turns out. Thanks for the quick response, Michael -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 4:45 PM To:

RE: QofQ Date Comparison Problem...

2008-03-11 Thread Che Vilnonis
Point #1. True. I guess I thought it was obvious. Points #23... I've tried that. I get the following... Error Executing Database Query. brbQuery Of Queries syntax error./bbr Encountered 2007 at line 0, column 0. -Original Message- On Tue, Mar 11, 2008 at 12:37 PM, Che Vilnonis [EMAIL

Re: QofQ Date Comparison Problem...

2008-03-11 Thread Sonny Savage
Did you try '-MM-DD'? cfquery name=filteredArt dbtype=query select name from getArt where type = 'file' and datelastmodified '#dateFormat(threeMonthsAgo, -MM-DD)#' /cfquery On Tue, Mar 11, 2008 at 3:54 PM, Che Vilnonis [EMAIL PROTECTED] wrote: Point #1. True. I guess

RE: QofQ Date Comparison Problem...

2008-03-11 Thread Che Vilnonis
Yes, I did. I even tried using the CAST function. No luck either way. -Original Message- From: Sonny Savage [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 3:56 PM To: CF-Talk Subject: Re: QofQ Date Comparison Problem... Did you try '-MM-DD'? cfquery name=filteredArt

Re: Flash Forms Not Working In CF 8

2008-03-11 Thread Rob Parkhill
Michael, it is usually faster to just upload it, like I said from your local development copy. My hosting company just told me to upload it, as that way, I a) had what I wanted b) they didn't have to expose anything to me regarding server set-up, and I didn't have to reprogram. If they don't

CFHTTP and NTLM with GoogleMini

2008-03-11 Thread Brent Nicholas
Howdy all. So I know CFHTTP does not support NTLM or Windows Integrated, but that's the situation I'm in. I've got a GoogleMini indexing an intranet that uses Windows Integrated Authentication. The GoogleMini does just fine indexing it and I can search just fine through the form I made *after

RE: CFPOP #Body# and carriage returns

2008-03-11 Thread Brad Wood
Glad I could help. Here is a snippet of code I have used before when I need to output plain text in HTML. It escapes special HTML characters like and it preserves line breaks as well as tabs. The reason I replace line feeds separately a second time, is sometimes you get line feeds without

Re: QofQ Date Comparison Problem...

2008-03-11 Thread Sonny Savage
Darn it... I'm pretty sure I did this while working for a previous employer, if only I could remember how... Is simply hitting the DB again out of the question? On Tue, Mar 11, 2008 at 4:00 PM, Che Vilnonis [EMAIL PROTECTED] wrote: Yes, I did. I even tried using the CAST function. No luck

RE: QofQ Date Comparison Problem...

2008-03-11 Thread Che Vilnonis
Nah. I just filtered out the results during the cfloop. I just wanted to try a more elegant solution first. -Original Message- From: Sonny Savage [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 4:22 PM To: CF-Talk Subject: Re: QofQ Date Comparison Problem... Darn it... I'm

RE: CFHTTP and NTLM with GoogleMini

2008-03-11 Thread Russ
How about something like this: http://www.luigidragone.com/networking/ntlm.html If it works, you should be able to use that to authenticate... Russ -Original Message- From: Brent Nicholas [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 5:13 PM To: CF-Talk Subject: CFHTTP

Re: Bluedragon = open source

2008-03-11 Thread Casey Dougall
Isn't the point of this whole thing to spread the use of cfml, and to such end, to have a cfml engine installed on every linux hosting company offering PHP, wouldn't this be where the blue dragon open source version of their product is going to be put to the test? Every $5 a month hosting company

Re: Naming Forms randomly

2008-03-11 Thread Dominic Watson
I have seen some people just do it off the value of the Submit button. Although kind of sucks when they change the value in the button but forget to change their switch/case or if/else on the processing end of things. You can do that, but if your user hits return to submit the form, the

Re: cfcalendar

2008-03-11 Thread Dominic Watson
Try changing the format of your dates... cfset startdate=#dateformat(currdate, '-mm-dd')# cfset enddate=#dateformat(currdate, '-mm-dd')# cfset selectdate=#dateformat(currdate, '-mm-dd')# It strikes me that mm-dd- is an illogical way to write a date, but that's just me being

Duh question of the day...

2008-03-11 Thread Che Vilnonis
Say you have a CFC with 6 functions. Each function has a structure like this: cffunction cfset var q = cfquery name=q datasource=#application.dsn# cachedwithin=#CreateTimeSpan(1,0,0,0)# sql stuff here. /cfquery cfreturn q /cffunction Because each query is named q and cached, does q get

Re: cfcalendar

2008-03-11 Thread morgan l
It strikes me that mm-dd- is an illogical way to write a date, but that's just me being provocative ;) Which is, of course, precisely why we use it here in the US. Yes, please, let's place the most oft changed value of the date between the other parts.

Re: Duh question of the day...

2008-03-11 Thread Barney Boisvert
No, because you use the var keyword in the CFSET. That means you get a brand new copy of the 'q' variable for each function definition. cheers, barneyb On Tue, Mar 11, 2008 at 1:48 PM, Che Vilnonis [EMAIL PROTECTED] wrote: Say you have a CFC with 6 functions. Each function has a structure like

Re: cfcalendar

2008-03-11 Thread Dominic Watson
Which is, of course, precisely why we use it here in the US. Yes, please, let's place the most oft changed value of the date between the other parts. lol not just me then. Dominic -- Blog it up: http://fusion.dominicwatson.co.uk

Re: CFHTTP and NTLM with GoogleMini

2008-03-11 Thread Brent Nicholas
Russ, Thanks for the reply, but I doubt the govt. will let me use it. How about something like this: http://www.luigidragone.com/networking/ntlm.html If it works, you should be able to use that to authenticate... Russ

RE: Duh question of the day...

2008-03-11 Thread Rich
Since you var scoped the query name, the variable q becomes local to the method. If you were to remove the var scoping, it would leak into the variables scope, and (under load) would have caused strange behavior, and would make it very hard to track down the source of the bug. This is the reason

Re: Bluedragon = open source

2008-03-11 Thread Jordan Michaels
Isn't the point of this whole thing to spread the use of cfml, and to such end, to have a cfml engine installed on every linux hosting company offering PHP, wouldn't this be where the blue dragon open source version of their product is going to be put to the test? Precisely, and I really do

Re: What are the Necessary Code Changes for Migrating from 6.1 to 8?

2008-03-11 Thread Jochem van Dieten
Aaron Rouse wrote: True, but I might be completely wrong on this but I thought if someone made an ASP.NET application on say the 2.0 Framework that if the server was brought to the 3.5 Framework that the application would still run under the 2.0, so that would prevent potential errors related

RE: Bluedragon = open source

2008-03-11 Thread Brad Wood
If the above is truly their intention, this is HUGE for the CF Community. == Trust me-- I am excited to see what this will bring too; however, if an open source CFML engine is such a door-opener, then why hasn't everyone jumped on the Smith Project and proliferated

RE: Bluedragon = open source

2008-03-11 Thread Russ
I remember last time I looked at the CF alternatives, BD was the only one that seemed mature. Others seemed to be either in early stages or have started charging and at that point weren't worth the trouble switching to IMHO. A free CFML engine that's fairly compatible with Adobe's engine would

RE: CFHTTP and NTLM with GoogleMini

2008-03-11 Thread Russ
Are you saying the government won't let you use a java library? I know the government can be retarded, but not letting you use java libraries? I mean they're free to review the source code to make sure it's not going to steal any of their secrets, which I doubt are even worth stealing. I've

RE: CFHTTP and NTLM with GoogleMini

2008-03-11 Thread Russ
Also how do you know that CFHTTP won't work? Have you tried it? If firefox works, then CFHTTP should work, I would think, since only IE supports integrated authentication. Russ -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 5:40 PM To:

Re: Naming Forms randomly

2008-03-11 Thread Phillip Perry
Keep in mind that only ONE form gets to the action page. This helps, kinda. The way i have the form now 1 form is made for each item in the session. I guess I need to remake my form so that only one gets made and separate buttons/submit buttons get sent to the action page.

Re: What are the Necessary Code Changes for Migrating from 6.1 to 8?

2008-03-11 Thread Aaron Rouse
I know it can be done but I have yet to encounter a place running more than one version of CF and actually most are not even willing to buy another version of CF after their first initial purchase. Now if someone has an app that works specifically on an older version of CF, do they get the option

RE: What are the Necessary Code Changes for Migrating from 6.1 to 8?

2008-03-11 Thread Russ
Apparently someone on here had trouble even finding an install file for CF 6, and Adobe was no help. They should probably Adopt a policy like MS has with downgrade rights. If you buy CF8, you can use CF7 or CF6 instead using the same license... Russ -Original Message- From: Aaron

Re: What are the Necessary Code Changes for Migrating from 6.1 to 8?

2008-03-11 Thread Aaron Rouse
Ah, just wondered on that. I think a group at our work has a CF6 app that they can not take ot CF7 due to some change with verity. Something about copying files from one box to another, but maybe it is they are stuck on CF5 due to a change. I honestly do not recall enough of the details just

Is there a way to find a CFcookie's age?

2008-03-11 Thread Don L
I've being using CFCOOKIE for years, and yet just find out I need to know a cfcookie's age like how many days since the cookie was last created (not session only type), not aware of a way to do that, just double check the livedoc as well. If it can't no big deal. Thanks.

  1   2   >