Re: Bitwise operators

2006-08-30 Thread Auke van Leeuwen
I would probably have a look at this http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html xFlags = createObject( java, java.math.BigInteger ).init( 9223372036854775808 ); That's 2^63 if you didn't quite get that immediately ;-) I dunno this is untested, top of my head code, but I

Re: Handling empty values in tab delimited file.

2006-08-30 Thread Denny Valliant
Well, with cfhttp, you just put the csv file somewhere web-accessible, and then use the name attribute for cfhttp: cfhttp name=csvQuery url=http://www.your.domain/path/to/csv.file; cfdump var=#csvQuery# The livedoc page has some examples. There is a func at: http://www.cflib.org/udf.cfm?id=1236

Re: select control

2006-08-30 Thread Martin Thorpe
People have Wank as a surname... priceless that one definitely brightened up my morning :-) Well, people in the US have it as a surname; whether this is appropriate I'll leave as an exercise for the reader. Anyway, the AJAX example I posted seems even more appropriate as this thread progresses.

Re: Peoples of the list..... arise and bring down my server!

2006-08-30 Thread Will Tomlinson
It looks much better. If you're worried, the validator is your friend: That one error is from a cfform that isn't creating vaid xhtml. I'll be replacing that one with a regular form to fix it I guess. Thanks dude! Will ~|

Re: When to use Java...

2006-08-30 Thread D F
Hi Dave, would you be willing to share any information as to exactly how you've divided the functionality between the items described below. Another way to identify what goes where is to follow the natural MVC boundaries: Model = Java, View = CF, Controller = either, but probably CF. IMHO,

Re: Peoples of the list..... arise and bring down my server!

2006-08-30 Thread Will Tomlinson
I tried to buy some stuff but that didn't go very far since you don't deliver here. But I noticed some interesting behaviour in your checkout when I started playing around. You might wish to reconsider Javascript based form validation :) Jochem, I'm using cfform and thought I had used

formatting cfoutput from memo field

2006-08-30 Thread alex poyaoan
HI formatting output for memo fields is always a problem for me.. used ParagraphFormat() or replace(field, br, all) just resolved the case partially but is there a way that i could format some words in italics and the others in bold etc.. really need help on this pleasse

Re: formatting cfoutput from memo field

2006-08-30 Thread RichL
Check for the existence of desired words and apply different CSS class to them if they meet your criteria? On 8/30/06, alex poyaoan [EMAIL PROTECTED] wrote: HI formatting output for memo fields is always a problem for me.. used ParagraphFormat() or replace(field, br, all) just resolved the

Re: formatting cfoutput from memo field

2006-08-30 Thread alex poyaoan
HI formatting output for memo fields is always a problem for me.. used ParagraphFormat() or replace(field, br, all) just resolved the case partially but is there a way that i could format some words in italics and the others in bold etc.. really need help on this pleasse the destinctions

Re: formatting cfoutput from memo field

