Re: application slowed after migration from CF 5 to CF 7

2006-05-02 Thread Denny Valliant
On 5/2/06, Martin Thorpe [EMAIL PROTECTED] wrote: Hello. I have just migrated an application from CF5 to CF 7 and now I have complaints from the users that it has slowed down!!! Is there anything specific that I can do to the server or alter in the code that may speed things up. The code

Re: OT: Confirm email

2006-05-02 Thread Denny Valliant
On 5/2/06, Ken Ketsdever [EMAIL PROTECTED] wrote: Doesn't everyone just copy and paste into the second email field? That's what I do. Doesn't everyone just copy and paste into the second email field? That's what I do. Ditto He he he. So I guess y'all just copy and paste passwords when

Re: More of a JS Question/Forms

2006-05-02 Thread Denny Valliant
On 5/2/06, Jochem van Dieten [EMAIL PROTECTED] wrote: Denny Valliant said: The only trouble with JavaScript is: what if it's turned off? Then you fall back to server-side validation. Indeed, if you remembered to do it. I've found lots of places where their only validation is through JS

Re: cfschedule delete work around??

2006-05-02 Thread Denny Valliant
I've had pretty good luck with scheduled tasks. I'm not adding or removing them very often, but they've generally run when I wanted them to, etc.. :den On 5/2/06, Ken Ferguson [EMAIL PROTECTED] wrote: After several attempts to rely upon scheduled tasks in CF blew up in my face, I realized

Re: (announcement) Beta release of next JRun

2006-05-02 Thread Denny Valliant
Yes. But the real question is, what market do you mean? JRun is quite competitive in the low end of the J2EE application server market. It doesn't compete directly with WebSphere or WebLogic, and it isn't really meant to. It is also bundled with many, many products, and not just Adobe

Re: Question about relative and root links

2006-05-01 Thread Denny Valliant
On 4/30/06, Dave Watts [EMAIL PROTECTED] wrote: Heh. I disagree. Both relative URLs and site root relative URLs would resolve just fine, in fact maybe better than absolute URLs. Say the site was moved from a private domain to a public one. Or the original server is now down. And add

Re: ASP.Net book for CF programmer

2006-05-01 Thread Denny Valliant
MS isn't free. It's not even open source, which is closer to free. As you say, CF isn't even close to free. So long as you know your target audience, you can ignore things that don't relate, so whatever you feel like doing... I'm digging laszlo, seems pretty cools so far, and it's purty. I just

Re: More of a JS Question/Forms

2006-05-01 Thread Denny Valliant
The only trouble with JavaScript is: what if it's turned off? The isValid() and maybe hidden form fields would be safest. I think. Not the most UI friendly. In conjunction with some AJAX it could be, tho. :D On 5/1/06, Jochem van Dieten [EMAIL PROTECTED] wrote: Eric J. Hoffman wrote: I

Re: MS-SQL connection string

