Re: BlueDragon 6.2/.NET Released!

2005-03-24 Thread Joe Rinehart
Actually, I think just one (12 pts) is enough for A-level. Pretty cool, no? -Joe On Thu, 24 Mar 2005 06:45:06 -0500, Calvin Ward [EMAIL PROTECTED] wrote: I think purchasing 2 CFMX 7 Enterprise licenses (4 CPUs) will qualify you for the MVLP program, so there should be a decent discount

Re: help-a-noob: Null Pointers

2005-03-27 Thread Joe Rinehart
They're equivalent, but you don't need any #'s at all: cfset diff = DateDiff(d, Now(), deadline) / -Joe On Sun, 27 Mar 2005 08:26:27 -0400, Will Tomlinson [EMAIL PROTECTED] wrote: Shouldnt line 149 read: CFSET diff = #DateDiff(d, Now(), deadline)# Originally your pounds are on the

Re: help-a-noob: Null Pointers

2005-03-27 Thread Joe Rinehart
Shouldn't, but it's harder to read w/ #'s. On Sun, 27 Mar 2005 11:32:19 -0400, Will Tomlinson [EMAIL PROTECTED] wrote: They're equivalent, but you don't need any #'s at all: cfset diff = DateDiff(d, Now(), deadline) / Joe, I know it's not a biggie, but that means the #'s actually

Re: help-a-noob: Null Pointers

2005-03-27 Thread Joe Rinehart
No, probably not to a noticeable degree. I imagine it's probably none at all - probably winds up with same bytecode in the end? -Joe -- For Tabs, Trees, and more, use the jComponents: http://clearsoftware.net/client/jComponents.cfm

Re: just noticed this when validating email

2005-03-28 Thread Joe Rinehart
cfif getquery.theID EQ blablah do this /cfif The same thing in JS goes somethin like this. if (getquery.theId == blablah) { doThis(); } Seems similar to me :) Symbollic language is powerful in that it gives those who speak it a common vocabulary that lets them express like ideas without

Re: Best practice question?

2005-03-28 Thread Joe Rinehart
I'm half-tempted to expand Model-Glue to treat CGI in the same manner. It'd be nice to have one big untrustable scope for validation and security purposes. However, thinking along that line, I should also include Cookie, but that's getting into four layers of priority, which could be confusing.

Re: Is BlueDragon.NET the greatest thing since sliced bread?

2005-03-28 Thread Joe Rinehart
If some joe off the street started making posts about their blog in here I might have the same reaction Jim did. ;) Hey now, as a Joe who has a blog, I resemble that! I installed BlueDragon on .NET for the first time the other day, and found it a relatively smooth experience. I expected to

Re: ooa, ood, oop and design patterns

2005-03-28 Thread Joe Rinehart
Hey Brian, You may want to check out the CFCDev list - http://www.cfczone.org/listserv.cfm . It's not as heavily trafficed as this one, but there are some heavy OO conversations there from time to time. The Mach-II and Tartan mailing lists can also be interesting. -Joe -- Get Glued! The

Re: Expanding Wikipedia content

2005-03-28 Thread Joe Rinehart
Very cool! I learned some things. I expanded code samples a bit with how to declare a function and a class. Maybe we should declare a cease-fire on linking to personal blogs and leave it with Goog and Markme? (Not aimed at anyone in particular). On Mon, 28 Mar 2005 17:26:21 -0500, Damien

Re: Alternating Row Colour - Sorta

2005-03-29 Thread Joe Rinehart
This should work, if I understand the result correctly (alternate color by day, not by row). !--- Fake Query --- cfset qEvents = queryNew(label,event_date) / cfset queryAddRow(qEvents, 11) / cfset querySetCell(qEvents, label, Mon - event 1, 1) / cfset querySetCell(qEvents, label, Mon - event 2,

Re: how to check CF version

2005-03-29 Thread Joe Rinehart
server.coldfusion.productversion In MX+, you can CFDump the server scope to find all out sorts of things. -Joe On Tue, 29 Mar 2005 11:17:38 -0400, daniel kessler [EMAIL PROTECTED] wrote: I searched the archives but I can't figure out how to check the version of CF that's on our server. I

Re: Best practice question?

2005-03-29 Thread Joe Rinehart
FORM and URL are tied to user submitted fields, while CGI and Cookie are usually not so. - Calvin -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: Monday, March 28, 2005 7:28 PM To: CF-Talk Subject: Re: Best practice question? I'm half-tempted to expand

Re: dynamic pdf creation

2005-03-29 Thread Joe Rinehart
ColdFusion MX 7 makes it a breeze. Dunno if anyone had mentioned it yet... -Joe On Tue, 29 Mar 2005 14:10:35 -0400, daniel kessler [EMAIL PROTECTED] wrote: Bryan the broken record says try HTML2PDF3 ;-) I am looking into it. I've not used a custom tag before so I don't know much about

