AW: Prefixing local variables

2004-12-23 Thread Gert Franz
Hi Michael, I personally agree with you. It's allways a good practice to use a prefix. The hungarian notation in good old c times was very usefull. Why not give the variable a type implicitly (even though MM doesn't know types, except for those coming from java). For instance Variables.sName, or

RE: Prefixing local variables

2004-12-23 Thread Jim Davis
> -Original Message- > From: Michael Dinowitz [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 23, 2004 2:55 PM > To: CF-Talk > Subject: Prefixing local variables > > I've started to use a dollar sign as a prefix for variables which are > local > to a function or CFC. i.e. those variab

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Daniel Schulken
Why is it always a .net vs cf question? Shouldn't it be cf vs java vs c#? And yes i know cf is written in java. It seems to me that if the BIG companys of the world are looking for .net programmers, why not just give them some one who can wright Cobol.net? [EMAIL PROTECTED] [EMAIL PROTECTED] wro

RE: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Jim Davis
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 23, 2004 10:03 PM > To: CF-Talk > Subject: Re: Beating a .net horse! Job interview confirms suspicions... > > s/Alliare/Allaire/ Completely off topic (Sorry Mike) but up until my first meet

RE: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Jim Davis
> -Original Message- > From: Will Tomlinson [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 23, 2004 3:26 PM > To: CF-Talk > Subject: Beating a .net horse! Job interview confirms suspicions... > > Kick me off the list if you want. I doubt I could piss anyone off any > worse than I alr

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread whitec
There are no high profile web design companies in the triad. There are many small ones that think that they are big. Just to let you know that there are companies in the Greensboro, NC area that use ColdFusion. I work for one of those companies and we have an area designed in ColdFusion for o

Re: Prefixing local variables

2004-12-23 Thread Continuum Media Group, LLC
I'm with Joe on this one. I, by convention and by adherence to MM "best practice dogma", use scope.var for any non-local variable and simply varName for any local variable. I believe that this, by definition, is the "best practice" as expressed by Macromedia. I like the implicity because it leaves

Re: Prefixing local variables

2004-12-23 Thread phillip
Sean, I wouldn't use it.. But everyone has their thing. Since lots of "developers" don't even comment their code, sometimes good developers over compensate with overly complicated naming conventions. I feel like scoping your variables and naming them for what values they hold prefixed and datatype

Re: Prefixing local variables

2004-12-23 Thread Sean Corfield
Well, as I indicated in my original response I think it's a horrible convention... On Thu, 23 Dec 2004 22:10:22 -0500, Michael Dinowitz <[EMAIL PROTECTED]> wrote: > The point of this is not what you or I would use. It's designed to 'force' > people to localize their variables. If they did what was

Re: Prefixing local variables

2004-12-23 Thread phillip
right on man. > The point of this is not what you or I would use. It's designed to 'force' > people to localize their variables. If they did what was right, then this > would not be needed. As most people do not localize their vars, I'm trying > to create a psychological 'reminder' for them. > Th

Re: Prefixing local variables

2004-12-23 Thread Michael Dinowitz
The point of this is not what you or I would use. It's designed to 'force' people to localize their variables. If they did what was right, then this would not be needed. As most people do not localize their vars, I'm trying to create a psychological 'reminder' for them. There is a difference bet

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread phillip
s/Alliare/Allaire/ Pardon the typo. Phillip - Original Message - From: <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Thursday, December 23, 2004 7:08 PM Subject: Re: Beating a .net horse! Job interview confirms suspicions... > Way to take the high road Adam. Nice. > > Seriously guys, all

Re: Prefixing local variables

2004-12-23 Thread Joe Rinehart
Hey Michael, I wouldn't use a prefix - instead, I recognize a variable as being local to a function by its lack of a scope, explicity stating the scope of variables in the arguments or variables scopes. Also, addressing arguments as "arguments.name" should be a touch of a performance boost as CF

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Michael Dinowitz
1. Why are you asking for trouble? 2. CF-Community has over 100 times the number you mentioned and has almost as many posts a day as CF-Talk. 3. This post is for CF-Jobs-Talk or one of the OT lists and I'd request that it get moved. 4. These rules are to try to organize and control the content an

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread phillip
Way to take the high road Adam. Nice. Seriously guys, all languages have their strong points. I have also noticed that_there_are_more_jobs that require VB / C# / .NET than CF. It is a pure a simple fact that Microsoft's API is free and VB touches huge numbers of applications / platforms. My firm w

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Adrocknaphobia
Oh yeah, please start a blog. -Adam On Thu, 23 Dec 2004 18:38:58 -0500, Adrocknaphobia <[EMAIL PROTECTED]> wrote: > Will, > > I'm so glad you are making the decision to go .NET I hope the 'real > world', which you claim to not be currently residing, treats you > very well. I think you finding

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Adrocknaphobia
Will, I'm so glad you are making the decision to go .NET I hope the 'real world', which you claim to not be currently residing, treats you very well. I think you finding a job doing .NET and removing yourself from this list would be the greatest holiday gift for us all. In the future, you may w

Job Casting...

2004-12-23 Thread David Fafard
Hi All - happy holidays. Don't know if this is the right place to ask, but... Our company is looking for a CFMX coder / support person full time. - Someone to help me out on a day to day basis with: - Coding internal/external web applications that work in FireFox and Explorer. - Creating tables,

Re: AW: In One?

2004-12-23 Thread Ian Buzer
>Check out the book "trees and hierarchies in SQL for smarties" by Joe >Celko. ISBN: 1-55860-920-2 >It gives a very good overview about how to treat trees in a SQL >database. That's what I love about this business. You think you're the only one to have a particular problem, then you find out som

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Mark Drew
Fusebox 3 Rules, Fusebox 4 sucks? MD On Thu, 23 Dec 2004 17:51:04 -0500, Ben Forta <[EMAIL PROTECTED]> wrote: > Please, let's not go through all of this again ... > > .NET has lots going for it, it is an impressive platform, and it is > increasing in popularity. We all know that, no news ther

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Phill B
Is this the high profile design company http://www.goosedown.com/index.htm It is the only one that google can find in NC. Hm Maybe they are so high profile I can't see them. Yes. That must be it. On Thu, 23 Dec 2004 14:41:12 -0800, Sean Corfield <[EMAIL PROTECTED]> wrote: > Triad who? >

RE: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Ben Forta
Please, let's not go through all of this again ... .NET has lots going for it, it is an impressive platform, and it is increasing in popularity. We all know that, no news there. Java/J2EE is less hyped now, primarily because it is older and already saw its "sexy" period, but it continues to do we

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Mark Drew
I am from Old England and I am seeing a trend but you know how it is.. you do .NET show them coldfusion. Microsoft has money to burn on marketing.. the people that know nothing go towards .net because there is an advert on a bus so it must be right! I do Java, CF and PHP.. I like bulding web appl

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Sean Corfield
Triad who? *snicker* On Thu, 23 Dec 2004 16:26:21 -0400, Will Tomlinson <[EMAIL PROTECTED]> wrote: > Kick me off the list if you want. I doubt I could piss anyone off any worse > than I already have, so I'm going to post this anyway. And I'm not posting in > CF-Community! 1. I don't want to sig

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread John Inferrera
75 of the top 100 Fortune 500 companies use Coldfusion. .Net is the next generation of Front Page, why learn code when you can drag it in and have the program process it Like life itself, it all is preference. But what would I know, I am from New England!

Re: Temporary Cache

2004-12-23 Thread Chris Jensen
> Here's what I'd do... (this is untested, uncompiled pseudocode to > describe the idea). Make a java.lang.ref.WeakRerence and store that in > global application scope, so it "Doesn't count" as something keeping the > cfc around. Use Strong references in sessions, since they get cleaned > up event

Re: CFStoredProc bug?

2004-12-23 Thread Andrew Grosset
Here is a useful link on Stored Procedures: http://www.sql-server-performance.com/stored_procedures.asp ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseo

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Aaron DC
0. Not having a job and not seeing any / many advertised with your particular skillset is frustrating and decidedly scary. 1. A sample size of 1 does not provide sufficient degrees of freedom to reliably predict a trend. 2. If you don't know .NET, and they don't use CF, you did very well (imo) to g

RE: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Emmet McGovern
The sky is falling! The sky is falling! -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 4:49 PM To: CF-Talk Subject: RE: Beating a .net horse! Job interview confirms suspicions... > I just had a job interview with a local, high profile web

Re: Development Tools

2004-12-23 Thread Barney Boisvert
What do you mean by "works under ColdFusion?" CVS is just source control. I personally 'ant' (http://ant.apache.org) for automated CVS tasks. You have to install it, but it's pretty simple. Just unarchive and add the bin directory to your path, then you can call the executable with CFEXECUTE.

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Bryan Stevenson
Say it DavePreach your message...we're listening ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~~~

RE: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Dave Watts
> I just had a job interview with a local, high profile web > design company here in the Triad (NC). They're probably the > biggest outfit around this area. So the lady asked me the > usual questions. Dreamweaver? Handcode? Flash? .NET? CF > wasn't a big concern of hers when I told her I was a

Re: Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Bryan Stevenson
Well Will...I guess you had better learn .NET as apparently CF is dead...LMAO!! Merry Ho Homabye Santa will bring you some new tools to play with Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 2

Beating a .net horse! Job interview confirms suspicions...

2004-12-23 Thread Will Tomlinson
Kick me off the list if you want. I doubt I could piss anyone off any worse than I already have, so I'm going to post this anyway. And I'm not posting in CF-Community! 1. I don't want to sign up for it 2. I think five people probably frequent the place! I just had a job interview with a local,

Re: Prefixing local variables

2004-12-23 Thread Sean Corfield
On Thu, 23 Dec 2004 13:00:08 -0800, Sean Corfield <[EMAIL PROTECTED]> wrote: > I prefer to see code explicitly using arguments scope (and variables > scope) so it is crystal clear where data is coming from. And it also makes the code faster since CF doesn't have to search multiple scopes for an un

Re: Prefixing local variables

2004-12-23 Thread Sean Corfield
On Thu, 23 Dec 2004 15:43:18 -0500, Michael Dinowitz <[EMAIL PROTECTED]> wrote: > I just wanted something to force recognition that a variable is local to the > function without having to prefix every argument that is passed in. As the > arguments prefix is optional, this helps in recognition and s

Re: How to make mx run all .php extensions

2004-12-23 Thread Asim Manzur
It didn't work for me, I tried to use another extension than php. but it shows the same error. >What a cheap server! j/k > > > CfmServlet > *.php > > >Worth mentioning, had to alter iis as well to allow scripts and executables >then it started working like a charm. > >gabe > >-Original

Re: Two Selects

2004-12-23 Thread Aaron Rouse
qForms is what I have used for this as well. I like being able to control the layout of my form more so than what could be done with the two or three selects tags. I put up some examples a long time ago doing n-selects with qForms, actually before pengoworks had any up. Maybe I should go through

RE: Prefixing local variables

2004-12-23 Thread Michael Dinowitz
I just wanted something to force recognition that a variable is local to the function without having to prefix every argument that is passed in. As the arguments prefix is optional, this helps in recognition and self documentation of the code. > On Thu, 23 Dec 2004 14:54:34 -0500, Michael Dinowit

Re: Prefixing local variables

2004-12-23 Thread Sean Corfield
On Thu, 23 Dec 2004 14:54:34 -0500, Michael Dinowitz <[EMAIL PROTECTED]> wrote: > I've started to use a dollar sign as a prefix for variables which are local > to a function or CFC. i.e. those variables created when using the var > keyword. > > I could have also used an underscore like so: > I d

AW: In One?

2004-12-23 Thread Gert Franz
Hi Ian and everybody else, Check out the book "trees and hierarchies in SQL for smarties" by Joe Celko. ISBN: 1-55860-920-2 It gives a very good overview about how to treat trees in a SQL database. It's really good, and it refers to the "nested set tree model" very deeply. I use SQL-Server and i w

RE: Two Selects

2004-12-23 Thread Dennis Powers
Rick, Be sure you escape or remove any single or double quotes or any JavaScript unfriendly characters from the data before feeding the tag. Best Regards, Dennis Powers UXB Internet- A Website Design and Hosting Company 690 Wolcott Road - P.O. Box 6028 Wolcott, CT 06716tel: (203)879-2844 ht

Prefixing local variables

2004-12-23 Thread Michael Dinowitz
I've started to use a dollar sign as a prefix for variables which are local to a function or CFC. i.e. those variables created when using the var keyword. I could have also used an underscore like so: I plan to give out the new CFCs and functions I'm writing (the logger is in use and is being tw

Re: mailing label custom tag?

2004-12-23 Thread Ray Champagne
Ask and ye shall receive! (For those that might read this in the future, I found it on the MM exchange, search for 'Avery' under coldfusion exchange) http://makeashorterlink.com/?T2972481A Ray At 02:42 PM 12/23/2004, you wrote: >Where did you find it at

Re: mailing label custom tag?

2004-12-23 Thread Russell Patterson
Where did you find it at? Thanks! Russell - Original Message - From: "Ray Champagne" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Thursday, December 23, 2004 1:25 PM Subject: RE: mailing label custom tag? > Thanks! > > I actually found one on the dev exchange a few minutes ago. it was >

RE: mailing label custom tag?

2004-12-23 Thread Eric Hoffman
That's the one I had. Enjoy. -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 1:25 PM To: CF-Talk Subject: RE: mailing label custom tag? Thanks! I actually found one on the dev exchange a few minutes ago. it was written for CF5, but I

RE: mailing label custom tag?

2004-12-23 Thread Ray Champagne
Thanks! I actually found one on the dev exchange a few minutes ago. it was written for CF5, but I am playing with it now, and don't see why it is going to make a difference which version I am running it under. cf-averyrtf it is called...and it is pretty damn cool! Ray At 02:21 PM 12/23/200

RE: mailing label custom tag?

2004-12-23 Thread Eric Hoffman
I had one somewhere around here...I can dig up after xmas to see if I didn't lose it. Its at the office. -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 11:16 AM To: CF-Talk Subject: mailing label custom tag? Does anyone know of a cust

Scheduling/Appointment application

2004-12-23 Thread Chris Terrebonne
Happy Holidays everyone! A few months ago there was a pretty in depth discussion regarding the database model and programming techniques of a scheduling/appointment application, but I can't seem to find it in the archives anywhere. If anyone could point me to this discussion or to any articles

RE: Two Selects

2004-12-23 Thread Paul
I've always used this one; it has an example going 6 deep, and I don't think there is a limit... http://www.mattkruse.com/javascript/dynamicoptionlist/ -Original Message- From: Andy Mcshane [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 10:24 AM To: CF-Talk Subject: RE: Two

Development Tools

2004-12-23 Thread Blaine Korte
Hello everyone, I'm looking for some good CVS software (free preferably) that works under Cold Fusion. I've seen a few good ones in PHP, but I'd much rather have it in CF. I'd rather not have a client application, nor do I want to install any applications on the server. Also, what coding standa

Re: Two Selects

2004-12-23 Thread Ray Champagne
I will do just that, thank for the advice! Ray At 01:07 PM 12/23/2004, you wrote: >Ray, > >I have had better luck FWIW with the QForms JSAPI and their n-related >select boxes. They work with any browser and are rock solid. > >http://www.pengoworks.com/qforms/docs/examples/n-related_selectboxes.h

Re: Two Selects

2004-12-23 Thread Rick Mason
Ray, I have had better luck FWIW with the QForms JSAPI and their n-related select boxes. They work with any browser and are rock solid. http://www.pengoworks.com/qforms/docs/examples/n-related_selectboxes.htm No problems with 2 and 3 selects related though I tried once to get a 5 selects relate

Re: Two Selects

2004-12-23 Thread Chris Stoner
You also might want to look at the qForms implementation of this concept. Its pretty easilly implemented. http://www.pengoworks.com/qforms/docs/examples/n-related_selectboxes.htm Tim Laureska wrote: >Andy... I'd sure be interested >Tim > >-Original Message- >From: Andy Mcshane [mailto

RE: Two Selects

2004-12-23 Thread Tim Laureska
Andy... I'd sure be interested Tim -Original Message- From: Andy Mcshane [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 12:24 PM To: CF-Talk Subject: RE: Two Selects Slightly OT but I managed to alter the 3 selects and create a 4 selects related tag if that is of any help to

RE: Two Selects

2004-12-23 Thread Rick
I don't have a need for it now but I did a while back. Can't you upload it to the Exchange? Rick -Original Message- From: Andy Mcshane [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 11:24 AM To: CF-Talk Subject: RE: Two Selects Slightly OT but I managed to alter the 3 selec

RE: Two Selects

2004-12-23 Thread Andy Mcshane
Slightly OT but I managed to alter the 3 selects and create a 4 selects related tag if that is of any help to anyone? It was a nightmare to do and I can't actually remember how I did it but it works great, I had to alter it to enable a user to select a region, country, division & club, I am sure it

mailing label custom tag?

2004-12-23 Thread Ray Champagne
Does anyone know of a custom tag that has the ability to create mailing labels? If it had the ability to create them in various Avery formats, that would be even cooler! Google didn't seem to help too much Thanks, and have a merry merry! Ray = R

Re: where to put the java class?

2004-12-23 Thread Qasim Rasheed
In addition to the suggestion that Dave made earlier, you can also load Java classes remotely. Here is a link to a blog post by Christian Cantrell on this technique. http://www.markme.com/cantrell/archives/005295.cfm On Thu, 23 Dec 2004 10:48:44 -0500, Dave Carabetta <[EMAIL PROTECTED]> wrote:

Re: In One?

2004-12-23 Thread Ian Buzer
>Cache the data (application-scope variable) then use local UDFs or a CFC >to manage processing. Yes, I'm beginning to think this may be the best compromise. Particularly as, although there's about 18k categories, probably 10% of those are queried 90% of the time. So, following on from this ...

Re: Two Selects

2004-12-23 Thread Marius Milosav
use JSStringFormat and not evaluate Marius Milosav www.scorpiosoft.com It's not about Technology, it's about people Virtual Company (VICO) Application demo www.scorpiosoft.com/vicodemo/login.cfm - Original Message - From: "Rick" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Thursday, December

RE: Two Selects

2004-12-23 Thread Rick
In the TwoSelectsRelated.cfm file on about line 100 I changed the ' to " NewOpt[#Counter2#].value = '#Evaluate(Attributes.Value2)#'; To NewOpt[#Counter2#].value = "#Evaluate(Attributes.Value2)#"; Does anyone see any reason why I shouldn't? Rick -Original Message- From: Rick [mailto:[E

RE: Two Selects

2004-12-23 Thread Rick
Error: missing ; before statement Source File: http://burrows.arcriver.com/i/index.cfm Line: 179, Column: 211 Source Code: NewOpt[86] = new Option("Oak Park");NewOpt[86].value = 'Oak Park'; NewOpt[87] = new Option("Oakbrook Terrace");NewOpt[87].value = 'Oakbrook Terrace'; NewOpt[88] = new

RE: Two Selects

2004-12-23 Thread Ray Champagne
Sweet. thx! Ray At 11:07 AM 12/23/2004, you wrote: >It's in the Cold Fusion Exchange at Macromedia, there is also a 3 selects >related tag. > >Rick > >-Original Message- >From: Ray Champagne [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 23, 2004 10:05 AM >To: CF-Talk >Subject: Re:

Re: Two Selects

2004-12-23 Thread Marius Milosav
To: "CF-Talk" Sent: Thursday, December 23, 2004 11:00 AM Subject: RE: Two Selects > Correction to code below... > > QUERY="QryGetCityStates" > NAME1="SearchSTATE" > NAME2="SearchCity" > DISPLAY1="STATE" > DISPLAY2="City" > VALUE1="STATE" > VALUE2="City" > FORCEWIDTH1="70" > FORCEWIDTH2="70" >

RE: Two Selects

2004-12-23 Thread Rick
It's in the Cold Fusion Exchange at Macromedia, there is also a 3 selects related tag. Rick -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 10:05 AM To: CF-Talk Subject: Re: Two Selects Rick where did you get this tag? I am interested

Re: Two Selects

2004-12-23 Thread Ray Champagne
Rick where did you get this tag? I am interested in using for a couple of projects...never knew it existed. Ray At 10:57 AM 12/23/2004, you wrote: >Does the two selects related tag not work in CFMX? > >Dropdown one has the correct info but when I select an item nothing happens >in select two. >

RE: Two Selects

2004-12-23 Thread Rick
Correction to code below... Thanks! Rick Eidson Partner & CTO ArcRiver Technology, LLC http://www.arcriver.com/ Local Kansas City Music http://www.kcjukebox.com/ -Original Message- From: Rick [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 9:57 AM To: CF-Talk Subject: Tw

Two Selects

2004-12-23 Thread Rick
Does the two selects related tag not work in CFMX? Dropdown one has the correct info but when I select an item nothing happens in select two. SELECT DISTINCT STATE, City FROM TblMain WHERE State <> '' ORDER BY State .. Nothing has been changed in the TwoSelectsRel

Re: where to put the java class?

2004-12-23 Thread Dave Carabetta
On Thu, 23 Dec 2004 10:42:01 -0400, Johnny Le <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a specific location where I should put my java class? I have a java > class, and currently I put it in the same directory with my calling page. > When I call it, it says it could not find the class. I

Re: search for a string across columns

2004-12-23 Thread Sean Corfield
On Wed, 22 Dec 2004 20:30:23 +, Michael Traher <[EMAIL PROTECTED]> wrote: > I might be wrong but I would have thought that the DBMS will simply > expand the cancat syntax to the full version with the ORs in that you > started with. No, it will do the concatenate first, then the comparison. Oth

where to put the java class?

2004-12-23 Thread Johnny Le
Hi, Is there a specific location where I should put my java class? I have a java class, and currently I put it in the same directory with my calling page. When I call it, it says it could not find the class. I registered it in the Adminstrator under "Java and JVM", but it still doesn't work.

RE: CF tags work inside of CSS

2004-12-23 Thread Patrick McGeehan
You could also use some logic in application.cfm and use cfhtmlhead to inject a set into the head of the htm doc, rather than using a linked style sheet. Patrick McGeehan Applications Developer DIT #mcg# -Original Message- From: Stuart Kidd [mailto:[EMAIL PROTECTED] Sent: Thursda

RE: 1st, 2nd, 3rd, 4th

2004-12-23 Thread Ewok
This should do it... I wrote it for a list of "Top 10 Scores" in a game but changed it a little to work with larger numbers. Hope it helps function nth(num) { if (right(num, 1) is "1" and right(num, 2) NEQ "11") { num = num & "st"; } else if (right(num, 1)

RE: SOT: Flash list

2004-12-23 Thread Murat Demirci
Thank you! Murat. > -Original Message- > From: Jaye Morris [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 23, 2004 4:44 PM > To: CF-Talk > Subject: Re: SOT: Flash list > > Flashcoders > > http://chattyfig.figleaf.com/ > > > On Thu, 23 Dec 2004 16:33:25 +0200, Murat Demirci >

RE: CF tags work inside of CSS

2004-12-23 Thread James Smith
If you are only changing a small quantity of of the style sheet you could move that one or two style definitions from your style sheet into your cfm pages either in the header of the html or inline if there is very little of it. -- Jay -Original Message- From: Charlie Griefer [mailto:[EM

RE: CF tags work inside of CSS

2004-12-23 Thread Stuart Kidd
Thanks Mike and everyone else. :) Saturday -- Original Message -- From: "Dawson, Michael" <[EMAIL PROTECTED]> Reply-To: cf-talk@houseoffusion.com Date: Thu, 23 Dec 2004 09:29:17 -0600 >This topic came up a several days ago. Read the archives for more >d

Re: CF tags work inside of CSS

2004-12-23 Thread Stuart Kidd
That'll do nicely thanks Massimo. Grazie e buon natale (mangi un panatone)! Saturday -- Original Message -- From: "Massimo Foti" <[EMAIL PROTECTED]> Reply-To: cf-talk@houseoffusion.com Date: Thu, 23 Dec 2004 16:22:50 +0100 >> I've never tried this, do CF

Re: CF tags work inside of CSS

2004-12-23 Thread Massimo Foti
> Yes, just give your css file a cfm extension and use cfcontent to have > the correct mime-type (although it will work without) As far as I know works without the mime-type in IE, not in Mozilla/fireFox. Massimo Foti DW tools: http://www.massimocorner.com CF tools:

RE: CF tags work inside of CSS

2004-12-23 Thread Matthew Small
But Stuart could set .css to be rendered by CF in IIS and make his code executable, right? Or he could just append .cfm to his stylesheet and have it processed by CF, then include that as his stylesheet. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED]

Re: In One?

2004-12-23 Thread Jochem van Dieten
Ian Buzer wrote: >> You could set your table up in a "modified preorder tree traversal", so >> each node has a "LFT" and "RGT" numeric value. I've done this in several >> instances and it works great. > > Hey, thanks Dov, that's lovely. > > As far as I understand it so far, it does have the snag

Re: CF tags work inside of CSS

2004-12-23 Thread Rick Root
Charlie Griefer wrote: > CF won't fire unless the page is a .cfm or .cfml extension. A .css > extension won't trigger CF to render the page. However, nothing says your stylesheets have to have a .css extension. That works fine and dandy. - Rick ~

RE: How to make mx run all .php extensions

2004-12-23 Thread gabriel l smallman
What a cheap server! j/k CfmServlet *.php Worth mentioning, had to alter iis as well to allow scripts and executables then it started working like a charm. gabe -Original Message- From: Andy Allan [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 10:10 AM To: CF-Talk

Re: CF tags work inside of CSS

2004-12-23 Thread C. Hatton Humphrey
> I've never tried this, do CF tags work in CSS? Might try it using the style block on a CFM page... as Charlie mentioned the CF engine is not going to parse the CSS page. Hatton ~| Special thanks to the CF Community Suite Silve

RE: CF tags work inside of CSS

2004-12-23 Thread Dawson, Michael
This topic came up a several days ago. Read the archives for more details than what I can remember right now. 1. Create multiple CSS files. One file will contain only layout and formatting. Then, create individual CSS files that contain only color information. You would have an individual CSS

RE: CF tags work inside of CSS

2004-12-23 Thread Pascal Peters
Yes, just give your css file a cfm extension and use cfcontent to have the correct mime-type (although it will work without) Pascal > -Original Message- > From: Stuart Kidd [mailto:[EMAIL PROTECTED] > Sent: 23 December 2004 16:16 > To: CF-Talk > Subject: CF tags work inside of CSS > > Hi

Re: CF tags work inside of CSS

2004-12-23 Thread Stuart Kidd
Ok, damn! Oh well, looks like a few files instead then. -- Original Message -- From: Charlie Griefer <[EMAIL PROTECTED]> Reply-To: cf-talk@houseoffusion.com Date: Thu, 23 Dec 2004 08:27:01 -0700 >CF won't fire unless the page is a .cfm or .cfml extension.

Re: CF tags work inside of CSS

2004-12-23 Thread Massimo Foti
> I've never tried this, do CF tags work in CSS? I am not sure if I understood your question, but I will give it a try. In case you would like to embed CFML code inside an external CSS file a solution could be to give the CSS file a .cfm extension, then add this at the top of it: (use the charse

Re: CF tags work inside of CSS

2004-12-23 Thread Charlie Griefer
CF won't fire unless the page is a .cfm or .cfml extension. A .css extension won't trigger CF to render the page. On Thu, 23 Dec 2004 10:15:50 -0500, Stuart Kidd <[EMAIL PROTECTED]> wrote: > Hi, > > I have a colour theme which changes each month. Instead of having 12 > different stylesheets

RE: In One?

2004-12-23 Thread Damien McKenna
My suggestion... Cache the data (application-scope variable) then use local UDFs or a CFC to manage processing. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include > -Original Message- > From: Ian Buzer [mail

RE: In One?

2004-12-23 Thread Katz, Dov B (IT)
True, but no matter what your choice of optimization, you will have a snag. You will be doing more reads than writes, and you will be doing an in-table mathematic transformation (set LFT=LFT+1 or RGT=RGT+2 for all rows whose left exceeds the newly inserted one...) That's linear, but IMHO well wort

CF tags work inside of CSS

2004-12-23 Thread Stuart Kidd
Hi, I have a colour theme which changes each month. Instead of having 12 different stylesheets to cover for the year i wanted to have some CF code at top of my CSS page, something like: So when I get down to the part in the stylesheet which says: a.preferences:hover { colo

CFLock , CF_Accelerate(like) help

2004-12-23 Thread Katz, Dov B (IT)
So, a while back, I wrote a CF_Accelerate-like tag (before I knew of that one) and this one cached to file, memory, or cached query objects. I think my locking is too aggressive, and is hurting performance. I stripped down the tag below for readability... Can you please advise me whether I can cha

Re: How to make mx run all .php extensions

2004-12-23 Thread Andy Allan
/wwwroot/WEB-INF/web.xml Though I'm sure you're aware you can't actually process PHP code via CFMX Andy On Thu, 23 Dec 2004 10:04:28 -0500, gabriel l smallman <[EMAIL PROTECTED]> wrote: > Hey all, > > Trying to make mx handle all .php extensions. On iis 6 we remapped to the > extension but no

Re: In One?

2004-12-23 Thread Aaron DC
With none of the previous message in your post I have no idea what you are replying to here. Please include some of the previous post to which you are replying, to maintain context. Thanks Aaron - Original Message - From: "Micha Schopman" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Friday, D

How to make mx run all .php extensions

2004-12-23 Thread gabriel l smallman
Hey all, Trying to make mx handle all .php extensions. On iis 6 we remapped to the extension but no get at message: Server Error Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Im guessing in some xml file jrun is told what extensio

Re: In One?

2004-12-23 Thread Ian Buzer
>You could set your table up in a "modified preorder tree traversal", so >each node has a "LFT" and "RGT" numeric value. I've done this in several >instances and it works great. Hey, thanks Dov, that's lovely. As far as I understand it so far, it does have the snag that if you make a change nea

Re: SOT: Flash list

2004-12-23 Thread Jaye Morris
Flashcoders http://chattyfig.figleaf.com/ On Thu, 23 Dec 2004 16:33:25 +0200, Murat Demirci <[EMAIL PROTECTED]> wrote: > Hi folks, > > I'm searching an active Flash developers list like CF-Talk. Does anyone know > an active flash list? > > Murat. > > -- // Jaye Morris | Multimedia - Web Ap

RE: In One?

2004-12-23 Thread Micha Schopman
I meant relations Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 ~| Special thanks to the CF Community Suite Gol

RE: QofQ Problem: Sorting on columns of type "java.sql.Types.NULL" is not supported.

2004-12-23 Thread Andy Ousterhout
Question is how do you want to treat Null. Since NULL has no value, you will have to use IsNULLL() or your db equivalent to set a value that is either the highest or lowest, depending on how you wish to sort. If you need to keep the value as NULL, then create a sort field that contains the conver

  1   2   >