2006-05-01 Thread Denny Valliant
You can use DNS-less connections. Just search for dnsless connection coldfusion and you should get some hits. I think the only way to add a DSN is throught the administrator or admin API. :DeN On 5/1/06, Victor Moore [EMAIL PROTECTED] wrote: So, if this is a new installation (no datasources

Re: Question about relative and root links

2006-04-30 Thread Denny Valliant
On 4/29/06, Dave Watts [EMAIL PROTECTED] wrote: An absolute file system path? Or absolute path as in the full URL, including protocol? Damn it, now I'm confused. I get the point though, I think, if you mean a site where you have to replace /something with /somethingelse all over the

Re: Is running CF on J2EE server more stable?

2006-04-30 Thread Denny Valliant
On 4/29/06, Douglas Knudsen [EMAIL PROTECTED] wrote: http://www.macromedia.com/software/coldfusion/productinfo/systemreqs/ Tomcat is not supported. AFAIK, CF needs a full J2EE app server, Tomcat is not, Tomcat is a servlet container. Doh! I always get that and jboss/tomcat confused. They

Re: ASP.Net book for CF programmer

2006-04-29 Thread Denny Valliant
, but you should at least make a little effort to find the answer before posting to a list, it just makes sense. -Original Message- From: Denny Valliant [mailto:[EMAIL PROTECTED] Sent: 29 April 2006 03:18 To: CF-Talk Subject: Re: ASP.Net book for CF programmer On 4/28/06

Re: Question about relative and root links

2006-04-28 Thread Denny Valliant
On 4/27/06, Dave Watts [EMAIL PROTECTED] wrote: subfolder. /whmedia/images/afile.jpg is what is need to use a root relative link. Isn't that an absolute path? ;-) It depends on who you ask. I used to call that an absolute path. Others, however, call it a site-root-relative path, and

Re: ASP.Net book for CF programmer

2006-04-28 Thread Denny Valliant
On 4/28/06, Russ Michaels [EMAIL PROTECTED] wrote: If you prefer to let other people do the searching for you, thats fine, but I personally prefer to save some time, as posting on a list and waiting for someone else to google it for you could take hours as apposed to the few minutes it takes

Re: CF Administrator Files Periodically Corrupted

2006-04-28 Thread Denny Valliant
On 4/28/06, brian wood [EMAIL PROTECTED] wrote: Thanks for the help. Sorry I forgot to mention if the files differ. It seems that they do: -rw-r--r--1 01157894 mkpasswd 7721 Nov 3 2000 adminnavigation.cfm -rw-r--r--1 01157894 mkpasswd 7783 Jul 28 2004

Re: CFSheduled Task Running without definition

2006-04-28 Thread Denny Valliant
from the bottom of the livedocs 6.1 page: To remove a scheduled job the hard way, edit neo-cron.xml directly. It's can be found (in the J2EE deployment of Cold Fusion) in \cfusion-ear\cfusion-war\WEB-INF\cfusion\lib Maybe you need to restart the server or something? :denny On 4/28/06, Ben

Re: Is running CF on J2EE server more stable?

2006-04-28 Thread Denny Valliant
Bingo! That's pretty much what I meant. On 4/28/06, Dave Watts [EMAIL PROTECTED] wrote: Not sure I understand your comment about Tomcat... It is a J2ee server isn't it? why would it be mix and match? If you purchase CFMX Enterprise (which is what you need to run CF on J2EE) it comes with

Re: Question about relative and root links

2006-04-28 Thread Denny Valliant
On 4/28/06, Dave Watts [EMAIL PROTECTED] wrote: Ah, that explains my confusion with that setting sometimes. I prefer that if it starts with a slash, it's absolute. Site root relative? Why not just call a URL a URL? I mean, I'm all for enriching the language and all, but sheesh.

Re: Question about relative and root links

2006-04-28 Thread Denny Valliant
Dunno if you called me on the phone and said, what's the absoltue path for the flower.gif file I'd spit out http://blah blah tho... But, if you asked for the Absolute URL, I would. ~| Message:

Re: ASP.Net book for CF programmer

2006-04-28 Thread Denny Valliant
On 4/28/06, Aaron Rouse [EMAIL PROTECTED] wrote: Google is a great source, hell it can answer most of the questions asked on CF-Talk and a lot of those answers end up being in places like livedocs. So the standard reply could be go google it or RTFM. :) LOL! Do you know how many times

Re: Report Builder fun and games

2006-04-27 Thread Denny Valliant
Is there nothing in the logs? I'd check all of them, IIS, CF, Application, etc., and see if anything pops out. Maybe IIS is limiting the number of connections or something... dunno off hand... :D On 4/26/06, Kay Smoljak [EMAIL PROTECTED] wrote: Hi guys, I'm still fighting with the Report

Re: CFMX 7.0.1 and MS SQL 2005

2006-04-27 Thread Denny Valliant
On 4/26/06, Aaron Rouse [EMAIL PROTECTED] wrote: If someone ends up outgrowing Express and needing to go to the full blown version of MSSQL 2005 what do they end up needing to do to move a database from one to the other? Is it as simple as just backing up the files in Express and restoring

Re: Remove Updater Two

2006-04-27 Thread Denny Valliant
On 4/26/06, Eric J. Hoffman [EMAIL PROTECTED] wrote: How do you remove an updater? Re-install? All I know of. Guess you could copy the old jars back if, you had them. I'd bet that a config setting got messed up. Have you verified your configuration files? Have you checked all the log files?

Re: Is running CF on J2EE server more stable?

2006-04-27 Thread Denny Valliant
It was for me. It is because I write poor code, but none the less, the j2ee install was much more stable than the stand alone. Before the server would crash hard when the going got rough, but with the J2EE install, it just gets sluggish 9 out of 10 times. I still manage to make it crash and

Re: File header and footer in excel spreadsheet created with cxcontent?

2006-04-27 Thread Denny Valliant
Or there is the java solution: You can easily use the jexcel api. I say easy, as in easier than POI. :-) Really, it's quite nice, and lets you do whatever you want with excel. Two thumbs up! :den (Note that you must host the ODBC database on a microsoft server for the below idea.) On