Re: plum missing mscoree.dll

2005-03-29 Thread Joe Rinehart
dre, Do you have the Microsoft .NET framework installed? On Tue, 29 Mar 2005 12:16:14 -0800, DRE [EMAIL PROTECTED] wrote: Hi, I'm checking out the plum ide and it doesnt load right. It gives an error saying it cant find the file mscoree.dll on the server. if someone is using plum, can you

Re: Database Model Suggestions - Elections

2005-03-29 Thread Joe Rinehart
Ruby on Rails, a framework gaining popularity quickly in the Java set, respected by zen-coder bigwigs, relies extensively on database tables being plural. In the end, I think it's an old argument, and that it's probably more important to be consistent than anything else. -Joe On Tue, 29 Mar

Re: Database Model Suggestions - Elections

2005-03-29 Thread Joe Rinehart
Hey Dave, Oops!...I in no way meant to imply that Ruby on Rails uses Java, just that they seem to be targeting the JSP market as their main market of Ruby on Rails converts. There's no reason, though, you can't be a member of both sets. Sorry if I caused anyone any confusion - I brought it up

Re: Database Model Suggestions - Elections

2005-03-29 Thread Joe Rinehart
Hey Rick, A constraint does just what it says - it enforces a rule. A foreign-key constraint refers to a type of constraint that, when placed on a column in one table, makes sure any values in that column reference a value in a column in a second (foreign) table. Basically, if I had the

Re: Database Model Suggestions - Elections

2005-03-29 Thread Joe Rinehart
Hey Rick, A constraint does just what it says - it enforces a rule. A foreign-key constraint refers to a type of constraint that, when placed on a column in one table, makes sure any values in that column reference a value in a column in a second (foreign) table. Basically, if I had the

Re: Trigger query without a page Reload?

2005-03-30 Thread Joe Rinehart
Paul, I'd search the archives of this list for Neuromancer and Ajax - ways of posting to services using Javascript / XML, and updating the shown page with DOM manipulation when a result is returned. -Joe On Wed, 30 Mar 2005 14:34:55 -0500, Paul Henderson [EMAIL PROTECTED] wrote: Not sure if

Re: SQL prob

2005-04-05 Thread Joe Rinehart
Hey Matt, From a semantic (easier / easier to read standpoint), using the (currently) standard JOIN sytax seperates your query nicely. When you use it, the FROM clause becomes where all your relations are defined, and the WHERE clause simply becomes filtering on everything you've JOINed

Re: SQL prob

