Re: Lines of code counter

2006-09-13 Thread Robertson-Ravo, Neil (RX)
Couldn't you just turn line numbers on and scroll to the bottom? This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential

Re: Lines of code counter

2006-09-13 Thread James Holmes
ROFL! I think he wants all of the files in one go, rather than just one file at a time. On 9/13/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Couldn't you just turn line numbers on and scroll to the bottom? -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/

Re: PHP webservice returns a Null pointer error

2006-09-13 Thread Ryan Mitchell
thanks, but i still just get a null pointer error. that returns false for me which is just graceful error catching... did you get an array (or struct) returned? Got it. cftry cfset f = CreateObject(webservice,http://www.ryanmitchell.co.uk/rtCMS.php?wsdl;) cfdump var=#f# cfset code =

Re: PHP webservice returns a Null pointer error

2006-09-13 Thread Ryan Mitchell
thanks, but i still just get a null pointer error. that returns false for me which is just graceful error catching... did you get an array (or struct) returned? Got it. cftry cfset f = CreateObject(webservice,http://www.ryanmitchell.co.uk/rtCMS.php?wsdl;) cfdump var=#f# cfset code =

Re: Holy crap I like CFEclipse!

2006-09-13 Thread Tom Chiverton
On Saturday 09 September 2006 08:25, Massimo Foti wrote: In DW, open the find and replace dialog, then select specific tag from the search drop-down. That's a kind of functionality that I haven't seen elsewhere and can be really useful whenever you work on a tag based Why not just search in

Re: Linux webserver

2006-09-13 Thread Tom Chiverton
On Wednesday 13 September 2006 00:06, Russ wrote: Does anyone actually run X-Windows on a production server? I've found it to be very unstable, and in general you shouldn't run X on a production web server. I don't, but not because it's unstable (hell, my desktop is runing Xgl wobbly windows

Re: Linux webserver

2006-09-13 Thread Tom Chiverton
On Wednesday 13 September 2006 00:01, Doug Brown wrote: Well, kind of like windows desktop interface. I am willing to learn all the command line stuff, but in my opinion it will slow down the process of managing my server if that is the only way to go. It will to begin with yes. -- Tom

Re: Lines of code counter

2006-09-13 Thread Denny Valliant
Due to a tragic EOL mishap, I've only got one line of code. Oh woe is me! At least a simple file count gets the job done now... O.o On 9/13/06, James Holmes [EMAIL PROTECTED] wrote: ROFL! I think he wants all of the files in one go, rather than just one file at a time. On 9/13/06,

Re: Lines of code counter

2006-09-13 Thread Tom Chiverton
On Wednesday 13 September 2006 04:09, Will Tomlinson wrote: Anybody got a tool that'd read all the files in my neverendingcart.cfc application, and tell me how many thousands of lines of code are in it? The GNU tool 'wc' is what you want. -- Tom Chiverton Helping to biannually customize

PDFBox

2006-09-13 Thread Gareth Hughes
Anyone using PDFBox to extract PDF content on CF 7 (standard)? I'm doing it on CF 6 but does anyone know of any issues with using it on 7? If anyone knows alternative solutions for extracting pdf text on 7 that would be great too :) Thanks

Re: PDFBox

2006-09-13 Thread James Holmes
Do you by any chance use Oracle? Oracle Text has good tools to do this. On 9/13/06, Gareth Hughes [EMAIL PROTECTED] wrote: Anyone using PDFBox to extract PDF content on CF 7 (standard)? I'm doing it on CF 6 but does anyone know of any issues with using it on 7? If anyone knows alternative

Re: Holy crap I like CFEclipse!

2006-09-13 Thread Massimo Foti
On Saturday 09 September 2006 08:25, Massimo Foti wrote: In DW, open the find and replace dialog, then select specific tag from the search drop-down. That's a kind of functionality that I haven't seen elsewhere and can be really useful whenever you work on a tag based Why not just search

Re: PDFBox

2006-09-13 Thread Paul Hastings
Gareth Hughes wrote: Anyone using PDFBox to extract PDF content on CF 7 (standard)? I'm doing it on CF 6 but does anyone know of any issues with using it on 7? beside it not doing arabic/farsi unicode text it works ok under cf7 from our limited testing in july. note that hebrew appears to

Re: Fusion Reactor issues

2006-09-13 Thread Andreas Tattersall
Hello Rick, Actually ColdFusion is running within a FusionReactor container, so even when CF is overloaded you should still be able to access FR. It was designed this way. What URL are you using to access FR? Over a normal URL your webserver (IIS?) could become unresponsive when CF starts to

Re: Lines of code counter

2006-09-13 Thread Will Tomlinson
Here is one that I used before just to check it out. Right now my app has 12,849 lines Suwt! Thank you! I'll post my line count later. Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,

Re: Lines of code counter

2006-09-13 Thread Will Tomlinson
Here is one that I used before just to check it out. Right now my app has 12,849 lines Ok, I just checked mine and it's NASA code as I expected. lol 21,309 lines of code in my neverendingcart.cfc app. Will ~| Introducing the

Re: Lines of code counter

2006-09-13 Thread Mark Stanton
Current have 31,306 lines half way through development of a project to replace a 107,000 line spaghetti monster. On 9/13/06, Will Tomlinson [EMAIL PROTECTED] wrote: Here is one that I used before just to check it out. Right now my app has 12,849 lines Ok, I just checked mine and it's NASA

Re: Holy crap I like CFEclipse!

2006-09-13 Thread Tom Chiverton
On Wednesday 13 September 2006 10:23, Massimo Foti wrote: I don't want to sound rude, but it's clear to me you never tried that kind of functionality in DW. Never used DW for CFML editing, no, not after the first time I tried. Very bad experience. I'm now just as dedicated to not using as you

Re: Lines of code counter

2006-09-13 Thread Claude Schneegans
Here is one that I used before just to check it out. Right now my app has 12,849 lines Mine is 15,976. I slightly modified your code which had a couple of problems: 1. it was reading all files, including images, 2. it bugs on files with no extension. 3. added extension TXT since I have

Re: Holy crap I like CFEclipse!

2006-09-13 Thread Massimo Foti
I don't want to sound rude, but it's clear to me you never tried that kind of functionality in DW. Never used DW for CFML editing, no, not after the first time I tried. Very bad experience. I'm now just as dedicated to not using as you are too using it :-) I am not attached to use DW as it

Re: Holy crap I like CFEclipse!

2006-09-13 Thread Mark Drew
Massimo I would very much apreciate if you could add specific features that you would like to see in CFEclipse to the issue tracker (http://trac.cfeclipse.org) All you need to do is register and add some ideas of functionality that its missing and I shall have a look and see what I can do.

Re: setting info in an application

2006-09-13 Thread daniel kessler
I have a directory without an application file where there is Why not just write out to a 'includethistext.txt' file on the protected form's action, ideally outside the webroot, but if all you need is protection you can do it in the protected directory. Then on the unprotected form, read that

RE: Lines of code counter

2006-09-13 Thread Peterson, Chris
Wow, after almost 5 years of developing reports, web systems, document imaging, etc, I am over 650,000 lines of code on my production box. Granted, some was done many years ago and I'm not TOO proud of... but it still counts =) Chris -Original Message- From: Claude Schneegans

RE: setting info in an application

2006-09-13 Thread COLLIE David
No, I don't think that you're missing anything. I was thinking of includes and application variables and hadn't used cfFile in quite a while so I didn't think of it. Is there any reason why I shouldn't just write out a .cfm so that I can easily include it and that can designate multiple

Re: Lines of code counter

2006-09-13 Thread Tom Chiverton
On Wednesday 13 September 2006 12:27, Claude Schneegans wrote: Here is one that I used before just to check it out. Right now my app has 12,849 lines Isn't find . -name '*cfc' -o -name '*cfm' -o -name '*xml' -o -name '*as' -o -name '*sql' -o -name '*css' -o -name '*html' -o -name

Re: Holy crap I like CFEclipse!

2006-09-13 Thread Tom Chiverton
On Wednesday 13 September 2006 12:40, Massimo Foti wrote: I actually think that the number one issue CF developers are facing is the lack of a state of the art IDE. Something equivalent to Visual Studio for ..NET, Zend Studio for PHP, IntellJ or Eclipse for Java. I agree - and this isn't a new

Re: Strange Behavior on Local PC

2006-09-13 Thread Kris Jones
cfform action=temp.cfm method=post Address: cfinput type=text name=address size=40 maxlength=50 required=yes message=Please enter your address validateat=onServer input type=submit value=Submit Form /cfform When I submit the form without entering anything in the field, I should get a CF

Re: Framework

2006-09-13 Thread Tom McNeer
I'll throw in another vote for MG:Unity. I've built applications using Mach-II, and Model-Glue seems cleaner and easier. But that's just me ... Either works well for application building. I will say that MG makes it so simple to separate pieces of your presentation that I'm currently using it

Re: Linux webserver

2006-09-13 Thread Jake Churchill
You could always install it and default the system to run level 3 Russ wrote: Does anyone actually run X-Windows on a production server? I've found it to be very unstable, and in general you shouldn't run X on a production web server. You will need to learn command line to administer those

RE: Holy crap I like CFEclipse!

2006-09-13 Thread Ken Ferguson
The one thing I can absolutely guarantee is that the closer it gets to being there the less and less I will use it, that's for sure! Thanks, Ken Ferguson 214.636.6126 -Original Message- From: Massimo Foti [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 6:40 AM To:

RE: compacting mssql tables.

2006-09-13 Thread Gaulin, Mark
I've found that the best way is to do two commands: DBCC CHECKIDENT (authors, RESEED, 0) DBCC CHECKIDENT (authors, RESEED) The first sets the auto-increment number to zero (then it counts up till it finds an open number), and the second moves the auto-increment beyond the largest existing

Re: Framework

2006-09-13 Thread Charles Sheehan-Miles
I'm wondering if anyone can make any recommendations on a good book on Model Glue, as well as some of the other popular frameworks. I've never worked with any of them and I'm thinking about taking the plunge. On 9/13/06 9:19 AM, Tom McNeer [EMAIL PROTECTED] wrote: I'll throw in another vote

RE: Lines of code counter

2006-09-13 Thread Andy Matthews
My text editor has line numbering features. SURELY whatever editor you're using has the same thing. Even Dreamweaver's code view has line numbering. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737

Odd installation issue

2006-09-13 Thread ken
I've got a Windows 03 server on which I installed MX7 yesterday. After getting it all installed, I browse to the administrator and get the configuration wizard screen. I type in the admin password and submit. Then it goes to the next page for about one second before it pops back to the login

RE: Framework

2006-09-13 Thread Che Vilnonis
I'd also like to know... books or online resources. -Original Message- From: Charles Sheehan-Miles [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 9:34 AM To: CF-Talk Subject: Re: Framework I'm wondering if anyone can make any recommendations on a good book on Model Glue,

Re: setting info in an application

2006-09-13 Thread daniel kessler
Once caveat is that if you write out to a *.cfm, then CF will interpret that and you may have to ensure strict security to ensure that no malicious CFML code can ever enter that file. Yeah that was a fear of mine. I have the directory protected but I suppose all protections can be

Re: Odd installation issue

2006-09-13 Thread Teddy Payne
Do you have Norton Anti-Virus installed on this server? If you do, turn that beast off until install is complete. Teddy On 9/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've got a Windows 03 server on which I installed MX7 yesterday. After getting it all installed, I browse to the

RE: Odd installation issue

2006-09-13 Thread Ken Ferguson
Nope, no NAV running. Though I would expect it to cause problems before this point, but not AT this point. Once you get to the point where you're in the web browser hitting the administrator, I'd expect no problems out of an av scanner. Thanks, Ferg -Original Message- From: Teddy

Re: SOT Database design

2006-09-13 Thread Victor Moore
Thank you all for the reply. I think I will go with the normalized approach. One master table and then a separate table for each type of event. Regards Victor On 9/12/06, Tom Kitta [EMAIL PROTECTED] wrote: Just don't forget that its faster to query DB directly then use a View (not by much)

Re: Framework

2006-09-13 Thread Matt Williams
On 9/13/06, Che Vilnonis [EMAIL PROTECTED] wrote: I'd also like to know... books or online resources. No books yet. Online stuff only. Sample apps seem to be more plentiful than anything. Depending on your background, the trickiest part of either MG or Mach II will be the OO side of it.

Re: Odd installation issue

2006-09-13 Thread Teddy Payne
I have had NAV stop at the point speak of it. NAV has a habit of thinking java changes are virus related. Other than NAV, I have not seen a stopping point at the configuration before. Typically if you get the configuration after deployment, your installation was successful enough to execute

RE: PHP webservice returns a Null pointer error

2006-09-13 Thread Ian Skinner
I just run this example this morning and I received and array [empty] result. cfset testObj = createObject(webservice,http://www.ryanmitchell.co.uk/rtCMS.php?wsdl;) cfdump var=#testObj# cfset testDir = testObj.listDirectory(d:\\wwwroot\\ryanmitchell.co.uk\\www\\) cfdump var=#testDir#

Re: Framework

2006-09-13 Thread Brian Rinaldi
If I may take a brief break from the admittedly well-deserved praise for MG:U and discuss why I am choosing not to use it. I was using MG 1.1 but I have decided to switch to Mach ii because I, personally, am not fond of the integrated MG:U/Reactor. I know you can use MG without Reactor, but that

CFC question

2006-09-13 Thread Victor Moore
Hi, I have seen in a number of examples the following: cfset variables.myVar = arguments.someArg / any particular reason/advantage why the arguments are assigned to a local variable inside a cfc function instead of using it directly? Thanks Victor

RE: Odd installation issue

2006-09-13 Thread Ken Ferguson
That has been my experience every other time too. This is the first time I've ever had any issue with installation and that's a LOT of installations! I'll try disabling everything else that's running on the box that I can disable and see if I can get it to go past that step. The strangest thing is

RE: CFC question

2006-09-13 Thread Adrian Lynch
So you have the original value maybe? Ade -Original Message- From: Victor Moore [mailto:[EMAIL PROTECTED] Sent: 13 September 2006 15:54 To: CF-Talk Subject: CFC question Hi, I have seen in a number of examples the following: cfset variables.myVar = arguments.someArg / any particular

Re: CFC question

2006-09-13 Thread Dave Carabetta
On 9/13/06, Victor Moore [EMAIL PROTECTED] wrote: Hi, I have seen in a number of examples the following: cfset variables.myVar = arguments.someArg / any particular reason/advantage why the arguments are assigned to a local variable inside a cfc function instead of using it directly? In

RE: CFC question

2006-09-13 Thread COLLIE David
I have seen in a number of examples the following: cfset variables.myVar = arguments.someArg / any particular reason/advantage why the arguments are assigned to a local variable inside a cfc function instead of using it directly? To make it persistant in the lifetime of the CFC See Ray

RE: CFC question

2006-09-13 Thread Andy Matthews
Most likely so that if someone changes the argument name you only have to change it once, instead of each time that it appears inside of the function. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737

Re: Linux webserver

2006-09-13 Thread Tom Chiverton
On Wednesday 13 September 2006 14:21, Jake Churchill wrote: You could always install it and default the system to run level 3 This still leaves the executables around though, of course. -- Tom Chiverton Helping to appropriately reinvent world-class channels

Re: CFC question

2006-09-13 Thread Michael Dinowitz
Syntax like that is usually used within an init() method to set a passed variable to the CFCs global variable scope to be used by other methods. When a CFC is cached or called outside of a one shot invoke, this is a must to prevent having to pass the variable in again and again. For example,

Re: PDFBox

2006-09-13 Thread Gareth Hughes
Cool, thanks for the info Paul. I'll give it a try then. And no James, unfortunately not using Oracle. Thanks for the heads up though. Cheers - Original Message - From: Paul Hastings [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, September 13, 2006 10:32 AM

RE: CFC question

2006-09-13 Thread Ryan, Terrence
Typically if you are doing manipulation of the value, you don't want to alter the input value, but rather a copy of it. Cfset var firstName = Trim(arguments.firstname) / Vs Cfset arguments.firstName = Trim(arguments.firstname) / If you're not manipulating it further, then it might be a bit

OT: log files contain screen resolution

2006-09-13 Thread Chad Gray
Sorry for the off topic, but I cant find an answer so far. Can Apache's log files pick up the users screen resolution? Can any web servers's log files? Or is this something you need to add yourself to track? ~| Introducing

Re: CFC question

2006-09-13 Thread Jake Churchill
This just came up on something for me this morning and I read that by doing this, it allows your .init() function to access the variables. Ryan, Terrence wrote: Typically if you are doing manipulation of the value, you don't want to alter the input value, but rather a copy of it. Cfset var

Re: CFC question

2006-09-13 Thread Victor Moore
Good points and nice doc by Ray. I didn't know about the variables scope being available to the whole cfc. Thanks Victor ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion

RE: upgradeing jar file in coldfusion server

2006-09-13 Thread Leon Oosterwijk
I guess it depends on your situation. This is not a definitive list, but these are the things I found were completely or somewhat broken with 1.5: - ldap over ssl - web services - verity admin To us that loss of functionality was better than Coldfusion randomly crashing with the 1.4 jvm.

RE: log files contain screen resolution

2006-09-13 Thread COLLIE David
Sorry for the off topic, but I cant find an answer so far. Can Apache's log files pick up the users screen resolution? Can any web servers's log files? Or is this something you need to add yourself to track? No, it's client side information. You could code some javascript that fired on

Re: OT: log files contain screen resolution

2006-09-13 Thread Jon Gunnip
For the webserver to capture it, I think it would have to be sent with an HTTP request (e.g. as a CGI variable) which I don't think it is. We caputre this information via JavaScript by setting the JS variables screen.width and screen.height into a hidden form variable and then processing it on

RE: log files contain screen resolution

2006-09-13 Thread Russ
Yes, they can, using the js file provided with urchin (and probably google analytics). Urchin has js that forces a download of a gif to which it appends the screen resolution among other things. Russ -Original Message- From: COLLIE David [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: log files contain screen resolution

2006-09-13 Thread COLLIE David
Yes, they can, using the js file provided with urchin (and probably google analytics). Urchin has js that forces a download of a gif to which it appends the screen resolution among other things. Hahah splitting hairs here but that is just Javascript trickery using a gif file that will

Re: Framework

2006-09-13 Thread Peter Bell
To add my 2c, Denny, Reactor isn't really a framework. It is a way to automate the persistence of objects. In OO programming, you often create DAOs and Gateways (data access objects and table data gateways) to abstract your database access code for single records and recordsets. Firstly, I

Re: Framework

2006-09-13 Thread Peter Bell
To add my 2c, Denny, Reactor isn't really a framework. It is a way to automate the persistence of objects. In OO programming, you often create DAOs and Gateways (data access objects and table data gateways) to abstract your database access code for single records and recordsets. Firstly, I

Re: Image resizing

2006-09-13 Thread Larry Lyons
imageCFC (I forget who did it, maybe rick?) Imagemagick from alagad.com Russ -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: 12 September 2006 22:44 To: CF-Talk Subject: Image resizing I know I've seen this topic posted before but I need some input. I need an

RE: Linux webserver

2006-09-13 Thread Russ
Executables are usually not a problem... although if they are around and they have security holes... In general, unless you're using linux as a desktop, I've never found a need for X-Windows. Most programs need to be installed from the command line anyway. Servers run a lot more stable and

Re: PHP webservice returns a Null pointer error (SOLVED)

2006-09-13 Thread Ryan Mitchell
yeah, i opted for another php SOAP library (nuSOAP), and with a bit of tweaking i've got it working. thanks for all the help I just run this example this morning and I received and array [empty] result. cfset testObj = createObject(webservice,http://www.ryanmitchell.co. uk/rtCMS.php?wsdl)

CFDJ?

2006-09-13 Thread Michael Dinowitz
I was just asked if the CFDJ list was still around. I checked out their site and no dice. Anyone (Simon) have a clue about its status? Michael Dinowitz President: House of Fusion http://www.houseoffusion.com Publisher: Fusion Authority http://www.fusionauthority.com Adobe Community

Re: CFDJ?

2006-09-13 Thread Charlie Griefer
http://coldfusion.sys-con.com/ ? On 9/13/06, Michael Dinowitz [EMAIL PROTECTED] wrote: I was just asked if the CFDJ list was still around. I checked out their site and no dice. Anyone (Simon) have a clue about its status? Michael Dinowitz President: House of Fusion

Re: CFC question

2006-09-13 Thread Cutter (CFRelated)
The variables scope, when used within a CFC, is a protected private scope (only accessible from within the CFC). Within the head of your object (after the cfcomponent tag, but prior to any functions) you may have a block like this: cfscript variables.instance = structnew();

Re: CFDJ?

2006-09-13 Thread Dave Carabetta
On 9/13/06, Michael Dinowitz [EMAIL PROTECTED] wrote: I was just asked if the CFDJ list was still around. I checked out their site and no dice. Anyone (Simon) have a clue about its status? Not sure what URL you're trying, but this works fine for me (including the links to each article):

Re: CFDJ?

2006-09-13 Thread Robertson-Ravo, Neil (RX)
Not sure, but I know it was becoming subject to very low traffic and Spam (something you do sterling job of keeping out!) This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England,

Re: CFDJ?

2006-09-13 Thread James Holmes
Oh sorry, the LIST. My fault for not reading properly. On 9/14/06, James Holmes [EMAIL PROTECTED] wrote: The site came up for me: http://coldfusion.sys-con.com/ On 9/14/06, Michael Dinowitz [EMAIL PROTECTED] wrote: I was just asked if the CFDJ list was still around. I checked out their

Re: CFDJ?

2006-09-13 Thread Crow T. Robot
They probably forgot to renew the domain name. But good news, the JDJ domain has been renewed for the next 150 years. On 9/13/06, Michael Dinowitz [EMAIL PROTECTED] wrote: I was just asked if the CFDJ list was still around. I checked out their site and no dice. Anyone (Simon) have a clue

RE: Boolean use of Recordcount

2006-09-13 Thread Ian Skinner
It is NOT the same as saying, as long as there is *one* record returned, true. Right? Correct, any positive integer evaluates as true in a Boolean expression. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko

Boolean use of Recordcount

2006-09-13 Thread Jeff Small
cfif qMyQuery.Recordcount/cfif is basically the same as saying, as long as there's at least one record returned, true. This returns true and steps into the CFIF if the recordcount is 1, 2, 300... It is NOT the same as saying, as long as there is *one* record returned, true. Right? --

RE: CFDJ?

2006-09-13 Thread Munson, Jacob
I used to be on it (still am, at least I didn't unsubscribe), but no messages have come through for months, maybe even a year. I was curious one day and sent a message to the list address, and I got a delivery failure of some sort. -Original Message- From: [EMAIL PROTECTED]

Re: CFDJ?

2006-09-13 Thread Charlie Griefer
ooops...me too :\ On 9/13/06, James Holmes [EMAIL PROTECTED] wrote: Oh sorry, the LIST. My fault for not reading properly. On 9/14/06, James Holmes [EMAIL PROTECTED] wrote: The site came up for me: http://coldfusion.sys-con.com/ On 9/14/06, Michael Dinowitz [EMAIL PROTECTED] wrote:

Re: XML Integration - ASP equivalent in CF

2006-09-13 Thread Darrin Bonikowsky
-Original Message- You would definitely add another cfhttpparam - each param equates to a single form field (POST parameter). Also in this case you can drop the cfoutput tags - CFOUTPUT is limited strictly to outputting CFML expressions outside of other tags - never within them. Lastly

Re: Boolean use of Recordcount

2006-09-13 Thread Claude Schneegans
It is NOT the same as saying, as long as there is *one* record returned, true. Right, and it is also the same as saying as long as there is *at least one* record returned, true. -- ___ REUSE CODE! Use custom tags; See

Re: Boolean use of Recordcount

2006-09-13 Thread tanguyr
Yup - because 0 is false, but all other (positive?) numbers are true Jeff Small wrote: cfif qMyQuery.Recordcount/cfif is basically the same as saying, as long as there's at least one record returned, true. This returns true and steps into the CFIF if the recordcount is 1, 2, 300...

Re: CFDJ?

2006-09-13 Thread Dave Carabetta
On 9/13/06, James Holmes [EMAIL PROTECTED] wrote: Oh sorry, the LIST. My fault for not reading properly. Woops, me too! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion

Re: Image resizing

2006-09-13 Thread Zaphod Beeblebrox
I had trouble resizing large images to smaller ones. They would come out about 20 shades darker with the tmt_img tag. Of course, I didn't have a better java solution, so I opted for installing ImageMagick on the server. On 9/13/06, Larry Lyons [EMAIL PROTECTED] wrote: imageCFC (I forget who

Re: CFDJ?

2006-09-13 Thread Matt Williams
This link works for me: http://coldfusion.sys-con.com/ Oops, you meant the list. I haven't seen that. Michael probably spammed it so everyone would just switch to Fusion Authority Quarterly. (couldn't help it)... On 9/13/06, Dave Carabetta [EMAIL PROTECTED] wrote: On 9/13/06, Michael Dinowitz

Re: Linux webserver

2006-09-13 Thread Eric Haskins
I tunnel my VNC/X-Windows thru SSH only one port thru the firewall and it is already a needed port! X is installed but system boots to runlevel 3 as I find command line much faster. As for hardening your box the object is to not let them get in in the first place X-windows is the least of your

Re: XML Integration - ASP equivalent in CF

2006-09-13 Thread Darrin Bonikowsky
Thanks so much for your reply, Jim! FYI - this was my final solution. Not entirely sure where I initially missed the boat, but 2 formfields and including the xml version tag within the cfhttpparam name / value pair explicity vs. as part of the xml string seemed to do it. cfhttp

Re: CFDJ?

2006-09-13 Thread Yves Arsenault
As far as I know I'm still on the list as well Haven't gotten a message in about forever. Yves On 9/13/06, Munson, Jacob [EMAIL PROTECTED] wrote: I used to be on it (still am, at least I didn't unsubscribe), but no messages have come through for months, maybe even a year. I was curious

Re: Boolean use of Recordcount

2006-09-13 Thread Greg Luce
Is it a good practice though? I know alot of people do it, but it just seems wrong to me to be evaluating a number as boolean. Greg On 9/13/06, Claude Schneegans [EMAIL PROTECTED] wrote: It is NOT the same as saying, as long as there is *one* record returned, true. Right, and it is also the

Re: Boolean use of Recordcount

2006-09-13 Thread Crow T. Robot
Isn't it any non-zero integer? Not just positive ones? On 9/13/06, Ian Skinner [EMAIL PROTECTED] wrote: It is NOT the same as saying, as long as there is *one* record returned, true. Right? Correct, any positive integer evaluates as true in a Boolean expression. -- Ian

Re: Boolean use of Recordcount

2006-09-13 Thread Charlie Griefer
i've been told (by someone much smarter than me) -not- to use implicit boolean conversion. yes, in CF cfif recordcount/cfif will work (where 0 evaluates to false and any other number evaluates to true)...but what you really mean is: cfif recordcount GT 0/cfif you're looking to see if the

RE: Boolean use of Recordcount

2006-09-13 Thread Dan G. Switzer, II
Is it a good practice though? I know alot of people do it, but it just seems wrong to me to be evaluating a number as boolean. Personally, I like to write code that's as specific as possible. Only if a variable is to hold a true Boolean value, do I use the cfif isConditionTrue syntax. So, I

Re: Boolean use of Recordcount

2006-09-13 Thread Claude Schneegans
it just seems wrong to me to be evaluating a number as boolean. In some languages as C for instance, booleans are just numbers, so there is nothing wrong there. However, in CF which is a typeless language, I found some instances, especially with query results, where it is better to be more

Re: Boolean use of Recordcount

2006-09-13 Thread Claude Schneegans
any positive integer evaluates as true in a Boolean expression. To be more exact: any *non zero* integer evaluates as true in a Boolean expression. although recordcount here cannot be negative. -- ___ REUSE CODE! Use custom tags; See

Re: Framework

2006-09-13 Thread Dan Wilson
To sound off here, All of the points above are very valid. I've used Mach-II pretty heavily now for a while and MG:U to varying degrees and I really see where the frameworks add value. All three Front Controller frameworks ( Model Glue, MachII and Fusebox) are quite solid and are worth

Re: Framework

2006-09-13 Thread Dan Wilson
To sound off here, All of the points above are very valid. I've used Mach-II pretty heavily now for a while and MG:U to varying degrees and I really see where the frameworks add value. All three Front Controller frameworks ( Model Glue, MachII and Fusebox) are quite solid and are worth

RE: Linux webserver

2006-09-13 Thread Russ
We're still mostly windows at work except for the mail server. At home I run Redhat Fedora Core 4 (or 5 I forget) with X-Windows and Vmware server (Free) with Exchange running in the VM. It's more or less stable, but I've had a few issues which required me to do ctrl-alt-backspace to kill X and

Re: Image resizing

2006-09-13 Thread Jake Churchill
Rick's image.cfc is awesome Zaphod Beeblebrox wrote: I had trouble resizing large images to smaller ones. They would come out about 20 shades darker with the tmt_img tag. Of course, I didn't have a better java solution, so I opted for installing ImageMagick on the server. On 9/13/06,

Re: Framework

2006-09-13 Thread Sean Corfield
I know you can use MG without Reactor, but that doesn't seem to be the focus of it I think it's a bit short-sighted to drop MG just because it has added some optional components you don't like... If you don't have Reactor installed, MG starts up without it and scaffolding and GDMs (Generic

Re: Odd installation issue

2006-09-13 Thread Teddy Payne
The only thing I acn suggest is checking the neo configuration files to see if there is a way to superceed the steps. Teddy On 9/13/06, Ken Ferguson [EMAIL PROTECTED] wrote: That has been my experience every other time too. This is the first time I've ever had any issue with installation and

Re: Boolean use of Recordcount

2006-09-13 Thread Teddy Payne
Also, be cognitive that ColdFusion converts the words yes and no into boolean equivalent 1 and 0. For code legibility and maintainability, I would agree with Sean C. on this point of not using implicit boolean conversion. cfif query.recordcount logically will mean true for any returned records

Re: CFC question

2006-09-13 Thread Teddy Payne
Another reason to use the variables scope outside of a method like init() would be when you extend a CFC from another CFC. The variables defined in the variables scope will act like a psuedo constructor if you are not calling that CFC via a cfinvoke, cfobject ...etc. It provides a little

  1   2   >