Re: cffile and files starting with '0'

2006-04-27 Thread Denny Valliant
On 4/27/06, Claude Schneegans [EMAIL PROTECTED] wrote: Personnally, inside a loop on a query, I tend to always specify the query name when using a column. There are many cases where the current row is not correctly set by the loop. I've run into it too. It's logical when you figure it out,

Re: ASP.Net book for CF programmer

2006-04-27 Thread Denny Valliant
Dood, it's at the point where there is really no reason to ask anyone anything any more. Besides it's faster in person. Seriously tho, the whole google thing is like, I don't know, anti-social. some people never say those words / i love you On 4/27/06, Russ Michaels [EMAIL PROTECTED] wrote:

Re: Question about relative and root links

2006-04-27 Thread Denny Valliant
subfolder. /whmedia/images/afile.jpg is what is need to use a root relative link. Isn't that an absolute path? ;-) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239017 Archives:

Re: CF Administrator Files Periodically Corrupted

2006-04-27 Thread Denny Valliant
Hrm. Seems vaguely familiar... been a while tho... can't think of what... eh... Have you tried checking out the file with a hex editor or some such and see if the content is getting overwritten by something discernible? :de On 4/27/06, Brian Wood [EMAIL PROTECTED] wrote: I am saddled with

Re: CF Administrator Files Periodically Corrupted

2006-04-27 Thread Denny Valliant
Ahhh thanks for ringing my bell Kym! Does IP stand for Internet Piracy? :-) On 4/27/06, Kym Kovan [EMAIL PROTECTED] wrote: What I see there in your image is a standard look for a CF encrypted template, a little header followed by lots of unreadable stuff. Nearly every file in CF admin is

Re: cfqueryparam issue

2006-04-25 Thread Denny Valliant
Tried wrapping it in a toString? Or perhaps xmlformat? Dunno what would do that off hand... On 4/25/06, rhymes with 'loud' Doug Boude [EMAIL PROTECTED] wrote: Hi all. I have an RSS processor that works like a champ, at least it did until it ran into a string value that's causing it to barf.

Re: CFMX 7.0.1 and MS SQL 2005

2006-04-25 Thread Denny Valliant
I'm running express 2005 with the default driver, no problems so far... On 4/25/06, Aaron Rouse [EMAIL PROTECTED] wrote: I have been running MSSQL 2005 Express and CF7 for awhile now. I did download the JDBC driver from MinkySoft but I think for a few days I ran it using the older MSSQL

Re: Scanning Documents to ColdFusion

2006-04-25 Thread Denny Valliant
You could use a directory watcher event gateway... maybe prepend some id to the file name so you know where to put it afterwards... far easier may be to simply use a form with a file field, and have them attach the scan file. Depends on your setup and what you're trying to achieve.

Re: OT: SQL Delema

2006-04-24 Thread Denny Valliant
they just sent me a question what if they need to split up families later... adopting 8 children at once is a pretty good trick by itself, so sometimes they send them out in smaller groups. And I actually remember a family of kids that got split up 4 or 5 different ways till they got

Re: Application.cfc and cflogin/cflogout

2006-04-24 Thread Denny Valliant
A google for cflogin example will find you about a dozen or so examples, with various methods of ending the session. I generally set a variable manually isloggegin=false, and use that. HIH :D On 4/24/06, j s [EMAIL PROTECTED] wrote: Does anyone know where I can get an example of using cflogin

MySQL 5 is slower than 4?