2005-04-05 Thread Joe Rinehart
I don't think one test can be seen as proof of either way being better or faster - there's a lot more that goes into DB performance than JOIN vs. =. Indexes, constraints, what mood your OS is in, etc. True story: a company I worked for had to fire a Microsoft Certified Professional (actually, an

Re: SQL prob

2005-04-05 Thread Joe Rinehart
I don't think one test can be seen as proof of either way being better or faster - there's a lot more that goes into DB performance than JOIN vs. =. Indexes, constraints, what mood your OS is in, etc. True story: a company I worked for had to fire a Microsoft Certified Professional (actually, an

Re: SQL prob

2005-04-05 Thread Joe Rinehart
Also, instead of running the queries (not a very valid test unless you do each way many times under similar conditions), try looking at estimated execution plans, etc. You'll probably notice that in a lot of cases the optimizer (in SQL server, at least) will create the same execution plan for

Re: SQL prob

2005-04-05 Thread Joe Rinehart
I don't feel that this sort of because-you-might-not-be-smart-enough type of argument is a good reason to do anything one way or another. I don't think that Dave was saying people shouldn't use *= because they might not be smart enough. I think that good developers like Dave recognize

Re: Error Message No more data available to read. on CFMX 6

2005-04-05 Thread Joe Rinehart
I get it sometimes when SQL server or CF is cycling - I'd try restarting both. -Joe On Apr 5, 2005 3:09 PM, Mosh Teitelbaum [EMAIL PROTECTED] wrote: All: After moving a site to what will ultimately be its production server, I began receiving the following error message when trying to

Re: Cfchart newbie ?

2005-04-05 Thread Joe Rinehart
No worries man, I've used Access too :) I was never a fan of CFChart until MX 7 came out - if you need to do charting or reporting, you really should check it out now, it's quite amazing. -Joe ~| Find out how CFTicket can

Re: Best price for CFMX 6.1 or 7

2005-04-11 Thread Joe Rinehart
Unless you're after the new stuff in CFMX7, BlueDragon is pretty nice - I just started doing some work with it, and really don't notice the difference. -Joe On Apr 9, 2005 4:47 PM, Will Tomlinson [EMAIL PROTECTED] wrote: I tried Blue Dragon when it was first released and it didn't support a lot

Re: Just a nice little feature for your clients

2005-04-13 Thread Joe Rinehart
Hey Will, One thing I've done along these lines is to record both the top seaches and the top results clicked for the top searches. I set off the top few at the top in a different color, kind of like Google's Sponsored Links section. Makes a nice Other users seaching for Sandals liked: kinda

Re: .Net Web Service HELP!

2005-04-13 Thread Joe Rinehart
Hey guys, You might also like convertDotNetDataset() (http://clearsoftware.net/client/convertDotNetDataset.cfm) - accounts for multi-table datasets, which is where I hit a wall with DotNetGlue. Cheers, Joe On 4/13/05, Kevin Aebig [EMAIL PROTECTED] wrote: Check out DotNetGlue... we use it for

Re: DSN-Less Connection in MX??

2005-04-14 Thread Joe Rinehart
Dan, The DSN-less connections from CF 5 don't work in MX and above - there are, however, workarounds for both. Are you using MX or MX 7? -Joe On 4/14/05, Daniel Kang [EMAIL PROTECTED] wrote: Is it possible to set up DSN-Less Connection in MX? cfset MyConnectString = Driver={Microsoft

Re: Dynamic sort/order by Questions...

2005-04-15 Thread Joe Rinehart
Note that clipower is no-go in firefox -Joe On 4/15/05, Connie DeCinko [EMAIL PROTECTED] wrote: Also, take a look at these controls: http://www.geocities.com/clipower/ -Original Message- From: Jeff Waris [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 7:29 AM To: CF-Talk

Re: Making this cfchart work

2005-04-20 Thread Joe Rinehart
Will, To get the number of times a term appears, try grouping by searchterm and doing a COUNT() aggregate - then just do a CFChart bound to the query. -Joe On 4/20/05, Will Tomlinson [EMAIL PROTECTED] wrote: I wanted to make a simple chart out of my tblsearches - searchID, searchterm I

Re: Decrypting CFR files?

2005-04-25 Thread Joe Rinehart
Kenton, I believe doing this would be a violation of your license. What portion of your report is causing this error? Also, for adding more reporting capabilities, you can get a lot of mileage out of using the query builder's advanced mode, where you can cfinclude your own files, call services

Re: Script timing?

2005-04-25 Thread Joe Rinehart
If you're using CFMX7, the CFTrace tag can help out with this. Pre-7, you can get the same kind of results by using the GetTickCount() function, such as: cfset lastTick = GetTickCount() / !--- do something big and ugly --- cfoutputThat took: #GetTickCount() - lasttick#ms/cfoutput -Joe On

Re: CrystalTech Users Beware

2005-04-25 Thread Joe Rinehart
dedicated server, I've got a pair of red size 26 Es just for you. If I buy two pairs, do I get a free red nose that goes *HONK*? I've got a wedding in a few days. Joe -- Get Glued! The Model-Glue ColdFusion Framework http://www.model-glue.com

Re: Stupid XML question

2005-04-26 Thread Joe Rinehart
Hey Matt, If you're using CFMX 6.1, I'd dump SoXML and go straight to the native XML capabilities. It'd look like this: cfset variables.thisxml=?xml version=1.0 encoding=UTF-8? ww_javagame ww_cpid0425070052843/ww_cpid ww_statuscode2001/ww_statuscodeww_statusmsgwoo hoo/ww_statusmsg /ww_javagame

Re: How to loop over this struct and give me a total?

2005-04-28 Thread Joe Rinehart
Will, Why do you reference variables.cart in your function? It'd be more of a best practice to pass GetCartTotal the cart in question, like so: cffunction name=GetCartTotal access=public returntype=numeric output=true hint=Show total of cart in dollars cfargument name=cart

Re: cfcomponent state persistence

2005-04-28 Thread Joe Rinehart
Hey Ben, It's not a stupid question at all. An instance of a CFC is like any other variable, and defaults to the variables/unnamed scope, so you're right in that it only lasts within the current page. If you use cfinvoke, the instance is never placed into any scope - instead, the result you

Re: logic digression (was Re: Microsoft sponsoring CFUNITED-05)

2005-04-29 Thread Joe Rinehart
That's incorrect. Knowledge of symbolic logic is pretty important for programmers, so you may want to crack those books open again. Being annoying is necessary for being alive, according to Ms Atwood, but it is not sufficient. But there's the condition really alive in her quote that's

Re: Using .NET to pass struct to CF webservice

2005-05-12 Thread Joe Rinehart
DotNetGlue will work for consuming simple (one table) .NET DataSet return values - I looked into how it worked a while back and created the ConvertDotNetDataset function (Google will find it) that'll consume complex (multi-table) .NET DataSets, converting them into a struct of named queries (since

Re: CF Blog shootout

2005-05-12 Thread Joe Rinehart
- photo blogs That would be awesome! Since I bought BlogFusion which includes a photoblog, I might stick to BlogCFC for regular blogging and add another photo blog seperately for photos with BlogFusion. Hey Stephen, I'll be releasing a util for BlogCFC that handles photos shortly :)

Re: Looping over Form.Fieldnames

2005-05-13 Thread Joe Rinehart
Scott, Maybe give: cfif structKeyExists(attributes, invoice i),#attributes[invoice i]#/cfif a whirl? Cheers, Joe On 5/13/05, SStewart [EMAIL PROTECTED] wrote: Yeah, I know He's back again :-) Anyways, I'm trying loop over a set of form fields, stopping the loop when I hit a specific

Re: Looping over Form.Fieldnames

2005-05-13 Thread Joe Rinehart
Maybe give: cfif structKeyExists(attributes, invoice i),#attributes[invoice i]#/cfif a whirl? Cheers, ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting

Re: Man, this is so OT...

2005-05-13 Thread Joe Rinehart
Either black with a white Move to CF-Community logo, or white with a black Move to CF-Community logo. ;) -Joe On 5/13/05, Will Tomlinson [EMAIL PROTECTED] wrote: Don't attack me for posting this question. Just trust me. What color teeshirts do most of you like to wear? And if you had a

Re: Execution order

2005-05-16 Thread Joe Rinehart
Kevin, CF is top-down, so all recursive calls must complete before execution will continue past the first recursive calls. -Joe On 5/16/05, Kevin Aebig [EMAIL PROTECTED] wrote: Quick question... when using recursion, does CF use a stack or does execution continue to run while new function

Re: Fusebox, Mach-II, GlueCode... the Oscar goes to...

2005-08-10 Thread Joe Rinehart
Shrug...I don't think there is one. It depends on what you need. I wrote Model-Glue, but I'm sitting here using Fusebox because it makes the most sense for the project I'm working on. -Joe On 8/10/05, Michel Deloux [EMAIL PROTECTED] wrote: Personal point of view: choose the best Framework for

Re: Output XML Object as Text

2005-08-15 Thread Joe Rinehart
Kevin, Use ToString(xmlDocument) first. htmlEditFormat(toString(variables.xmlOrder)) -Joe On 8/15/05, Kevin Bridges [EMAIL PROTECTED] wrote: I can dump the xmlObject and navigate it in the browser. using htmlCodeFormat(variables.xmlOrder) returns [EMAIL PROTECTED] while using

Re: Adjust line spacing in Report Builder

2005-08-15 Thread Joe Rinehart
I'm really not trying to sound like a wiseass, and I haven't used the Report Builder in a few months, but can't you just drag the fields further apart in the designer? -Joe On 8/15/05, Rick King [EMAIL PROTECTED] wrote: I'm trying to adjust the leading in a report I'm making using Report

Re: Language...

2005-08-15 Thread Joe Rinehart
While I think we all, within some margin of error, agree on what is and isn't appropriate language, we also all know (as good developers), that they're really isn't much that can be done about people being inappropriate. So, when I see people doing something I consider appropriate, I just let it

Re: Language...

2005-08-15 Thread Joe Rinehart
Errr, make that something I consider *IN*-appropriate. On 8/15/05, Joe Rinehart [EMAIL PROTECTED] wrote: While I think we all, within some margin of error, agree on what is and isn't appropriate language, we also all know (as good developers), that they're really isn't much that can be done

Re: Copy record from query into structure

2005-08-16 Thread Joe Rinehart
I wrote a little QueryTool cfc that does stuff like this a while back, feel free to use/abuse it: http://clearsoftware.net/client/queryTool.cfm -Joe On 8/16/05, Robert Everland III [EMAIL PROTECTED] wrote: Is there a way to copy an entire record from a query into a structure. I can reference

Re: Need help to open a door!

2005-08-23 Thread Joe Rinehart
If you can create a COM wrapper for the .NET component, you may be able to use it from CF. Alternatively, you could create a command-line executable that opens the door, and then CFExecute it. -Joe On 8/23/05, Catherine Madsen [EMAIL PROTECTED] wrote: Hi, I'm creating a CF application that

Re: Tapestry

2005-08-30 Thread Joe Rinehart
http://jakarta.apache.org/tapestry/downloads.html On 8/30/05, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Can you get a download anywhere or do you have to pay? This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division

Re: Tapestry

2005-08-30 Thread Joe Rinehart
lol. Sorry about that. Do you mean the OnTap framework? -Joe On 8/30/05, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Nah, I mean Isaac's tool ;-) -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: 30 August 2005 12:13 To: CF-Talk Subject: Re

Re: Printing with Coldfusion

2005-08-31 Thread Joe Rinehart
If you just need the file, why not skip the printer driver? You can use CFDocument in CF7 to generate a PDF file, then do whatever you want with it (CFMail it, CFFtp it, etc.). -Joe On 8/31/05, Rick Root [EMAIL PROTECTED] wrote: I have a need for a coldfusion application to generate a document

Re: Calling php class / function from a cfc

2005-09-06 Thread Joe Rinehart
Bram, If you want to do away with PHP altogether, there are a couple implementations of resizing images in CF floating around. Doug Hughes (www.alagad.com) has a great one (alagad image component) that's pretty cheap. You can also write your own in Java for free. -Joe On 9/5/05, Bram Plessers

Re: funky strings in CFCs?

2005-09-08 Thread Joe Rinehart
Hey Paul, That's weird...I'd make sure the getAccount() (and all other getters) have output=false appliedotherwise, you may get a line break in the value if you do INSERT cfqueryparam...value=#foo.getXXX()# Cheers, Joe On 9/8/05, Paul [EMAIL PROTECTED] wrote: I'm getting results from

Re: funky strings in CFCs?

2005-09-08 Thread Joe Rinehart
Hey Paul, That's weird...I'd make sure the getAccount() (and all other getters) have output=false appliedotherwise, you may get a line break in the value if you do INSERT cfqueryparam...value=#foo.getXXX()# Cheers, Joe

Re: Is my site working in the US?

2005-09-21 Thread Joe Rinehart
Yup, it's up, how can a Yank get his hands on a Fremont Jersey?? -Joe On 9/20/05, Mike | NZSolutions Ltd [EMAIL PROTECTED] wrote: sorry to be a pain, can any USA'ers have a quick check that http://www.solocc.com is live at the moment. regards mike (i have a very paranoid client !!)

Re: restricting cfoutput character length

2005-09-28 Thread Joe Rinehart
cfoutput cfif len(myTitle) gt 15 #left(myTitle, 15)#... cfelse #myTitle# /cfif /cfoutput -Joe On 9/28/05, Stuart Kidd Saturday [EMAIL PROTECTED] wrote: Hi, I'm trying to do something which i can imagine is very simple but can't find the function. When i display a title

Re: image manipulation in coldfusion?

2005-10-04 Thread Joe Rinehart
I'd check out the Alagad Image Component at www.alagad.com - it's native CF. While it's not free, it's so cheap that you'll make back the dough the first time you use it in terms of time saved. -Joe On 10/4/05, Andy Matthews [EMAIL PROTECTED] wrote: So I'm wondering what some of you use to

Re: Make a loop repeat and control timing?

2005-10-04 Thread Joe Rinehart
Hi Les, I use a new Java thread and sleep it: cfset thread = CreateObject(java, java.lang.Thread) cfloop cfset thread.sleep(2) /cfloop Hope that helps, Joe On 10/4/05, Les Mizzell [EMAIL PROTECTED] wrote: Is there any way to force CFLOOP into an endless loop, using cfsleep to control

MySQL - Odd INT values returned when cfqueryparam is used

2005-10-04 Thread Joe Rinehart
I'm having an odd MySQL issue and was wondering if anyone knew what it's up to. If I run (some code obviously omitted): cfquery SELECT someIntField WHERE someField = cfqueryparam / /cfquery I get odd values (like 43234534 instead of 2) for someIntField. If I run the same qry w/o

Re: CFSavecontent vs. multiple CFSets

2005-10-11 Thread Joe Rinehart
Hi Michael, Is this one of the opinion questions you ask where you already know your own answer? :) I'd use the CFSaveContent method, but using CFXml instead of CFSaveContent - works the same, but validates the XML and created an XMLDocument object that can by turned into a string via

Re: Rounding...

2005-10-11 Thread Joe Rinehart
Hey Jeff, Try: cfset foo = 155 / cfset bar = ceiling(foo / 10) * 10 / cfoutput#bar#/cfoutput -Joe On 10/11/05, J W [EMAIL PROTECTED] wrote: I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10.

Re: CFC Lifecycle

2005-10-13 Thread Joe Rinehart
Hey Andy, If I create an instance of a CFC on my page, carry out some processing and then do cflocate to another page am I correct in assuming that my CFC instance is now gone and if I wish to re-use it I must create another instance of it? Exactly! A CFC instance is just a variable like

Re: Best way to access CFC's?

2004-11-29 Thread Joe Rinehart
If you're component is stateful, you'll want to invoke methods on the same instance of the component instead of continually creating new instances. !--- Instantiate a component that adds two numbers --- cfset myAdder = createObject(component, addsTwoNumbers) / !--- Set first number --- cfinvoke

Re: Incremental CFCONTENT?

2004-11-29 Thread Joe Rinehart
Dov, Unfortuantely, nope. This might be one approach you could take: cfsavecontent variable=output htmlheadbody /cfsavecontent cffile action=write file=header-static-html.txt output=#output# cfsavecontent variable=output yada yada yada /cfsavecontent cffile action=write

Re: CF and Gantt charts

2004-11-29 Thread Joe Rinehart
I think DENG may support basic SVG shapes etc. It's a Flash interpreter for xForms, css, xhtml, and svg. http://claus.packts.net/deng/features.php On Tue, 30 Nov 2004 00:49:59 +, Simon Horwith [EMAIL PROTECTED] wrote: not that I know of - but yes - it would be cool. There is, on the

Re: URGENT - My Login works but ONLY on 2nd attempt.

2004-12-01 Thread Joe Rinehart
Shawn, Are you setting a cookie then doing cfLocation? On Wed, 01 Dec 2004 12:57:25 -0400, Shawn Contreras [EMAIL PROTECTED] wrote: Hello, I have a quick login that utilizes only an email address check against the Access database. Several programmers have looked at the code and say it

Re: cfargument ?? Driving me nuts, bolts and screws

2004-12-02 Thread Joe Rinehart
Dwayne, Try using the CFINVOKEARGUMENT tag to pass the argument. It's cumbersome, and why most of us would call the method ECMA style instead of with cfinvoke/cfinvokeargument. I.e.: !--- assume myObject is the object you've created --- !--- Rely on ordered params --- cfset myObject.wrap(arg1,

Re: Malicious Code Characters

2004-12-02 Thread Joe Rinehart
Hey Guys, There is no comprehensive list nor is there need for one - CF can handle these things elegantly with its native functionality. Just use cfQueryParam for placing values into queries, and HtmlEditFormat for placing values into your resultant HTML. -Joe On Thu, 2 Dec 2004 13:58:50

Re: cffile read to read JUST the top line of the txt file.

2004-12-03 Thread Joe Rinehart
Yep - this should get you started: cfscript filename = /path/to/file.csv; fileReader = createObject(java, java.io.FileReader); fileReader = fileReader.init(filename); lineReader = createObject(java,java.io.LineNumberReader); lineReader = lineReader.init(fileReader); line =

Re: WYSIWIG web editor for CF (FREE)

2004-12-03 Thread Joe Rinehart
fckEditor works very well, and has both CF custom tag and CFC implementations. -joe On Fri, 3 Dec 2004 11:55:13 -0500, Stuart Kidd [EMAIL PROTECTED] wrote: Hi guys, I know there is Elektron's EWebEditPro which on last look was pretty good, but i'm wondering if anyone has used any of the

Re: RegEx (again!)

2004-12-03 Thread Joe Rinehart
Could probably do: reReplaceNoCase(textString, /*span.*?, ,ALL) -joe On Fri, 03 Dec 2004 12:09:44 -0500, Jerry Johnson [EMAIL PROTECTED] wrote: This works well for CFMX, but not so much in CF5 and earlier. Jerry Jerry Johnson Web Developer Dolan Media Company [EMAIL PROTECTED]

Re: WYSIWIG web editor for CF (FREE)

2004-12-03 Thread Joe Rinehart
Matt, I'm implementing FCKEditor into a CFApp right now, and will be needing to use the file manager. If you can send me what you've got, I'll take a look at at and try to either flesh it out some or hack my own method together. -joe On Fri, 3 Dec 2004 09:25:23 -0800, Matt Robertson [EMAIL

Re: WYSIWIG web editor for CF (FREE)

2004-12-03 Thread Joe Rinehart
Hey Rob, I'm not sure what the actual process is to get nominated, but I'm not one of their sponsors and I'm somehow nominated for a set of custom tags I put out. -joe On Fri, 3 Dec 2004 11:07:18 -0800, Rob [EMAIL PROTECTED] wrote: I can't see how it could be the best if it only works with

Re: Regex help CF REGEX Guru's please.

2004-12-04 Thread Joe Rinehart
Hey Ian, Think it may be your pound signsturn d!#$ into d!##$ and see what happens. Cheers, Joe On Fri, 3 Dec 2004 14:36:29 -0800, Ian Skinner [EMAIL PROTECTED] wrote: I am getting a ColdFusion error trying to use my favorite RegEx E-mail validation. I have always used this

Re: cfinclude not working in firefox

2004-12-10 Thread Joe Rinehart
Tim, It's not possible for cfinclude to work in one browser and not in another. ColdFusion is server-side, so cfinclude happens long before the browser comes into play. What're the specifics of the situation? We may be able to help narrow down what's going on. -joe On Fri, 10 Dec 2004

Re: cfinclude not working in firefox

2004-12-10 Thread Joe Rinehart
Tim, Is your local machine running ColdFusion server? Not Studio, but server itself. On Fri, 10 Dec 2004 11:22:39 -0500, Tim Laureska [EMAIL PROTECTED] wrote: Nope... that didn't do it either.. still can't get cfincludes to function on firefox locally... adding firefox to the cfstudio list

Re: cfinclude not working in firefox

2004-12-10 Thread Joe Rinehart
got CF 5 server installed locally -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: Friday, December 10, 2004 11:13 AM To: CF-Talk Subject: Re: cfinclude not working in firefox Tim, You need to put your .CFM files on a ColdFusion server to get anything

Re: cfinclude not working in firefox

2004-12-10 Thread Joe Rinehart
/A/TD TD class=menu4A href=../ecomm/insertorder.cfm class=menu2Your Cart/A/TD /TR -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: Friday, December 10, 2004 11:23 AM To: CF-Talk Subject: Re: cfinclude not working

Re: passing many variables between pages

2004-12-10 Thread Joe Rinehart
Backing the form with a session-scoped CFC could encapsulate it all nicely, too. -joe On Fri, 10 Dec 2004 14:45:57 -0200, Marco Antonio C. Santos [EMAIL PROTECTED] wrote: Using SESSION structure could be the best answer for Tim questions... Best regards Marco On Fri, 10 Dec 2004

Re: extract values from arrays dynamically

2004-12-10 Thread Joe Rinehart
Joy, I'm not sure what your original message was, but if you need the size of an array, just do arrayLen(array). -joe On Fri, 10 Dec 2004 15:08:50 -0400, Joy Holman [EMAIL PROTECTED] wrote: I got the answer using my original code. Today my question is: Using that original code, how can I

Re: extract values from arrays dynamically

2004-12-10 Thread Joe Rinehart
This will get number of questions in each test (note: if you're pre MX, wrap the second arrayLen() in evaluate()). cfoutput cfloop from=1 to=#arrayLen(QstnKey)# index=i Questions in #QstnKey[i][1][1]# = #arrayLen(QstnKey[i]) - 1#br / /cfloop /cfoutput I think this is a really difficult

Re: Return id after insert

2004-12-10 Thread Joe Rinehart
Aye, you'll want to do SCOPE_IDENTITY() 95% of the time. And only do the other 5% if you know why you're doing it that way :). @@Identity looks across all tables, so if your insert has fired a trigger that inserts into another table, you'll get the identity from the second table (that the

Re: Blackstone Beta

2004-12-11 Thread Joe Rinehart
My point in posting in the first place is this. MM/Blackstone is putting a rear spoiler and ground effects kit on a Toyota (CF), while Microsoft is driving a Ferrari (asp.net). What is MM gonna do when the Ferrari is pulling away? Add those funky lookin' tailights? Will, I don't think this is

Re: Blog! I think I'm ready.

2004-12-11 Thread Joe Rinehart
http://www.camdenfamily.com/morpheus/blog/ - my tools - blog download it, read the readme, be happily blogging in a few minutes. On Sat, 11 Dec 2004 21:41:00 -0500, Dwayne Cole [EMAIL PROTECTED] wrote: I'm ready to set up my own blog. Can any one point me in the right direction.

Re: Blackstone Beta

2004-12-12 Thread Joe Rinehart
The price of one copy of CF Pro Server and DW MX 2004 is about the cost of one copy of Visual Studio Enterprise Developer. -joe On Sun, 12 Dec 2004 08:53:45 -0400, Will Tomlinson [EMAIL PROTECTED] wrote: Ferrari's are fussy and very expensive to run so that's probably a very good analogy...

Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Joe Rinehart
Will, This is probably not a good place for this discussion. It's CF-Talk, not CF-Bash. ASP.NET is taking market away from CF! WHY? Are you sure? Do you have numbers for that? Either way, you're probably right, but if so, can you show that it's for any technological reasons other than the

Re: Blackstone Beta

2004-12-12 Thread Joe Rinehart
of this that is why they make it possible to get the development tools severely discounted in said programs. Sorry I do not know the actual names of the things, never looked hard enough into it all since never had the need. On Sun, 12 Dec 2004 07:04:28 -0800, Joe Rinehart [EMAIL PROTECTED

Re: Blackstone Beta

2004-12-12 Thread Joe Rinehart
Heheheh, I think I'll pass, Jochem. Your comment proves a point I should've made stronger - up-front software license costs are fluid, and not a very good basis for decision making. -joe On Sun, 12 Dec 2004 16:51:06 +0100, Jochem van Dieten [EMAIL PROTECTED] wrote: Joe Rinehart wrote

Re: Blackstone Beta

2004-12-12 Thread Joe Rinehart
6k? If you're an organization that actually needs CF Enterprise, it shouldn't be a very big bell. See my reply to Jochem. -joe On Sun, 12 Dec 2004 10:58:43 -0400, Will Tomlinson [EMAIL PROTECTED] wrote: The price of one copy of CF Pro Server and DW MX 2004 is about the cost of one copy of

Re: Blackstone Beta

2004-12-12 Thread Joe Rinehart
I think it could be because people are being sold on .NET everywhere they look. Why are you only selling people on enterprise? Most small and medium places are _fine_ with cf pro. -joe On Sun, 12 Dec 2004 11:21:58 -0400, Will Tomlinson [EMAIL PROTECTED] wrote: Your comment proves a point I

Re: variables... to prefix or not to prefix

2004-12-13 Thread Joe Rinehart
I tend to prefix only complex types: qQuery sStruct aArray oObjectInstance -joe On Mon, 13 Dec 2004 10:02:39 -0500, Tangorre, Michael [EMAIL PROTECTED] wrote: Just out of curiosity, who prefixes their variables with a data type abbreviation... integer - intVariableName numeric -

Re: Copy Or Transfer Selected Records From One Table To Another Table?

2004-12-13 Thread Joe Rinehart
Nick, On most platforms you can do: INSERT INTO targetTable (column1, column2, etc...) SELECT (column1, column2, etc...) FROM sourcetable WHERE...etc. -joe On Mon, 13 Dec 2004 12:36:51 -0600, Nick Baker [EMAIL PROTECTED] wrote: What is the most efficient way to copy or transfer

Re: CSS filename in Application.cfm

2004-12-13 Thread Joe Rinehart
Hey Stuart, This'd live best on myPage.cfm - it's usually not a good idea to put anything that actually creates output into your application.cfm. One basic reason is that Murphy's law states that there will eventually be some page where you don't want to use it. -joe On Tue, 14 Dec 2004

Re: BUT what does it @#$%^ DO?????

2004-12-15 Thread Joe Rinehart
Hey all, I gave myself a quick tour of Plum earlier today and blogged it, with a quick look at features, architecture, etc. Full post at http://www.clearsoftware.net/client/index.cfm?mode=entryentry=D88E6D1E-E081-2BAC-698D354A075833D4 -joe -- For Tabs, Trees, and more, use the jComponents:

Re: CFC: Object instantiation

2004-12-17 Thread Joe Rinehart
Hey Sam, The second parameter in CreateObject() can be dynamicare you trying to do cfcomponent extends=#variables.myFolder#.dataAccess? The extends attribute needs to be static as it's used at compile-time, not runtime. -joe On Fri, 17 Dec 2004 11:09:43 -0800, sam komolafe [EMAIL

Re: single quotes???

2004-12-17 Thread Joe Rinehart
Tony, I think your problem may be a stray comma, not an apostrophe: [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC SQL Server Driver][SQL Server]Line 21: Incorrect syntax near apos;,apos;. would read Incorrect syntax near ','I'd make sure you didn't include an extra

  1   2   3   4   5   6   >