2006-08-30 Thread Doug Brown
There is a nice little custom tag CF_CapFirstTitle It works real well. I will email it to you.. Doug - Original Message - From: alex poyaoan [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, August 30, 2006 4:48 AM Subject: Re: formatting cfoutput from memo

Re: formatting cfoutput from memo field

2006-08-30 Thread alex poyaoan
thanks doug will wait for it... ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year.

Re: formatting cfoutput from memo field

2006-08-30 Thread Doug Brown
P.S. It is very early and I spoke before my brain had enough caffeine. It is a UDF and needs to be called as such. IE: CFSET str=once upon a time in the west CFOUTPUT Given str=#str#BR The CapFirstTitle version is #CapFirstTitle(str)# /CFOUTPUT - Original Message - From: Doug Brown

Re: Peoples of the list..... arise and bring down my server!

2006-08-30 Thread Doug Brown
Nice little site ya got... Only one small problem on the check-out. It will allow someone to put any kind of characters into the first name, last name. Not sure if you are validating later in the cart. As someone else said, might want to add some JS. Also there seems to be no maxLength on your

RE: Peoples of the list..... arise and bring down my server!

2006-08-30 Thread Ken Ferguson
...design with a standards compliant browser like Firefox or Opera and then fix IE as you go (I imagine you probably already do this). That way you catch the bugs/issues one at a time as they happen, so you are far more likely to be able to identify the offending code. If anyone hasn't seen it

Re: A Continue Shopping button should take you to...

2006-08-30 Thread Mary Jo Sminkey
Ironically, I was doing some online shopping today, and the site I was on solved this by just having two buttons on the shopping cart: Return to Last Category and Return to Last Product. Fairly straight-forward solution to it. Mary Jo Sminkey http://www.cfwebstore.com

CFForm Integer Validation Allowing Commas

2006-08-30 Thread Steve Moore
I have a CFINPUT tag using the validate=integer attribute and this is allowing commas in the input field to get past the validation. Of course I can add my own additional code to reject the commas, but I didn't think I had to, I thought that was what the integer validation was for. Is this by

RE: A Continue Shopping button should take you to...

2006-08-30 Thread Che Vilnonis
Mary, that's a simple and elegant solution. Something to keep in mind. -Original Message- From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 9:44 AM To: CF-Talk Subject: Re: A Continue Shopping button should take you to... Ironically, I was doing some

Re: Peoples of the list..... arise and bring down my server!

2006-08-30 Thread Raymond Camden
https://www947.ssldomain.com/wtomlinson/Store/productmaster.cfm?CID=-6.66 You get, There are no products in . On 8/29/06, Will Tomlinson [EMAIL PROTECTED] wrote: Could some of you folks hit my site and initialize my umpteen million cfc's so I can see if it brings down my CrystalTech CF

RE: CFForm Integer Validation Allowing Commas

2006-08-30 Thread Dave Watts
I have a CFINPUT tag using the validate=integer attribute and this is allowing commas in the input field to get past the validation. Of course I can add my own additional code to reject the commas, but I didn't think I had to, I thought that was what the integer validation was for. Is

Re: CFForm Integer Validation Allowing Commas

2006-08-30 Thread Teddy Payne
I tested it as well. The only thing that I can see is that it is sueful for is financial data which will have comma delimeted values like 1,000,000. If you do not like the commas, I suggest change the validate to regex and then put ina regular expression that only allows numbers. Teddy On

RE: CFForm Integer Validation Allowing Commas

2006-08-30 Thread Loathe
I was gonna say, I thought an Int was just a whole number, meaning no fractions or decimals correct? Commas should be allowed past that shouldn't they? -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 10:42 AM To: CF-Talk Subject: RE:

Re: CFForm Integer Validation Allowing Commas

2006-08-30 Thread Teddy Payne
In CF MX 6.1, commas were not allowed on cfinput validation=integer. In CF MX 7.0.2, you can have commas. Unless you preserve the commas by storing them as a varchar in a database, they are typically removed when inserted into the database for you. Teddy On 8/30/06, Loathe [EMAIL PROTECTED]

Re: select control

2006-08-30 Thread Larry Lyons
OK, this is strange question because I know I have done this in the past. I have a standard html select control. I wrap the a query around the options to pull values from a query. The values are numeric and I have them sorted in ascending order. If there is a value in the record that I want to get

RE: Peoples of the list..... arise and bring down my server!

2006-08-30 Thread kola.oyedeji
ummm if I read your original email right you actually wanted to 'load test this app' ? as opposed to a usability test? If so yyou could use a load testing tool like openSTA - record a session and play it back simulating a number of simultaneous users. Kola -Original Message- From:

Must I Use Evaluate() Here?

2006-08-30 Thread Sung Woo
I have a structure called stcFilters. In this structure, I have the following values: stcFilters.filter_1 = 100 stcFilters.filter_2 = 200 I want to show the value of these filters through a cfloop: cfloop index=i from=1 to=2 cfset temp = Evaluate(stcFilters.filter_#i#)

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Mingo Hagen
stcFilters['filter_#i#'] works Sung Woo wrote: I have a structure called stcFilters. In this structure, I have the following values: stcFilters.filter_1 = 100 stcFilters.filter_2 = 200 I want to show the value of these filters through a cfloop: cfloop index=i from=1 to=2 cfset

Re: Bitwise operators

2006-08-30 Thread Cameron Childress
Kay- I've handled this before using more than one 32 bit int to store the bits. In my case it was for a Fusebox 3 login and permissions system. Basically, you break the bits into sts of 32 and use an addition level column in the database. So, is you need postiion 100, that's position 5 of the

RE: Must I Use Evaluate() Here?

2006-08-30 Thread Andy Matthews
cfset temp = stcFilters[filter_i) !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Sung Woo [mailto:[EMAIL PROTECTED] Sent: Wednesday, August

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Sung Woo
I knew it was something really simple. Thank you! stcFilters['filter_#i#'] works Sung Woo wrote: ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your

RE: Must I Use Evaluate() Here?

2006-08-30 Thread Russ
Did we not agree that there is no speed benefit in not using evaluate? -Original Message- From: Mingo Hagen [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 12:01 PM To: CF-Talk Subject: Re: Must I Use Evaluate() Here? stcFilters['filter_#i#'] works Sung Woo

Re: Bitwise operators

2006-08-30 Thread Cameron Childress
If you are interested in my solution, I just found the preso on my laptop. I don't have an easy place to put it for download right now, so if you want it, email me and let me know.. It's about a one meg zip file, or I'd just send it. -Cameron On 8/30/06, Cameron Childress [EMAIL PROTECTED]

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Charlie Griefer
not saying we didn't...but i don't recall that particular agreement (but then again, my mind's old and feeble) On 8/30/06, Russ [EMAIL PROTECTED] wrote: Did we not agree that there is no speed benefit in not using evaluate? -Original Message- From: Mingo Hagen [mailto:[EMAIL

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Josh Nathanson
There was a huge thread a few weeks ago on this topic...there is a persistent myth that Evaluate is slower than the structure methods for evaluating dynamic variables...however I and some others did some testing and found the difference is negligible. Possibly older versions of CF had

MVC using Coldfusion and Java

2006-08-30 Thread D F
In my last post I asked about when to use Java. Someone mention the MVC with the following designations... Model - Java View - CF Controller - Either I am curious to understand how this is can accomplished. Any comments or links to such descriptions would be most appreciated. The simpler the

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Teddy Payne
cfset stcFilters.filter_1 = 100 cfset stcFilters.filter_2 = 200 cfloop collection=#stcFilters# item=key cfoutput#key#: #stcFilters[key]#br //cfoutput /cfloop On 8/30/06, Sung Woo [EMAIL PROTECTED] wrote: I have a structure called stcFilters. In this structure, I have the following values:

RE: Must I Use Evaluate() Here?

2006-08-30 Thread Andy Matthews
Ooops... should be a square bracket at the end in place of the parentheses. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Andy Matthews

Locale problems

2006-08-30 Thread Richard Kroll
Hey all, I'm currently working with resource bundles, and I've run into a problem with the implementation and am hoping that someone here can give me some insight. I've got a resourceBundle CFC set up that uses the Java ICU4J library to manage my RBs. My problem comes up when I'm using

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Teddy Payne
Regardless of the speed factor, why not use the loop structure that was made to handle structures? *rhetorical question* Teddy On 8/30/06, Russ [EMAIL PROTECTED] wrote: Did we not agree that there is no speed benefit in not using evaluate? -Original Message- From: Mingo Hagen

Re: MVC using Coldfusion and Java

2006-08-30 Thread Mark Drew
I am doing a project like this, and we are connecitng the front end of our application to a commerce engine we have written in Java. So, to get products, I have a CFC that will go and call a Java Class that returns an array of products, my view then displays those products. Make sense? MD On

RE: Must I Use Evaluate() Here?

2006-08-30 Thread Russ
Not saying he shouldn't use the proper way to do it to write new code, but if he's working on existing code... you know the old saying... if it ain't broken... and if there's no speed difference... no point in fixing it. Russ -Original Message- From: Teddy Payne [mailto:[EMAIL

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Aaron Rouse
I think it gets forgotten about as an option more times than not. On 8/30/06, Teddy Payne [EMAIL PROTECTED] wrote: Regardless of the speed factor, why not use the loop structure that was made to handle structures? *rhetorical question* Teddy

SOT: How do I force IE to use cached form data when user clicks on Back button instead of refreshing the page?

2006-08-30 Thread Andrew Peterson
Hi. I open up a page containing form data that was generated from a query. User makes changes to this data, which prompts a new window to open using javascript (by design), and in this new window is another form. Data is entered in this new window, the form is processed, the code interacts

RE: Must I Use Evaluate() Here?

2006-08-30 Thread Ken Ferguson
Did he really just ask if we AGREED on something on this list??? You should know better than that Russ! LOL --Ferg -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 11:07 AM To: CF-Talk Subject: RE: Must I Use Evaluate() Here? Did we not agree

Re: When to use Java...

2006-08-30 Thread Dave Jones
Sure. Business objects (i.e. the Model, e.g. Agent, Location, Customer, User, Quotes, etc) all were Java. DAOs too as I recall (I remember discovering that I could instantiate coldfusion.sql.QueryTable objects in my Java DAOs). Everything else (views, filters, listeners) was done in CF. Does

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Josh Nathanson
Yup, looping over the collection if you have a structure is more elegant than using evaluate. Here's an interesting one though...I am dynamically generating queries/query names, is there any way to evaluate the query results dynamically without using evaluate? I would do a single query and

Re: Locale problems

2006-08-30 Thread Paul Hastings
Richard Kroll wrote: insight. I've got a resourceBundle CFC set up that uses the Java ICU4J library to manage my RBs. My problem comes up when I'm using why use icu4j for this? especially if you're *just* using core java locales rather than ULocale? if you want *all* the CLDR locales you

RE: Must I Use Evaluate() Here?

2006-08-30 Thread Sean Coyne
Variables['q#dayspan#'].totalorders -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 1:06 PM To: CF-Talk Subject: Re: Must I Use Evaluate() Here? Yup, looping over the collection if you have a structure is more elegant than using

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Charlie Griefer
queries exist in the variables scope (unless you explicitly declare them elsewhere). variables['q' dayspan][totalorders][n] On 8/30/06, Josh Nathanson [EMAIL PROTECTED] wrote: Yup, looping over the collection if you have a structure is more elegant than using evaluate. Here's an interesting

Re: database collate for site that has to support multiple languages

2006-08-30 Thread Victor Moore
Thanks Paul, I got 93 results. probably I will go with SQL_Latin1_General_CP850_CI_AS which is Latin1-General, case-insensitive, accent-sensitive, kanatype-insensitive, width-insensitive for Unicode Data, SQL Server Sort Order 42 on Code Page 850 for non-Unicode Data Regards Victor On 8/29/06,

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Josh Nathanson
Swet. Forgot about the Variables scope. -- Josh - Original Message - From: Sean Coyne [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, August 30, 2006 10:12 AM Subject: RE: Must I Use Evaluate() Here? Variables['q#dayspan#'].totalorders -Original

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Teddy Payne
Even though the variables solution will work, why not create a generic function or stored procedure that will handle the ncessary parameters and return a query? This way your code stays simple and you have reused code. Teddy

Re: database collate for site that has to support multiple languages

2006-08-30 Thread Paul Hastings
Victor Moore wrote: probably I will go with SQL_Latin1_General_CP850_CI_AS which is not knowing your data, can't say if this good or bad. test before you leap. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of

Re: SOT: How do I force IE to use cached form data when user clicks on Back button instead of refreshing the page?

2006-08-30 Thread Mark Drew
I wouldnt do that, what you should do is always fill in the values from submitted values. I prefer the method of at the top of your form doing cfparam name=FORM.fieldname default=#somequery.column# and in your form input type=text name=fieldname value=#FORM.fieldname# This means that after

SOT CSS issue

2006-08-30 Thread Victor Moore
Hello, I'm trying to replace my inline style with an external style sheet. I have: body bgcolor=#ff text=#00 leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 background=images/form_bkg.gif which displays fine if I replace with: body class=signform and in signform.css I have

RE: SOT CSS issue

2006-08-30 Thread Coldfusion
Try: background-image: url ('images/form_bkg.gif') -Original Message- From: Victor Moore [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 1:27 PM To: CF-Talk Subject: SOT CSS issue Hello, I'm trying to replace my inline style with an external style sheet. I have: body

RE: SOT CSS issue

2006-08-30 Thread Ray Champagne
Cinch up that space between url and the '(' ? -Original Message- From: Victor Moore [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 1:27 PM To: CF-Talk Subject: SOT CSS issue Hello, I'm trying to replace my inline style with an external style sheet. I have:

RE: SOT CSS issue

2006-08-30 Thread Ian Skinner
background-image: url (images/form_bkg.gif)} IIRC these urls are relative to the CSS file, is there an images folder with that gif in it relative to the CSS file? You may need to add a root slash to your url (/images/form_bkg.gif). -- Ian Skinner Web Programmer BloodSource

RE: SOT CSS issue

2006-08-30 Thread Ben Nadel
Quote the background image url Ex url( ../images/blam.gif ); Also reemember that URL are relative to the style sheet, NOT the calling page. ... Ben Nadel www.bennadel.com Certified Advanced ColdFusion Developer Need Help? www.bennadel.com/ask-ben/ -Original

RE: Locale problems

2006-08-30 Thread Richard Kroll
why use icu4j for this? especially if you're *just* using core java locales rather than ULocale? if you want *all* the CLDR locales you need to use icu4j's ULocale. I was going to use the ICU4J libraries as they included extra features for calendars, etc. which I thought could come in handy

RE: CF bringing down IIS Application Pool

2006-08-30 Thread Everett, Al \(NIH/NIGMS\) [C]
Following up. After going round-and-round with the hardware guys, they finally called Microsoft who had them get a crash dump. MS's analysis says that the culprit is JRUN_IIS6_WILDCARD.DLL. 00d51264 77bcde94 00d51280 1000d60f 00d532f0 msvcrt!_output+0x6a7 00d512a0 10001d02 00d522cc 0fff

Re: SOT CSS issue

2006-08-30 Thread Victor Moore
Thank you all, I have tried all the variations except removing the space. It works now: body.signform{margin:0px 0px 0px 0px; padding:0px; background: #ff; background-image: url(images/form_bkg.gif)} Thank you Ray On 8/30/06, Ray Champagne [EMAIL PROTECTED] wrote: Cinch up that space

Re: MVC using Coldfusion and Java

2006-08-30 Thread D F
Hi Mark, thanks for responding, yes that makes sense. I am doing a project like this, and we are connecitng the front end of our application to a commerce engine we have written in Java. So, to get products, I have a CFC that will go and call a Java Class that returns an array of products, my

Re: SOT: How do I force IE to use cached form data when user clicks on Back button instead of refreshing the page?

2006-08-30 Thread Jochem van Dieten
Andrew Peterson wrote: I open up a page containing form data that was generated from a query. User makes changes to this data, which prompts a new window to open using javascript (by design), and in this new window is another form. Data is entered in this new window, the form is

RE: CF bringing down IIS Application Pool

2006-08-30 Thread Russ
Try downloading the latest wsconfig and rerunning the connection to IIS. I believe it will create wsconfig\2 folder with the newer dll in it. If all else fails, reinstall windows, or better yet install apache :-P Russ -Original Message- From: Everett, Al (NIH/NIGMS) [C]

SOT XSLT Content is not allowed in prolog.

2006-08-30 Thread Ian Skinner
Can anybody point out where I have content in a prolog? cfsavecontent variable=articleXSL xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xsl:output method=text/ xsl:template match=/ xsl:for-each select=articles/child::*

HELP: ColdFusion 4.5 on Windows 2003 (Web edition).... don't ask

2006-08-30 Thread John Paul Ashenfelter
Folks, For whatever reason, here's my situation: I need to run a ColdFusion 4.5 application on Windows 2003 (Web Edition). CF45 doesn't recognize that version if IIS (no surprise) and so I install with the Other option and then manually followed the directions in this Tech Note

Re: HELP: ColdFusion 4.5 on Windows 2003 (Web edition).... don't ask

2006-08-30 Thread John Paul Ashenfelter
On 8/30/06, John Paul Ashenfelter [EMAIL PROTECTED] wrote: Folks, For whatever reason, here's my situation: I need to run a ColdFusion 4.5 application on Windows 2003 (Web Edition). CF45 doesn't recognize that version if IIS (no surprise) and so I install with the Other option and then

RE: SOT CSS issue

2006-08-30 Thread Sandra Clark
Just and FYI, when using 0 as a length value for any property, you don't have to put in the length type. 0 = 0 in any length. So you can save yourself some typing by saying margin:0 0 0 0 (or in the case if they are all zero, use the shortcut method margin:0. Sandra Clark

RE: HELP: ColdFusion 4.5 on Windows 2003 (Web edition).... don't ask

2006-08-30 Thread Russ
Install apache... see what version of apache it's compatible with and grab that one (if not 2.0, then probably 1.3). We've had 4.5 running on win2k with no problems (with IIS)... never tried it on win2k3. Russ -Original Message- From: John Paul Ashenfelter [mailto:[EMAIL

RE: CF bringing down IIS Application Pool

2006-08-30 Thread Everett, Al \(NIH/NIGMS\) [C]
Try downloading the latest wsconfig and rerunning the connection to IIS. I believe it will create wsconfig\2 folder with the newer dll in it. I'll pass that along. If all else fails, reinstall windows, Unlikely. or better yet install apache :-P Not an option.

Re: HELP: ColdFusion 4.5 on Windows 2003 (Web edition).... don't ask

2006-08-30 Thread Aaron Rouse
Hah ... our financial group has their own dedicated Windows 2003 server to host their site. They are using CF 4 of all things, works like a champ though wish it did not so they were forced to upgrade. :) On 8/30/06, John Paul Ashenfelter Works like a champ now. You know, at least as far as it

Re: Locale problems

2006-08-30 Thread Paul Hastings
Richard Kroll wrote: I was under the impression that getLocale() and setLocale() worked on the current request. I was using setLocale(myQuery.userLocale) to set yes getLocale will return what the request locale is, which initially will be the server locale. the correct locale. But in

Re: SOT: How do I force IE to use cached form data when user clicks on Back button instead of refreshing the page?

2006-08-30 Thread Kris Jones
Action page processes form, finds errors, instructs user to hit the back button to fix them. User hits back button, and I.E. reruns the query, erasing the figures in the form that the user just entered. Why does it think it has to requery the form instead of using form data, and how do I

RE: SOT XSLT Content is not allowed in prolog. SOLVED

2006-08-30 Thread Ian Skinner
Ok, so when not returning XML from your XSLT code, you do not want to try and XMLParse() it anymore. cfset tempXML = xmlParse(xmlTransform(session.xmlobj,articleXSL)) I've been overlooking this for over an hour now! cfset tempXML = xmlTransform(session.xmlobj,articleXSL) -- Ian

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Claude Schneegans
persistent myth that Evaluate is slower than the structure methods for evaluating dynamic variables Exact, it is a myth. Don't we forget that CF is not a compiled language, but an interpreter. (I know, CFMX is so called compiled into Java, but Java is itself an interpreter) So evaluate and

Re: SOT XSLT Content is not allowed in prolog.

2006-08-30 Thread Jon Gunnip
Ian, Is the XMLTransform() throwing the content in prolog error or is the XMLParse()? It looks like your output from the XMLTransform() might not be valid XML and hence would throw an error in XMLParse(). Jon On 8/30/06, Ian Skinner [EMAIL PROTECTED] wrote: Can anybody point out where I have

RE: Must I Use Evaluate() Here?

2006-08-30 Thread Loathe
How about because it's ugly and makes expressions more complex than they need to be? That's why I don't use it. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 3:03 PM To: CF-Talk Subject: Re: Must I Use Evaluate() Here?

RE: Must I Use Evaluate() Here?

2006-08-30 Thread Andy Matthews
Right. If there's no difference in speed then why not use the code snippet that DOESN'T have it? Easier to read for sure. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//-

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Teddy Payne
Ok, everyone step away from evaluate(). The originating thread was solved 10 messages ago. =) Use the style that fits you. Since there is no differene, please feel free to use either solution as both will work just fine. Cheers, Teddy

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Raymond Camden
Please see this: http://blogs.sanmathi.org/ashwin/2006/07/24/whento-evaluate-and-iif/ Ashwin mentions that there are times when evaluate will NOT be slow, but goes on to say how it can perform badly. I think he is very clear here: In summary - use evaluate() and iif() in situations where the

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Claude Schneegans
How about because it's ugly and makes expressions more complex than they need to be? This could be a better reason. I was just commenting about the speed. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Raymond Camden
I don't know. A ColdFusion engineer saying there is a difference kinda implies to me there is a difference. On 8/30/06, Teddy Payne [EMAIL PROTECTED] wrote: Ok, everyone step away from evaluate(). The originating thread was solved 10 messages ago. =) Use the style that fits you. Since

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Teddy Payne
I was trying to cork yet another evaluate() debate. =) Raymond, the trouble making Jawa Camden. Teddy ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your

Calling Remote COM

2006-08-30 Thread Robertson-Ravo, Neil (RX)
Anyone calling remote COM components with any success? I can call the component AOK when I am on the same server it resides but it fails when I try to call it from another server (on the same domain). I am using a standard cfobject call with Remote attribute. Tried a UNC path in the server

OT: XSLT selecting a sibling value to the current node

2006-08-30 Thread Ian Skinner
I have the following code in an XSLT fragment. xsl:for-each select=articles/article/[EMAIL PROTECTED] gt; #dateFormat(dateAdd('m',-6,now()),'mmdd')#] lixsl:value-of select=. //li /xsl:for-each This is working against an XML object that looks a bit like this. articles article id=

RE: Calling Remote COM

2006-08-30 Thread Dave Watts
Anyone calling remote COM components with any success? I can call the component AOK when I am on the same server it resides but it fails when I try to call it from another server (on the same domain). I am using a standard cfobject call with Remote attribute. Tried a UNC path in the

RE: XSLT selecting a sibling value to the current node

2006-08-30 Thread Ian Skinner
Ok I got this to work, but I'm not sure why this way works but my original does not. This works: lixsl:value-of select=../title //li This does not: lixsl:value-of select=parent::title //li Anybody care to expand on that? -- Ian Skinner Web Programmer BloodSource

RE: Must I Use Evaluate() Here?

2006-08-30 Thread Dave Watts
I don't know. A ColdFusion engineer saying there is a difference kinda implies to me there is a difference. Ashwin certainly does know CF server internals - since he works on them. But in the long run, whether you use Evaluate or associative array syntax, the differences are likely to be

Re: Must I Use Evaluate() Here?

2006-08-30 Thread Raymond Camden
Agreed. -r On 8/30/06, Dave Watts [EMAIL PROTECTED] wrote: I don't know. A ColdFusion engineer saying there is a difference kinda implies to me there is a difference. Ashwin certainly does know CF server internals - since he works on them. But in the long run, whether you use Evaluate or

GROUP BY error

2006-08-30 Thread Mike | NZSolutions Ltd
Hi guys, I have the following query... SELECT clubroom.cb_id, clubroom.cb_dCreated, clubroom.cb_dModified, clubroom.cb_content, clubroom.cb_isArchive, COUNT(clubroom_images.cbi_id) AS image_count FROM clubroom LEFT OUTER JOIN clubroom_images ON clubroom.cb_id = clubroom_images.cb_id GROUP BY

Re: Calling Remote COM

2006-08-30 Thread Robertson-Ravo, Neil (RX)
Will check these tomorrow! Thanks. 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 and may also be privileged. It

RE: GROUP BY error

2006-08-30 Thread Ben Nadel
You could either do something like selecting the content as a substring (which will work in group by) or you could skip the Group BY and run the count as sub-query SELECT ... SUBSTRING( clubroom.cb_content, 0, 1000 ) AS cb_content ... FROM ... GROUP BY

OT: reformat a Zero Filled HD.

2006-08-30 Thread Robertson-Ravo, Neil (RX)
Hopefully someone can help here. I have installed a new HD in a notebook which has been zero filled. Anyone know any good tools to reformat it for use? It is a Toshiba drive and there seems to be no tools from them to do this?! Can I just install the Windows CD, restart and it will do it all

Re: GROUP BY error

2006-08-30 Thread Mike Little
sort of like this? SELECT clubroom.cb_id, clubroom.cb_dCreated, clubroom.cb_dModified, clubroom.cb_content, clubroom.cb_isArchive, ( SELECT COUNT(cbi_id) AS image_count FROM clubroom_images ) FROM clubroom LEFT OUTER JOIN clubroom_images ON clubroom.cb_id = clubroom_images.cb_id

Re: GROUP BY error

2006-08-30 Thread Mike Little
hmmm... now i cannot get at my getArticles.image_count variable ?? sort of like this? SELECT clubroom.cb_id, clubroom.cb_dCreated, clubroom.cb_dModified, clubroom.cb_content, clubroom.cb_isArchive, ( SELECT COUNT(cbi_id) AS image_count FROM clubroom_images ) FROM

Re: reformat a Zero Filled HD.

2006-08-30 Thread Doug Brown
Writing zero to your drive is just like a low level format. All you need to do is create a partition and format using your windows cd. - Original Message - From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, August 30, 2006 4:39 PM

Re: OT: reformat a Zero Filled HD.

2006-08-30 Thread Mike Kear
If you install WindowsXPPRo, when you're starting the install, you get the option to delete the current partition. Do that, which will clear all the disk contents. Then create a new partition. (tis' all in the windows install routine) That will trigger a reformat of the HDD. I think that

RE: GROUP BY error

2006-08-30 Thread Ben Nadel
Sorry, I was on the phone for a bit: SELECT r.cb_id, r.cb_dCreated, r.cb_dModified, r.cb_content, r.cb_isArchive, ( SELECT COUNT( * ) FROM clubroom_images i

Re: Peoples of the list..... arise and bring down my server!

2006-08-30 Thread Will Tomlinson
Good luck with the site ... (still waiting for feedback on mine, lol Jen, email me offlist: mhwd at bellsouth.net. I have a few comments on your cart. Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of

YesNoFormat() is cool!

2006-08-30 Thread Will Tomlinson
Just wanted to post about this function I just found in the back of WACK... the very last function. I use a lot of bit data types in my db. Then it sucks when you need to output a yes or a no on your site. YesNoFormat() takes care of it for me. So I can say: Memmership Active:

  1   2   >