2006-04-23 Thread Denny Valliant
I just installed MySQL 5. I'd been meaning to for a bit. But is it slow compared to 4.1. It's not the server itself, as it's whipping through queries, but CF is taking seconds now where with 4.1 it was 16ms or so. I'm running INNODB. Has anyone else seen this behavior?

Re: MySQL 5 is slower than 4?

2006-04-23 Thread Denny Valliant
. FWIW, didn't see this on google, so I'm still wondering if this is an edge case or something. :denny On 4/23/06, Denny Valliant [EMAIL PROTECTED] wrote: I just installed MySQL 5. I'd been meaning to for a bit. But is it slow compared to 4.1. It's not the server itself, as it's whipping

Re: OT: SQL Delema

2006-04-23 Thread Denny Valliant
Im a bit at a loss for a way for multiple children to be related to eachother. say a family of 8 with each child haveing a pointer to each of the other 7. You hit it on the head with this comment. You need families! Instead of relating each child to each child, relate each child to a family.

Re: SOT: CFEclipse

2006-04-22 Thread Denny Valliant
On 4/21/06, Bryan Stevenson [EMAIL PROTECTED] wrote: Hey All, Anyone know how to setup CFEclipse so it auto-indents ona new line like Homesite +/CF Studio? Sounds like you've got it set to do what you want. You can try turning off smart indenting maybe, see what happens... Are you

Re: TemplateNotFoundException

2006-04-22 Thread Denny Valliant
I had thought it might be trappable, but from what I gathered the only thing you can do is set the missing template handler in the cf admin. On 4/19/06, Mike Garner [EMAIL PROTECTED] wrote: Anyone know if it's possible to catch this exception (when a CFM page is called that doesn't exist) in

Re: database linking table naming conventions?

2006-04-21 Thread Denny Valliant
On 4/19/06, Aaron Rouse [EMAIL PROTECTED] wrote: What do you do if you have UserID used in a table twice? Such as maybe if you had the need to track the user who did the original record creation and who the last user to update the record was? I'm kind of liking user_id_created and

Re: StructFindKey Path and evaluate

2006-04-21 Thread Denny Valliant
Wow. Cubes and rollup sound nifty. I'll have to google up a bit, as I was like what?. Sad, I know. But all that aside, I think you should think about restructuring your data. Specifically your task logic. You can't do something different? Are you in charge of the DB or is someone forcing this

Re: protect downloaded files?

2006-04-21 Thread Denny Valliant
It's pretty impossible to have your cake and eat it too. That's the crux if you ask me. This is a philosophical question more than anything else. First off, duplication/modification is impossible to prevent. I think the closest you could get would be a md5 type deal. And that's pretty much

Re: Why is there query.recordcount with non-SELECT queries?

2006-04-21 Thread Denny Valliant
It might b e worth noting that you can use undocumented don't use these and expect them to work over time type functions to use an existing datasource, so you don't need to save your db user pass hardly. Something like: daFactory = CreateObject (Java,

Re: Query o Queries and apost's

2006-04-19 Thread Denny Valliant
right to ludacris speed. -Original Message- From: Denny Valliant [mailto:[EMAIL PROTECTED] Sent: Saturday, April 15, 2006 11:55 PM To: CF-Talk Subject: Query o Queries and apost's While I'm thinking about it, has anyone seen a weird thing with QoQs, where if you are using generated

Re: isValid() question

2006-04-19 Thread Denny Valliant
! ;) Seriously, unless you have some special cases you need to test for, I would say they should work just fine for you. Just spot check for a while to be sure. On 4/17/06, Tony [EMAIL PROTECTED] wrote: thou must have the special handshake! On 4/17/06, Denny Valliant [EMAIL PROTECTED

Re: Using first CFC wih 6.1 (TRYING AGAIN)

2006-04-19 Thread Denny Valliant
I was thinking more along the lines as any freaking coding system that doesn't have a single line comment is retarded. But I'm a retarded coder, so... :-) Heh. Seriously tho, the time I save isn't too related to the (apparently) old everything runs faster in cfscript, but more along the lines of

Re: database linking table naming conventions?

2006-04-19 Thread Denny Valliant
On 4/18/06, Zaphod Beeblebrox [EMAIL PROTECTED] wrote: I tried naming tables in the singular form once. I hated it. For some reason it bothered me to write sql that read select top 50 * from book Heh. I have a thing about plurals and singulars, so, I feel ya. I swing like a pendulum (well,

Re: CF Page Won't Stop Executing

2006-04-19 Thread Denny Valliant
On 4/19/06, Dan G. Switzer, II [EMAIL PROTECTED] wrote: The one exception to CF killing a thread when a connections is closed might be if you were using CFFLUSH to dump the output stream to the browser. It's Seems to be hit and miss. I've got a long running page that uses cfflush, sometimes

Re: 404 errors and old google data

2006-04-17 Thread Denny Valliant
I think that a missing CF page throws a templateNotFound exception, so, theoretically, you could use your onError (defined in Application.cfc) or you can add the cferror tag to Application.cfm cferror type=exception template=errorpage.cfm And from there, it's just a matter of trapping the

Re: disk size manager

2006-04-17 Thread Denny Valliant
Well, I'm not so cool as to whip up an example, but you could easily use Java to interact with the File System. Generally it's quite a bit faster at FS stuff than CF (or BD, I'd assume). Heck, I'll go check for a java directory size example... hrm. found some JNDI: JRun and Sun's JNDI FS

Re: cache control in Netscape

2006-04-17 Thread Denny Valliant
Sure. Use like 3 or 4 of the methods that are out there and you should be good in many variants. (Set the expires and other related headers... a quick google will show you what's out there) :D On 4/14/06, Barthle, Robert (Contractor) [EMAIL PROTECTED] wrote: Question for you gurus. We use

Re: 19 = 19 - query error

2006-04-17 Thread Denny Valliant
. Not as funny an idea tho, see... look out bad guys, a grenade is rolling your way! You may want to duck, as I'm shooting at you! A callback to a bygone age. Like vaudville. Damn Sun Tzu... [ = Sorry. Old war stuff on PBS, don't'cha know... -Original Message- From: Denny Valliant [mailto

Re: 19 = 19 - query error

2006-04-17 Thread Denny Valliant
Something that I like about the 1=1... It's pretty handy for getting rid of those WHERE blah blah AND blah blah things that sometimes happen when you have conditional WHERE stuff. Just put a WHERE 1=1, and, the rest are ANDs. Just a little tidbit that makes it easier when you do have to do that

Re: Holoday

2006-04-17 Thread Denny Valliant
It took me two posts 'fore I realized it was off loligaging. Figure out your cfc? On 4/16/06, Terry Troxel [EMAIL PROTECTED] wrote: I guess CF-Talk took a holiday yesterday? ~| Message:

Re: database linking table naming conventions?

2006-04-17 Thread Denny Valliant
On 4/16/06, S. Isaac Dealey [EMAIL PROTECTED] wrote: Isaac's SQL abstraction layer would probably help in instances like this as well. No need to convert all those TOPs to LIMiTs ;-) (I'm guessing, as I haven't checked it out yet, but it does sound like a good idea). Well it's

Re: isValid() question

2006-04-17 Thread Denny Valliant
Dunno. How did you get a resident ninja tho? I want one. On 4/15/06, Tony [EMAIL PROTECTED] wrote: hola peeps. and pardon me if this is oft asked. has anyone noticed any oddities with the regex behind isValid(), such that i should stay away from any of them, and roll my own (well, with

Re: StructFindKey Path and evaluate

2006-04-16 Thread Denny Valliant
Most likely I missed something, because doesn't structFindKey return a value as well as the path to the key? Unless you're talking about getting the path to another key, not the one you just found.? XPath only works with XML documents, neh? Hmm... must need more coffee... missing something

Re: Insert SQL Statement

2006-04-16 Thread Denny Valliant
It depends on the database, but I've had good luck with [table name] and 'schema'.'table name'. MySQL uses ` (back-tick) even. You'll need that if you run into tables with names like group or date (reserved words) as well. :D On 4/14/06, David Elliott [EMAIL PROTECTED] wrote: Poor planning on

Query o Queries and apost's

2006-04-16 Thread Denny Valliant
While I'm thinking about it, has anyone seen a weird thing with QoQs, where if you are using generated SQL ( like so: cfquery name=qoq dbtype=query #someSQL# /cfquery ) You get strange extra apostrophes? I say strange because doing cfset someSQL = replace(someSQL,',,ALL) doesn't work,

Re: 19 = 19 - query error

2006-04-16 Thread Denny Valliant
On 4/14/06, Adrian Lynch [EMAIL PROTECTED] wrote: And to balance out the argument some, writing all the columns takes longer to write! Go on, fire away, I'm in my bunker and the flaps are down :OD Adrian Incoming! (Heh. Not often is it the other guys yelling that) Why wouldn't you write

Re: database linking table naming conventions?

2006-04-16 Thread Denny Valliant
I like the below method becase most DB programs sort tables in alpha order, so all your related tables group together. When I do have to group two groups (it happens), I usually start the name with the primary table first (see caveat about english/spanish: big river / river big ;). A lot of this

Re: cffile and names with spaces

2006-04-16 Thread Denny Valliant
Maybe it's the client browser? Or a field wrapped with a urlencodedformat? ;-) That's one reason I'd rather keep the name in the DB and let the file be whatever cffile would like it to be. Don't have to worry about all that stuff, chars that work on one system, but illegal in another, spaces,

Re: catching a query based cfmail ...

2006-04-16 Thread Denny Valliant
Hmmm... maybe the DAO type-deal, but that's a lot of work. The idea was to do it without looping the query first, so the isValid I don't think would work. The regex I mentioned was basically a way of putting some type of selection in the query itself, saying, Grab me records with valid emails,

Re: VHS and Betamax

2006-04-13 Thread Denny Valliant
I guess my point is that I can see the point of not worrying too much, but I don't buy into believing things will change in the future. Arg! Of course things will change, but, um. Well... I guess don't go around smoking, thinking that, what the hell, by the time I get cancer, we'll

Re: VHS and Betamax

2006-04-13 Thread Denny Valliant
I'll have to pick up a copy of it... Seems somewhat similar to a novel I wrote which can be found here: http://www.turnkey.to/ike/613.htm Heh. Judging by your introduction... the age of spiritual machines had a good bit along the lines of this stuff is far out man, right now! In X years, it's

Re: VHS and Betamax

2006-04-13 Thread Denny Valliant
Socially? As in people don't get out enought and meet in meat-space? Or our interactions, even on-line? Well I was thinking more about social infrastructure. Things like bank personell being able to help you in any way if their computers go out. I understand why it's become that way, but

Re: Using CFFTP Via SSH

2006-04-13 Thread Denny Valliant
On 4/13/06, James Holmes [EMAIL PROTECTED] wrote: Can't an SSH tunnel be set up so that the standard FTP used by CF goes via the tunnel? Yeah, that would work too, I bet. Not as nifty as an Open Source java solution tho. ;-) Another option is skipping the cfftp, and setting up (if you're on

Re: catching a query based cfmail ...

2006-04-13 Thread Denny Valliant
A crazy option would be to use a regular expression (available in MySQL) to grab only valid emails. Heh. With the regex stuff going on, had to mention it. By the by, a useful resource for regex for me has been www.regular-expressions.com. :D3|\|* On 4/13/06, Dawson, Michael [EMAIL PROTECTED]

Re: VHS and Betamax

2006-04-12 Thread Denny Valliant
On 4/11/06, Dave Francis [EMAIL PROTECTED] wrote: Isaac, I wish it were otherwise, but with multi-core, multi-threaded processors/processes, I'm not sure that people CAN optimize software any longer. At least, at the code level. It just isn't cost-effective to spend days trying to tweak a

Re: Group - but with no order specified

2006-04-12 Thread Denny Valliant
Also the GROUP BY clasue in SQL is a different beast than the group attribute in cfquery It is, and I think it's more what you're looking for. You don't have to order a group by. By default, depending on your query, it would order it the way it was entered. SQL is really quite awesome, and

Re: CFC Root

2006-04-12 Thread Denny Valliant
Hmmm... I guess you could look at getAbsoluteTemplatePath or similar functions, and see if you could go about it that way. What were the W2003 server issues? On 4/11/06, OĆ°uz_DemirkapĆ½ [EMAIL PROTECTED] wrote: Hi, I have a simple code to create a dynamic CFC root and it works for my local

Re: 404 errors and old google data

2006-04-12 Thread Denny Valliant
This is exactly what I was about to try. Good to hear it's doable! On 4/12/06, Mike Chabot [EMAIL PROTECTED] wrote: I have a ColdFusion page that handles all IIS and CF 404 errors. In that page, I use the 301 redirect code that Jacob listed. I believe this is the most appropriate solution. A

Re: MachII and Timeout Requests

2006-04-12 Thread Denny Valliant
Sounds like you are getting an error in that function so it's not returning the correct type. Maybe try adding a try/catch and see what's happening? On 4/12/06, Chad McCue [EMAIL PROTECTED] wrote: I am currently using CFMX 6.1 and using the MachII framework. Last week were experencing a lot

Re: input box focus

2006-04-12 Thread Denny Valliant
I'd recommend using the getElementById over the formname.fieldname.focus(). And JS is parsed as it's read, for the most part, so simply putting scriptdocument.getElementById('fieldIDGoesHere').focus()/script AFTER the field should work. The bottom might be safer, and window.onload is swell if

Re: Using CFFTP Via SSH

2006-04-12 Thread Denny Valliant
It's a pain in the ass I'd bet, but you could use a Java SSH library. I thought it was cool that I could use the javamail API and get SSL imap mail without installing anything new. If someone does request the SSH stuff, could they put in one for ssl via imap as well? Um... wait, I dont' think

Re: VHS and Betamax

2006-04-11 Thread Denny Valliant
The comment I forgot to make in that post was that really I think the trick is to find handfull of technologies you like that are on the up-swing (since they all rise and fall) and stick with them as long as you can. This should make it easier to add other complementary skills as the demand

Re: WAR File Deployment

2006-04-11 Thread Denny Valliant
Use the JRun administrator. There is a good how-to about clusters and 6.1that explains doing it for CF, but it's similar for other apps. On 4/11/06, Jonathon Parker [EMAIL PROTECTED] wrote: I am running CFusionMX 6.1 and need to deploy a WAR file. I can find no option for that under CFIDE.

Re: WAR File Deployment

2006-04-11 Thread Denny Valliant
Doh! my bad, you'd definately need the multi-server install. Or super hacking skillz maybe. :D If you re-install, pick the middle option. You want jrun (unless you're gonna try jboss, but... that's a whole other ball of wax) On 4/11/06, Douglas Knudsen [EMAIL PROTECTED] wrote: if you dont'

Re: VHS and Betamax

2006-04-11 Thread Denny Valliant
Socially I think we allow computers to hand-cuff us. Socially? As in people don't get out enought and meet in meat-space? Or our interactions, even on-line? Well, maybe if the optimization is as swell as it's said to be. I can't help but feel that even as smart as computers are, there

VHS and Betamax

2006-04-10 Thread Denny Valliant
[...] Although I certainly don't base my tech decisions solely on market influences I do think it's important to consider them. A person who knows some XML is certainly more valuable in today's programming market than they would have been 10 years ago (how old is XML anyway?). In another 10

Re: trouble with cluster

2006-04-10 Thread Denny Valliant
I know, I know, it's an EAR, not a WAR... that's what you were gonna say, right? hehe. Was the cluster working before you added the instance? :D On 4/10/06, brad f [EMAIL PROTECTED] wrote: depends on what version of CF, blah blah blah... Maybe you didn't change the jndi or whatnot ports? Do

Re: trouble with cluster

2006-04-10 Thread Denny Valliant
I am using the CF administrator and I checked the JNDI ports and they are different. Thanks. Hmmm... well, all jokes aside, I dunno. Maybe it has to do with the jsession id, there are some steps you need to take to be sure the same data is available across servers. Since you said session, I'm

Re: Newbie Model Glue Questions

2006-04-09 Thread Denny Valliant
I like Assembly. I respect people who have taken the time to learn it. Isn't it sort o like: CF Java C ASM 110011 ? (sorta?) Maybe now it's more of a CF Java machine lang? I've heard tell of java compiling that did better optimization than the a human... but it's funny that you would use a

Re: FW: Body too long: RE: Newbie Model Glue Questions

2006-04-09 Thread Denny Valliant
From what I've seen you've been pretty cordial. I assumed in my oblivion I could have missed some posts, thus the I'm staying out of it, but it was the name calling that set off my flame ding-a-ling. No need for that here. (I guess, I'm new, so, I don't know the lay of the land. Could be par for

Re: Application variables from db?

2006-04-09 Thread Denny Valliant
On 4/9/06, Ken [EMAIL PROTECTED] wrote: Hi Charles. Got a question for you. Say you updated the value of the field OrgShortname in the database, for one of the websites. How soon would the application variable associated with it get updated? Also, in your code, are you not loading the

Re: Bad character crashing cfxml

2006-04-09 Thread Denny Valliant
mystring = rereplace(mystring,[#chr(1)#-#chr(8)##chr(11)#-#chr(12)##chr(14)#-#chr(31)#],,ALL); The only problem with this is that that you have to add stuff that you want removed. You could also list what's allowed, vs. what's not allowed, like cffunction name=safeString returntype=string

Re: Ent. vs Standard in pdf generation

2006-04-08 Thread Denny Valliant
a slick interface for reports. On 4/7/06, Rick Root [EMAIL PROTECTED] wrote: Denny Valliant wrote: depanding on what you want to do, you could use ^JasperReports, and go with the standard ed.. while ^jasperReports does work and can be integrated into CF, I'm not sure I'd recommend

Re: How to format the print view like a phone book?

2006-04-08 Thread Denny Valliant
Heh. Nothing better than a correction that isn't a correction at all, neh? You could use that code to have alternate colored rows tho... :P My bad. Shoulda looked closer. On 4/7/06, Les Mizzell [EMAIL PROTECTED] wrote: I think you meant: cfloop query=myQuery if currentrow MOD 2

Re: How to format the print view like a phone book?

2006-04-08 Thread Denny Valliant
Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 4/8/06, Denny Valliant [EMAIL PROTECTED] wrote: I think you meant: cfloop query=myQuery if currentrow MOD 2 all row one data

Re: Ent. vs Standard in pdf generation

2006-04-08 Thread Denny Valliant
On 4/8/06, Paul Hastings [EMAIL PROTECTED] wrote: Denny Valliant wrote: added it when they added cfdocument, neh? It would be nice if they contributed back the code for HTML PDF. Not that I'm one to talk, obviously. You won't find a blog entry documenting my experiences. :-) i'm

Re: OT 404 Redirect

2006-04-08 Thread Denny Valliant
head meta http-equiv=Refresh content=4;url= http://www.domain.com/link.html; /head Will redirect even if javascript is turned off. :D On 4/8/06, Mark A Kruger [EMAIL PROTECTED] wrote: Terry, I suspect you will need the cooperation of the hosting company. You can create a

Re: OT 404 Redirect

2006-04-08 Thread Denny Valliant
/06, Denny Valliant [EMAIL PROTECTED] wrote: head meta http-equiv=Refresh content=4;url= http://www.domain.com/link.html; /head Will redirect even if javascript is turned off. :D On 4/8/06, Mark A Kruger [EMAIL PROTECTED] wrote: Terry, I suspect you

Re: How to format the print view like a phone book?

2006-04-07 Thread Denny Valliant
I think you meant: cfloop query=myQuery if currentrow MOD 2 all row one data cfelse all row two data (or is that backwards? ;) /cfif /cfloop On 4/7/06, Coldfusion [EMAIL PROTECTED] wrote: CFOUTPUT QUERY=myQuery CFIF myQuery.recordcount MOD 2 !--- Display

Re: Ent. vs Standard in pdf generation

2006-04-07 Thread Denny Valliant
depanding on what you want to do, you could use ^JasperReports, and go with the standard ed.. On 4/7/06, Marty Johll [EMAIL PROTECTED] wrote: Does someone know or be able to point me in the direction of where I could find information related to the measurable difference between CF Enterprise

Re: How to format a document for use with address labels

2006-04-07 Thread Denny Valliant
Another way that works alright is to create a template in word, put a special char in each label, save it as RTF (plain text w/ formatting info), and modify the RTF text prior to sending it to the user, replacing the special char with whatever you want in the label. Not as nice as the table

<    1   2   3   4   5