Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Robertson-Ravo, Neil (RX)
Not true, for small queries etc, a simple inline SQL block in a cfquery is
as fast. 

Only in some circumstances will you see huge performance gains using an SP.







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 is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Teddy Payne
To: CF-Talk
Sent: Mon Aug 28 01:42:25 2006
Subject: Re: Stored procs (was Top 100 ColdFusion Programmers)

I am not sure that I am seeing a valid argument to have ad hoc queries in
CF.

Even for small queries, the execution time will typically always be faster
executed from a databse like MS SQl, Oracle ..etc than from the CF server.

As for contractors waiting for the copy of the stored procedure, the DBA
should has assigned the roles to the contractors to have read access to the
database so they can view the SPs.  Plus, you can each cotnractor copy the
databse locally and test locally before asking for the DBA to commit a
solution.

For the deployment of the stored procedures, ths can be achieved pretty
easily with generated scripts.  It is not uncommon to just copy the sql
necessary to update, backup and deploy all of your stored procedures very
quickly.

Teddy




~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251205
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Robertson-Ravo, Neil (RX)
No, you do not, not really. This is not how SQL Server works.

You are still using inline compiled on demand SQL.

 






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 is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Zaphod Beeblebrox
To: CF-Talk
Sent: Mon Aug 28 01:49:32 2006
Subject: Re: Stored procs (was Top 100 ColdFusion Programmers)

I run almost all my queries with queryparam so they're all precompiled
anyway.  When I do a trace, I see that sqlserver is calling that query
as an sp after the first call.  Therefore, I get the benefits of speed
of the sp with the ease of deployment with cf.


On 8/27/06, Teddy Payne [EMAIL PROTECTED] wrote:
 Even for small queries, the execution time will typically always be faster
 executed from a databse like MS SQl, Oracle ..etc than from the CF server.




~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251206
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Robertson-Ravo, Neil (RX)
an addage is the an ability for other applications to use your logic when
using SP.

I am not sure why there seems to be a recurring issue with changing an SP
when a simply F5 in QA works a charm!










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 is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Dave Watts
To: CF-Talk
Sent: Mon Aug 28 02:38:21 2006
Subject: RE: Stored procs (was Top 100 ColdFusion Programmers)

 While on that subject, a lot of people insist that everythig 
 should be done with SP's wherever possible.
 While this is indeed a good idea for long/complex queries 
 that will see vastly improved performance and speed, but I 
 think it is wrong to do it just for the sake of it, and to 
 put basic select or other small queries etc into SP's.

I wouldn't go so far as to insist, but I do strongly recommend it. Not for
speed, primarily - using prepared statements may be as fast in many cases -
but not just for the sake of it either. Using stored procedures allows you
to logically segment data access code from your application in a useful way,
and allows the application to be secured a bit more - you can in many cases
essentially remove the ability to run arbitrary SQL from your application.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251207
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Dan Plesse
I would love to test out my pure java embedded db in CF solution against
any SP from Oracle or any of the other DBs.

Just give me a dataset and I will knock one right out of the park.

Write to me offline and I will set you up (for free) and you can test it out
yourself.

No more DBA's and pia SP in the way anymore.

Dan


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251208
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


(Admin) New Hardware for House of Fusion

2006-08-28 Thread Michael Dinowitz
The entire House of Fusion website has been moved over to a new machine. This 
is a dual CPU, 2 gig machine which should handle the increase in traffic I've 
been seeing. If anyone sees any problems with the site, please email me ASAP so 
I can make sure it's fixed. 

Thanks

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251209
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread James Holmes
If I have a cluster of CF boxes, can they share the same embedded DB?

On 8/28/06, Dan Plesse [EMAIL PROTECTED] wrote:
 I would love to test out my pure java embedded db in CF solution against
 any SP from Oracle or any of the other DBs.

 Just give me a dataset and I will knock one right out of the park.

 Write to me offline and I will set you up (for free) and you can test it out
 yourself.

 No more DBA's and pia SP in the way anymore.

 Dan


 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251210
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Robertson-Ravo, Neil (RX)
Dan, I think in all honesty the only person to use this your solution
would be you. 

Do you really think it is going to compete in the commercial DB market? Do
you think that it would ever replace the need for Oracle/MSSQL?










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 is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Dan Plesse
To: CF-Talk
Sent: Mon Aug 28 10:18:10 2006
Subject: Re: Stored procs (was Top 100 ColdFusion Programmers)

I would love to test out my pure java embedded db in CF solution against
any SP from Oracle or any of the other DBs.

Just give me a dataset and I will knock one right out of the park.

Write to me offline and I will set you up (for free) and you can test it out
yourself.

No more DBA's and pia SP in the way anymore.

Dan




~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251211
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CSS: Does anybody know how to fix this IE/CSS problem?

2006-08-28 Thread Will Tomlinson
I'm using lightbox ( 
http://www.dynamicdrive.com/dynamicindex4/lightbox/index.htm )and there's a 
problem in IE. The select menu shows up on TOP of the image viewer. I figure 
somethin's clashin. Is there a way to fix this? 

https://www947.ssldomain.com/wtomlinson/Store/productdetail.cfm?PID=165

And in FF, the overlay background doesn't show up. Probably a clash as well. 

Any ideas? Sandy?  :)

Thanks much,
Will

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251212
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: (Admin) New Hardware for House of Fusion

2006-08-28 Thread Ben Nadel
Sweeet :) 

...
Ben Nadel 
www.bennadel.com
Certified Advanced ColdFusion Developer

Need Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 5:12 AM
To: CF-Talk
Subject: (Admin) New Hardware for House of Fusion

The entire House of Fusion website has been moved over to a new machine.
This is a dual CPU, 2 gig machine which should handle the increase in
traffic I've been seeing. If anyone sees any problems with the site, please
email me ASAP so I can make sure it's fixed. 

Thanks



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251213
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Does anybody know how to fix this IE/CSS problem?

2006-08-28 Thread Sandra Clark
That is a bug in IE6 which will be fixed in IE7.  But until then, there is
nothing to do except arrange the items so that the image overlay is lower
than the select box.

I'm not seeing a problem with FF,  can you be more specific.


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility

CSS HANDS ON
New York City, October 10-13, 2006.
http://www.shayna.com/index.cfm?fuseaction=training.syllabus_displayid=1


Read an interview regarding my CSS Hands on Class at 
http://www.shayna.com/index.cfm?fuseaction=blog.display_entryid=140

 
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 6:26 AM
To: CF-Talk
Subject: CSS: Does anybody know how to fix this IE/CSS problem?

I'm using lightbox (
http://www.dynamicdrive.com/dynamicindex4/lightbox/index.htm )and there's a
problem in IE. The select menu shows up on TOP of the image viewer. I figure
somethin's clashin. Is there a way to fix this? 

https://www947.ssldomain.com/wtomlinson/Store/productdetail.cfm?PID=165

And in FF, the overlay background doesn't show up. Probably a clash as well.


Any ideas? Sandy?  :)

Thanks much,
Will



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251214
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


valuelist and variable column name

2006-08-28 Thread Gareth Hughes
I'm struggling to get ValueList to work on a column name which is a 
variable:

cfset varColumnName = actualColumnName

cfdump var=myQuery[varColumnName][1] !--- this line works ---

cfset myList = valueList(myQuery[varColumnName]) !--- this line doesn't 
work ---

I thought the square bracket notation should work here but apparently not. 
Does anyone know the best way to do this?

Thanks 


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251215
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: valuelist and variable column name

2006-08-28 Thread srinivas ganta
Hi Hughes

Try this

cfset myList = valueList(myQuery.varColumnName])

Srinivas

On 8/28/06, Gareth Hughes [EMAIL PROTECTED] wrote:

 I'm struggling to get ValueList to work on a column name which is a
 variable:

 cfset varColumnName = actualColumnName

 cfdump var=myQuery[varColumnName][1] !--- this line works ---

 cfset myList = valueList(myQuery[varColumnName]) !--- this line doesn't
 work ---

 I thought the square bracket notation should work here but apparently not.
 Does anyone know the best way to do this?

 Thanks


 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251216
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: valuelist and variable column name

2006-08-28 Thread srinivas ganta
cfset myList = valueList(evaluate(myQuery. varColumnName))

Thanks
Srinivas

On 8/28/06, Gareth Hughes [EMAIL PROTECTED] wrote:

 I'm struggling to get ValueList to work on a column name which is a
 variable:

 cfset varColumnName = actualColumnName

 cfdump var=myQuery[varColumnName][1] !--- this line works ---

 cfset myList = valueList(myQuery[varColumnName]) !--- this line doesn't
 work ---

 I thought the square bracket notation should work here but apparently not.
 Does anyone know the best way to do this?

 Thanks


 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251217
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: valuelist and variable column name

2006-08-28 Thread Gareth Hughes
Not sure what you're suggesting here, you've only got one square bracket. 
But I've tried as many combinations as I can think of with wrapping the 
brackets around the column name, the query and column name, with dot, 
without dot etc and I can't make it work. Evaluate?

- Original Message - 
From: srinivas ganta [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, August 28, 2006 12:59 PM
Subject: Re: valuelist and variable column name


Hi Hughes

Try this

cfset myList = valueList(myQuery.varColumnName])

Srinivas

On 8/28/06, Gareth Hughes [EMAIL PROTECTED] wrote:

 I'm struggling to get ValueList to work on a column name which is a
 variable:

 cfset varColumnName = actualColumnName

 cfdump var=myQuery[varColumnName][1] !--- this line works ---

 cfset myList = valueList(myQuery[varColumnName]) !--- this line doesn't
 work ---

 I thought the square bracket notation should work here but apparently not.
 Does anyone know the best way to do this?

 Thanks






~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251218
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


regex help

2006-08-28 Thread Doug Brown
Was wondering how I would strip out everything between

a href=this,that and the otherword/a and just leave the word?


Any ideas

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251219
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: valuelist and variable column name

2006-08-28 Thread Dawson, Michael
I think this is one of those instances where it just won't work.  I ran
across this issue a year or so back.  I'm pretty sure it was with the
valueList() function.

M!ke

-Original Message-
From: Gareth Hughes [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 7:13 AM
To: CF-Talk
Subject: Re: valuelist and variable column name

Not sure what you're suggesting here, you've only got one square
bracket. 
But I've tried as many combinations as I can think of with wrapping the
brackets around the column name, the query and column name, with dot,
without dot etc and I can't make it work. Evaluate?

- Original Message -
From: srinivas ganta [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, August 28, 2006 12:59 PM
Subject: Re: valuelist and variable column name


Hi Hughes

Try this

cfset myList = valueList(myQuery.varColumnName])

Srinivas

On 8/28/06, Gareth Hughes [EMAIL PROTECTED] wrote:

 I'm struggling to get ValueList to work on a column name which is a
 variable:

 cfset varColumnName = actualColumnName

 cfdump var=myQuery[varColumnName][1] !--- this line works ---

 cfset myList = valueList(myQuery[varColumnName]) !--- this line
doesn't
 work ---

 I thought the square bracket notation should work here but apparently
not.
 Does anyone know the best way to do this?

 Thanks

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251220
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: regex help

2006-08-28 Thread Ben Nadel
Try this:

#REReplaceNoCase(
a href=this,that and the otherword/a,
(a[^]*)((?!/a).)*?(/a[^]*),
\2,
ALL
)#

That uses a negative look ahead... I can't remember if that is supported in
CF directly or not. If it is not, try this:

#REReplaceNoCase(
a href=this,that and the otherword/a,
(a[^]*)(.)*?(/a[^]*),
\2,
ALL
)#


...
Ben Nadel 
www.bennadel.com
Certified Advanced ColdFusion Developer

Need Help?
www.bennadel.com/ask-ben/


-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 8:12 AM
To: CF-Talk
Subject: regex help

Was wondering how I would strip out everything between

a href=this,that and the otherword/a and just leave the word?


Any ideas



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251221
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: valuelist and variable column name

2006-08-28 Thread Gareth Hughes
Ah, thanks Mike, I'll work around it. Srinivas, evaluate doesn't work either 
but thanks anyway.

- Original Message - 
From: Dawson, Michael [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, August 28, 2006 1:18 PM
Subject: RE: valuelist and variable column name


I think this is one of those instances where it just won't work.  I ran
across this issue a year or so back.  I'm pretty sure it was with the
valueList() function.

M!ke

-Original Message-
From: Gareth Hughes [mailto:[EMAIL PROTECTED]
Sent: Monday, August 28, 2006 7:13 AM
To: CF-Talk
Subject: Re: valuelist and variable column name

Not sure what you're suggesting here, you've only got one square
bracket.
But I've tried as many combinations as I can think of with wrapping the
brackets around the column name, the query and column name, with dot,
without dot etc and I can't make it work. Evaluate?

- Original Message -
From: srinivas ganta [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, August 28, 2006 12:59 PM
Subject: Re: valuelist and variable column name


Hi Hughes

Try this

cfset myList = valueList(myQuery.varColumnName])

Srinivas

On 8/28/06, Gareth Hughes [EMAIL PROTECTED] wrote:

 I'm struggling to get ValueList to work on a column name which is a
 variable:

 cfset varColumnName = actualColumnName

 cfdump var=myQuery[varColumnName][1] !--- this line works ---

 cfset myList = valueList(myQuery[varColumnName]) !--- this line
doesn't
 work ---

 I thought the square bracket notation should work here but apparently
not.
 Does anyone know the best way to do this?

 Thanks



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251222
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (Admin) New Hardware for House of Fusion

2006-08-28 Thread Michael Dinowitz
Only if I iron out the little issues of back and forth mail server/site 
caching, logging and a few other misc fun things. That and put a new, 
non-Google banner on the site to get editorial assistants/interns and all this 
while some contractor tears down the ceiling of my home office. Fun

Anyone have a spare desk in the NY area for me for the next day or so?

Sweeet :) 

..
Ben Nadel 
www.bennadel.com
Certified Advanced ColdFusion Developer

Need Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 5:12 AM
To: CF-Talk
Subject: (Admin) New Hardware for House of Fusion

The entire House of Fusion website has been moved over to a new machine.
This is a dual CPU, 2 gig machine which should handle the increase in
traffic I've been seeing. If anyone sees any problems with the site, please
email me ASAP so I can make sure it's fixed. 

Thanks

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251223
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: valuelist and variable column name

2006-08-28 Thread James Holmes
Why use evaluate() as a fudge for valueList() when you can just use
arrayToList()?

cfset myList = arrayToList(myQuery[varColumnName])


On 8/28/06, Gareth Hughes [EMAIL PROTECTED] wrote:
 Not sure what you're suggesting here, you've only got one square bracket.
 But I've tried as many combinations as I can think of with wrapping the
 brackets around the column name, the query and column name, with dot,
 without dot etc and I can't make it work. Evaluate?

 - Original Message -
 From: srinivas ganta [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Monday, August 28, 2006 12:59 PM
 Subject: Re: valuelist and variable column name


 Hi Hughes

 Try this

 cfset myList = valueList(myQuery.varColumnName])

 Srinivas

 On 8/28/06, Gareth Hughes [EMAIL PROTECTED] wrote:
 
  I'm struggling to get ValueList to work on a column name which is a
  variable:
 
  cfset varColumnName = actualColumnName
 
  cfdump var=myQuery[varColumnName][1] !--- this line works ---
 
  cfset myList = valueList(myQuery[varColumnName]) !--- this line doesn't
  work ---
 
  I thought the square bracket notation should work here but apparently not.
  Does anyone know the best way to do this?
 
  Thanks
 
 
 



 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251224
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: regex help

2006-08-28 Thread Steve Bryant
Doug,

Do you want to strip out all HTML, or just a tags? What about words that 
appear otside of the link?

For example:

another a href=this,that and the otherword/a problem

Should that become:
another word problem

or:
word

If you want to strip out all html, and leave words outside the tag, use 
stripHTML():
http://www.cflib.org/udf.cfm?ID=12

If you want to strip just a tags and leave words outside the tag, use this:
REReplaceNoCase(str,/?a[^]*,,ALL)

If you want to get only the text between the a tags, use this:
cfscript
function anchorText(string) {
var result = ;
var AnchorTag = ReFindNoCase(a[^]*[^(/a)]*/a,string,1,true);
var tag = ;
if ( AnchorTag.pos[1] AND AnchorTag.len[1] ) {
tag = Mid(string,AnchorTag.pos[1],AnchorTag.len[1]);
result = ReReplaceNoCase(tag, /?a[^]*, , ALL);
}
return result;
}
/cfscript

If your need is otherwise, let me know.

Steve Bryant
918-449-9440
Bryant Web Consulting LLC
http://www.BryantWebConsulting.com/
http://steve.coldfusionjournal.com/ 

Was wondering how I would strip out everything between

a href=this,that and the otherword/a and just leave the word?


Any ideas

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251225
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Does anybody know how to fix this IE/CSS problem?

2006-08-28 Thread Bobby Hartsfield
AFAIK... you can only hide the select onclick of the lightbox trigger(s)

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 

-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 6:26 AM
To: CF-Talk
Subject: CSS: Does anybody know how to fix this IE/CSS problem?

I'm using lightbox (
http://www.dynamicdrive.com/dynamicindex4/lightbox/index.htm )and there's a
problem in IE. The select menu shows up on TOP of the image viewer. I figure
somethin's clashin. Is there a way to fix this? 

https://www947.ssldomain.com/wtomlinson/Store/productdetail.cfm?PID=165

And in FF, the overlay background doesn't show up. Probably a clash as well.


Any ideas? Sandy?  :)

Thanks much,
Will



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251226
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: valuelist and variable column name

2006-08-28 Thread Gareth Hughes
Nice. Thanks James.

- Original Message - 
From: James Holmes [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, August 28, 2006 1:39 PM
Subject: Re: valuelist and variable column name


Why use evaluate() as a fudge for valueList() when you can just use
arrayToList()?

cfset myList = arrayToList(myQuery[varColumnName])


On 8/28/06, Gareth Hughes [EMAIL PROTECTED] wrote:
 Not sure what you're suggesting here, you've only got one square bracket.
 But I've tried as many combinations as I can think of with wrapping the
 brackets around the column name, the query and column name, with dot,
 without dot etc and I can't make it work. Evaluate?

 - Original Message -
 From: srinivas ganta [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Monday, August 28, 2006 12:59 PM
 Subject: Re: valuelist and variable column name


 Hi Hughes

 Try this

 cfset myList = valueList(myQuery.varColumnName])

 Srinivas

 On 8/28/06, Gareth Hughes [EMAIL PROTECTED] wrote:
 
  I'm struggling to get ValueList to work on a column name which is a
  variable:
 
  cfset varColumnName = actualColumnName
 
  cfdump var=myQuery[varColumnName][1] !--- this line works ---
 
  cfset myList = valueList(myQuery[varColumnName]) !--- this line 
  doesn't
  work ---
 
  I thought the square bracket notation should work here but apparently 
  not.
  Does anyone know the best way to do this?
 
  Thanks
 
 
 







~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251227
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


multi page (wizard like) forms

2006-08-28 Thread Ali Majdzadeh
Hi everybody:
I need to make a multipage form(wizard like form) that insert data into several 
tables(4-5 tables). I searched for a solution a lot but couldn't find an easy 
way that can let me make the pages with DW/CFM. I heard many people recommended 
useing SESSION VARRIABLES. I am a novice in coldfusion. Please help me find a 
tutorial/method making my form.(with or without sessions) I repeat it again 
that data should be inserted into different Related Database tables.(I use MS 
Access)
Thanks
Benign

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251228
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: multi page (wizard like) forms

2006-08-28 Thread Jeremy Bunton
Hello,

There is a form to session custom tag out there somewhere that I have used,
it pretty much turns every form var to a session var with the same name at
post time. You could use that and then run some large queries at the end to
do all the inserts from those session vars. 

JLB

-Original Message-
From: Ali Majdzadeh [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 8:54 AM
To: CF-Talk
Subject: multi page (wizard like) forms

Hi everybody:
I need to make a multipage form(wizard like form) that insert data into
several tables(4-5 tables). I searched for a solution a lot but couldn't
find an easy way that can let me make the pages with DW/CFM. I heard many
people recommended useing SESSION VARRIABLES. I am a novice in coldfusion.
Please help me find a tutorial/method making my form.(with or without
sessions) I repeat it again that data should be inserted into different
Related Database tables.(I use MS Access)
Thanks
Benign



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251229
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Uploading X number of photos at one time?

2006-08-28 Thread Andy Matthews
Right...

When I said original size, I simply meant the image he's going to upload.
He's knows a decent amount about photography so I'll just make sure he runs
a Photoshop action on the images to reduce them to say 1000 or less before
upload.

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Jim Wright [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 2:52 PM
To: CF-Talk
Subject: Re: Uploading X number of photos at one time?


Andy Matthews wrote:
 I'm building an admin section for a client to manage inventory of his
 products. The products are higher-end so he'd like to have up to 10 photos
 for each item. I will need to create multiple sizes of each picture using
 Rick Root's Image.cfc.

 What might be the best way to work with anywhere from 1 to 10 images
 uploaded at once? Would it be better to use some other sort of interface?

 My thought would be to create a single upload field, then loop over it 10
 times. Then perform the same on the upload portion of the page. The only
 problem I can see with that is that he'd also like to keep the original
 image as the largest size. That means that there could potentially be
 anywhere from 3 or 4 megs to 10 megs uploaded at once.

 What are your thoughts on this?


I've done this a few different ways, and it works best different ways
for different clients, depending on how they manage their
inventory...but I'll throw out a few ideas...

-FTP the photos into a temp directory, and then present them with an
admin page that shows thumbnails and allows them to assign them to a
piece of inventory
-If they have inventory or some kind of reference numbers already
assigned, it may be easier for them to just use a naming convention with
the images on their local machine, FTP them up, and them batch import them.
-I've tried to shy away from uploading more than about 5 photos at a
time through HTTP, especially if you are going to be doing the resizing
in the same process...most of the time with something like this, I've
given them an interface to review their photos with the ability to
upload a single photo at a time...when it is uploaded it refreshes
showing the thumbnail of the newly uploaded photo along with the other
photos associated with the record.  The feedback they get from this
process seems to work better than having them wait for a unknown amount
of time when uploading multiple photos.
-And although the client wants the original size, I would try to work
out with him a large size to output.  If he's uploading some 2000+
pixel wide photo, it probably doesn't do much good to have that as the
largest photo...you probably want it limited to something like 600 or
800 pixels wide.  Even if he really does want the original, I would
still resize it just to apply some compression.



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251230
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: multi page (wizard like) forms

2006-08-28 Thread srinivas ganta
Hi Benign,

Alternate way to this  is store the first page form variables in the
second page as hidden fields and so on.if u store all the variables in
session scope it limits the coldfusion prformance.

Thanks
Srinivas

On 8/28/06, Ali Majdzadeh [EMAIL PROTECTED] wrote:

 Hi everybody:
 I need to make a multipage form(wizard like form) that insert data into
 several tables(4-5 tables). I searched for a solution a lot but couldn't
 find an easy way that can let me make the pages with DW/CFM. I heard many
 people recommended useing SESSION VARRIABLES. I am a novice in coldfusion.
 Please help me find a tutorial/method making my form.(with or without
 sessions) I repeat it again that data should be inserted into different
 Related Database tables.(I use MS Access)
 Thanks
 Benign

 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251231
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: regex help

2006-08-28 Thread Doug Brown
Well, what I really want to do is takethe page source and whatever the page
might have in it and strip everyting but what is between the a/a tags in
the page

Does this help?






- Original Message - 
From: Steve Bryant [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, August 28, 2006 6:31 AM
Subject: Re: regex help


 Doug,

 Do you want to strip out all HTML, or just a tags? What about words that
appear otside of the link?

 For example:

 another a href=this,that and the otherword/a problem

 Should that become:
 another word problem

 or:
 word

 If you want to strip out all html, and leave words outside the tag, use
stripHTML():
 http://www.cflib.org/udf.cfm?ID=12

 If you want to strip just a tags and leave words outside the tag, use
this:
 REReplaceNoCase(str,/?a[^]*,,ALL)

 If you want to get only the text between the a tags, use this:
 cfscript
 function anchorText(string) {
 var result = ;
 var AnchorTag = ReFindNoCase(a[^]*[^(/a)]*/a,string,1,true);
 var tag = ;
 if ( AnchorTag.pos[1] AND AnchorTag.len[1] ) {
 tag = Mid(string,AnchorTag.pos[1],AnchorTag.len[1]);
 result = ReReplaceNoCase(tag, /?a[^]*, , ALL);
 }
 return result;
 }
 /cfscript

 If your need is otherwise, let me know.

 Steve Bryant
 918-449-9440
 Bryant Web Consulting LLC
 http://www.BryantWebConsulting.com/
 http://steve.coldfusionjournal.com/

 Was wondering how I would strip out everything between
 
 a href=this,that and the otherword/a and just leave the word?
 
 
 Any ideas

 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251232
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Case

2006-08-28 Thread Andy Matthews
I'm sure there's a function on www.cflib.org that would suit your needs.

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 9:04 PM
To: CF-Talk
Subject: Case


I've seen the ucase and lcase functions, but is there anything to capitalize
a string that is already u/l case?

Thought I saw something in the list a while back, but can't find it.

Thanks,
Jenny

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 25/08/2006




~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251233
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: regex help

2006-08-28 Thread Michael Dinowitz
ColdFusion MX supports positive and negative look aheads.

Try this:

#REReplaceNoCase(
   a href=this,that and the otherword/a,
   (a[^]*)((?!/a).)*?(/a[^]*),
   \2,
   ALL
)#

That uses a negative look ahead... I can't remember if that is supported in
CF directly or not. If it is not, try this:

#REReplaceNoCase(
   a href=this,that and the otherword/a,
   (a[^]*)(.)*?(/a[^]*),
   \2,
   ALL
)#


..
Ben Nadel 
www.bennadel.com
Certified Advanced ColdFusion Developer

Need Help?
www.bennadel.com/ask-ben/


-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 8:12 AM
To: CF-Talk
Subject: regex help

Was wondering how I would strip out everything between

a href=this,that and the otherword/a and just leave the word?


Any ideas

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251234
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Teddy Payne
Well, there has been a strong aversion to my original thread and some
agreement with various aspects.

Let me add that I thank everyone for their comments.  My usage of stored
procedures is my personal style of coding.  I consider stored procedures a
good way to abstract my data code and enforce code reuseability.  I find it
easier to share a stored procedure with another developer than a ColdFusion
template.  The other developer just needs to do a cfstoredproc with the
appropriate parameters and does not have to get lost in understanding the
query originally set up.  cfprocparam is just as effect as cfqueryparam
and offers an excellent way to have multiple returned results with
cfprocresult, where I can assign resultset numbers to names of a query.

Now, I am aware that you could have three separate queries to achieve the
same thing, but from within CF, I do not have a way to debug the SQL as
quickly than I would have a tool like Query Analyzer.  Now, I also know that
you can copy and paste from your CF templates in Query analyzer, test the
query and paste the code back to my template.   I do not consider myself a
purist, but I would choose to have all of SQL being managed by my database
abstractly and only have my CF code display results.

Another consideration, I have stored procedures that can be executed from CF
and now can be shared with more advanced database operations.  I use SQl
Server a great deal and with the SQL execute feature of DTS, I can have the
same stored procedures that I use for my CF being used by the RDBMS.  For me,
this is logical to have the queries available for my database and not just
for the CF.  CF doesn't have a way to share SQL code easily with databases
that I have seen.

I enjoy topics about ORM models as well.  I am subscribed to the Reactor for
ColdFusion mailing list as I like the approach of abstraction my queries
even more into an object definition.  My custom gateway methods use stored
procedures to keep my personal style consistent.

If you would like to share SQL concepts with me that I can apply with stored
procedures, please let me know.  I enjoy finding ways to structure my
queries more effectively.

This is a good thread.  I enjoy the contrarian comments.  I see most of the
comments as people justifying their own methods that work for them.  I
suggest keep doing what works for you as I am sure that you are getting the
results that you are looking for.

I find that this is a style thread and that no one is arguing that stored
procedures cannot achieve great results.

Teddy


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251235
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFChart Breaks in IE6

2006-08-28 Thread Mark Leder
Hi All,
 
Using MX 7.02 with IIS6.  Been using a cfchart routine to display simple
data for some time now.  Has always worked with no errors (JS or otherwise)
in FF.  Breaks in IE6 with a JS error message thrown stating an object
expected.  I was originally thinking that it was a Flash version problem (9
vs 8) but breaks in both.  I'm wondering if it has something to do with an
IE patch, as the chart worked before with no error message (and I haven't
made any changes to the code).  If its related to Eolas, is there a way to
wrap the Adobe Active content fix tag around it?
 
Thanks,
Mark
 



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251236
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: regex help

2006-08-28 Thread Ben Nadel
Ok cool, then it's look behinds that are not supported. I know one of them
is not supported. 

...
Ben Nadel 
www.bennadel.com
Certified Advanced ColdFusion Developer

Need Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 9:19 AM
To: CF-Talk
Subject: Re: regex help

ColdFusion MX supports positive and negative look aheads.

Try this:

#REReplaceNoCase(
   a href=this,that and the otherword/a,
   (a[^]*)((?!/a).)*?(/a[^]*),
   \2,
   ALL
)#

That uses a negative look ahead... I can't remember if that is 
supported in CF directly or not. If it is not, try this:

#REReplaceNoCase(
   a href=this,that and the otherword/a,
   (a[^]*)(.)*?(/a[^]*),
   \2,
   ALL
)#


..
Ben Nadel
www.bennadel.com
Certified Advanced ColdFusion Developer

Need Help?
www.bennadel.com/ask-ben/


-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED]
Sent: Monday, August 28, 2006 8:12 AM
To: CF-Talk
Subject: regex help

Was wondering how I would strip out everything between

a href=this,that and the otherword/a and just leave the word?


Any ideas



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251237
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CF Administrator

2006-08-28 Thread Peter Tanswell
Hi there

I have just run the CF 7:02 upgrade and now when I try to browse to the CF
Administrator I keep getting an error saying:

The web site has experienced an unexpected error.  

File not found ?CFIDE/administrator/index.cfm

And then further down in the output

23:48:06.006 coldfusion runtime. TemplateNotFoundException - in : line -1

File not found: /CFIDE/administrator/index.cfm


I have checked and the file exists.  Possibly the only thing I can think of
is that I have /CFIDE/administrator on the E: drive and not in C:

Does anyone have any idea what the issue might be and how to fix it.

Regards  thanks

P



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251239
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Zaphod Beeblebrox
Then my sql server trace logs must be lying.

On 8/28/06, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 No, you do not, not really. This is not how SQL Server works.

 You are still using inline compiled on demand SQL.





-- 
I took a walk around the world to ease my troubled mind
I left my body lying somewhere in the sands of time.
I watched the world flow to the dark side of the moon.
I feel there's nothing I can do.

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251240
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFChart Breaks in IE6

2006-08-28 Thread James Holmes
The problem is that CF already does wrap JS code around it, but you
don't have the /cfide directory mapped for your site.

You can make the mapping or copy the relevant scripts from the
/cfide/scripts/ folder. Look at the source of the page and you'll see
what I mean.

On 8/28/06, Mark Leder [EMAIL PROTECTED] wrote:
 Hi All,

 Using MX 7.02 with IIS6.  Been using a cfchart routine to display simple
 data for some time now.  Has always worked with no errors (JS or otherwise)
 in FF.  Breaks in IE6 with a JS error message thrown stating an object
 expected.  I was originally thinking that it was a Flash version problem (9
 vs 8) but breaks in both.  I'm wondering if it has something to do with an
 IE patch, as the chart worked before with no error message (and I haven't
 made any changes to the code).  If its related to Eolas, is there a way to
 wrap the Adobe Active content fix tag around it?

-- 
CFAJAX docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251238
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: multi page (wizard like) forms

2006-08-28 Thread Ali Majdzadeh
Hi:
Thanks for the reply.
Can you please explain it more. I am working on a cancer patient registery 
application and I do it for the patients. I really need some help and tutorials 
to do such a thing. 
Thanks again
Benign

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251241
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Robertson-Ravo, Neil (RX)
No, they are correct, you are just reading them incorrectly (in as far as
what they are doing)


 





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 is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Zaphod Beeblebrox
To: CF-Talk
Sent: Mon Aug 28 14:57:21 2006
Subject: Re: Stored procs (was Top 100 ColdFusion Programmers)

Then my sql server trace logs must be lying.

On 8/28/06, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 No, you do not, not really. This is not how SQL Server works.

 You are still using inline compiled on demand SQL.





-- 

I took a walk around the world to ease my troubled mind
I left my body lying somewhere in the sands of time.
I watched the world flow to the dark side of the moon.
I feel there's nothing I can do.



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251242
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Teddy Payne
Neil,
I am not sure you see the overall point.  Both the in-line compiled queries
and stored procedures have good results.  Most of the issues that I read
were about maintenance of code.

I am not sure telling people that they are incorrect is the best way to
share technological debates, but rather to show examples is a better
approach.

I will stop my thread contribution here because I feel that I do not want a
thread based upon who is right or wrong when both solutions work
effectively.

Good luck,
Teddy


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251243
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: regex help

2006-08-28 Thread Steve Bryant
Doug,

This function will return an array of the link labels (the text between each 
a tag) in a string.

cfscript
function getLinkLabels(string) {
var result = ArrayNew(1);
var anchors = ReFindNoCase(a[^]*[^(/a)]*/a,string,1,true);
var i = 0;
var tag = ;
while ( ArrayLen(anchors.pos) AND anchors.pos[1] ) {
tag = Mid(string,anchors.pos[1],anchors.len[1]);
ArrayAppend(result,ReReplaceNoCase(tag, /?a[^]*, , 
ALL));
anchors = 
ReFindNoCase(a[^]*[^(/a)]*/a,string,anchors.pos[1]+1,true);
}
return result;
}
/cfscript

Will that do what you need?

Steve Bryant
918-449-9440
Bryant Web Consulting LLC
http://www.BryantWebConsulting.com/
http://steve.coldfusionjournal.com/ 

Well, what I really want to do is takethe page source and whatever the page
might have in it and strip everyting but what is between the a/a tags in
the page

Does this help?

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251244
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFChart Breaks in IE6

2006-08-28 Thread Mark Leder
Hi All,
 
Using MX 7.02 with IIS6.  Been using a cfchart routine to display simple
data for some time now.  Has always worked with no errors (JS or otherwise)
in FF.  Breaks in IE6 with a JS error message thrown stating an object
expected.  I was originally thinking that it was a Flash version problem (9
vs 8) but breaks in both.  I'm wondering if it has something to do with an
IE patch, as the chart worked before with no error message (and I haven't
made any changes to the code).  If its related to Eolas, is there a way to
wrap the Adobe Active content fix tag around it?
 
Thanks,
Mark
 



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251245
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: regex help

2006-08-28 Thread Dan G. Switzer, II
Doug,

Was wondering how I would strip out everything between

a href=this,that and the otherword/a and just leave the word?

Rahul Narula, who works for Adobe on the web team, just posted this
recently:

http://rahulnarula.blogspot.com/2006/08/regex-treat.html

(Watch out for line wrapping in this post, you may want to snag the code for
the blog post.)

cfscript
text =!-- YOUR HTML TEXT HERE---; //can come from any source like file
read, cfhttp or any other
tag=a; //the tag you want to manipulate
//You wont require to change below
tagArray=arrayNew(1);
fulltagArray=arrayNew(1);
RegEx =\s?#tag#\b[^]*(.*?)/\s?#tag#\s?;
result =ReFindNoCase(RegEx,text,0,true);
while (result.pos[1] gt 0) {
arrayAppend(fulltagArray,mid(text,result.pos[1],result.len[1]));
arrayAppend(tagArray,mid(text,result.pos[2],result.len[2]));
result =ReFindNoCase(RegEx,text,result.pos[1]+result.len[1],true);
}
tagStripped =reReplace(text,RegEx,\1,All);
/cfscript
cfdump var=#fulltagArray# label=Full tag
cfdump var=#tagArray# label=Text within the tag
cfoutput
pOrginal text/p
#text#
pTag stripped version /p
#tagStripped#
/cfoutput

This code not only does what you want, but it does several other things.

-Dan


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251246
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Robertson-Ravo, Neil (RX)
I am also not sure what you mean? I am all for SP work - like you!

There is no correct way, use what fits your needs and style.





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 is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Teddy Payne
To: CF-Talk
Sent: Mon Aug 28 15:22:17 2006
Subject: Re: Stored procs (was Top 100 ColdFusion Programmers)

Neil,
I am not sure you see the overall point.  Both the in-line compiled queries
and stored procedures have good results.  Most of the issues that I read
were about maintenance of code.

I am not sure telling people that they are incorrect is the best way to
share technological debates, but rather to show examples is a better
approach.

I will stop my thread contribution here because I feel that I do not want a
thread based upon who is right or wrong when both solutions work
effectively.

Good luck,
Teddy




~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251247
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfx_pdf and cf7?

2006-08-28 Thread Douglas Knudsen
ok, just upgraded to cf7 finally.  Yeah, big corp stuff.  Anyhoo, one app we
have uses cfx_pdf.  Somehow testing this one piece got missed in testing b4
the upgrade, oops.  I can't seem to get cfx_pdf to work.  I know CF7 has pdf
tools now, but that may take a few days to convert.  Any ideas?

*Diagnostics: Error processing CFX custom tag CFX_CFX_PDF. The CFX custom
tag CFX_CFX_PDF was not found in the custom tag database. Please be sure
to add custom tags to the database before using them. If you have added your
tag to the database then you should check the spelling of the tag within
your template to insure that it matches the database entry.
The error occurred on line 29.

yes, the JARs are in the class path, I can see them in the system
information.  Funny thing I can't enter the path to the class in teh cfx
registration area in cfadmin, the cfadmin tool will not let me, just ignores
it...wierd.
*
-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like 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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251248
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfx_pdf and cf7?

2006-08-28 Thread Robertson-Ravo, Neil (RX)
Yeah, this is known I think - cf7 uses iText, as does cfx_pdf - you get
errors when trying to run them together as cfx_pdf packages it's on library
of iText functions.

I am sure there are fixes out there - have a Google!







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 is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Douglas Knudsen
To: CF-Talk
Sent: Mon Aug 28 15:51:00 2006
Subject: cfx_pdf and cf7?

ok, just upgraded to cf7 finally.  Yeah, big corp stuff.  Anyhoo, one app we
have uses cfx_pdf.  Somehow testing this one piece got missed in testing b4
the upgrade, oops.  I can't seem to get cfx_pdf to work.  I know CF7 has pdf
tools now, but that may take a few days to convert.  Any ideas?

*Diagnostics: Error processing CFX custom tag CFX_CFX_PDF. The CFX custom
tag CFX_CFX_PDF was not found in the custom tag database. Please be sure
to add custom tags to the database before using them. If you have added your
tag to the database then you should check the spelling of the tag within
your template to insure that it matches the database entry.
The error occurred on line 29.

yes, the JARs are in the class path, I can see them in the system
information.  Funny thing I can't enter the path to the class in teh cfx
registration area in cfadmin, the cfadmin tool will not let me, just ignores
it...wierd.
*
-- 

Douglas Knudsen
http://www.cubicleman.com
this is my signature, like 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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251249
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: (Admin) New Hardware for House of Fusion

2006-08-28 Thread Ben Nadel
 
Michael,

If you need a spare desk to sit at for a day or two, you are always welcome
at Nylon. 212.691.1134.

...
Ben Nadel 
www.bennadel.com
Certified Advanced ColdFusion Developer

Need Help?
www.bennadel.com/ask-ben/


-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 8:25 AM
To: CF-Talk
Subject: Re: (Admin) New Hardware for House of Fusion

Only if I iron out the little issues of back and forth mail server/site
caching, logging and a few other misc fun things. That and put a new,
non-Google banner on the site to get editorial assistants/interns and all
this while some contractor tears down the ceiling of my home office. Fun

Anyone have a spare desk in the NY area for me for the next day or so?

Sweeet :)

..
Ben Nadel
www.bennadel.com
Certified Advanced ColdFusion Developer

Need Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
Sent: Monday, August 28, 2006 5:12 AM
To: CF-Talk
Subject: (Admin) New Hardware for House of Fusion

The entire House of Fusion website has been moved over to a new machine.
This is a dual CPU, 2 gig machine which should handle the increase in 
traffic I've been seeing. If anyone sees any problems with the site, 
please email me ASAP so I can make sure it's fixed.

Thanks



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251250
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: cfx_pdf and cf7?

2006-08-28 Thread Andy Matthews
This might sound overly simplistic, but it looks like the reference to the
custom tag is wrong. Seems like it's looking for CFX_CFX_PDF but you said
the custom tag name was CFX_PDF.

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Douglas Knudsen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 28, 2006 9:51 AM
To: CF-Talk
Subject: cfx_pdf and cf7?


ok, just upgraded to cf7 finally.  Yeah, big corp stuff.  Anyhoo, one app we
have uses cfx_pdf.  Somehow testing this one piece got missed in testing b4
the upgrade, oops.  I can't seem to get cfx_pdf to work.  I know CF7 has pdf
tools now, but that may take a few days to convert.  Any ideas?

*Diagnostics: Error processing CFX custom tag CFX_CFX_PDF. The CFX custom
tag CFX_CFX_PDF was not found in the custom tag database. Please be sure
to add custom tags to the database before using them. If you have added your
tag to the database then you should check the spelling of the tag within
your template to insure that it matches the database entry.
The error occurred on line 29.

yes, the JARs are in the class path, I can see them in the system
information.  Funny thing I can't enter the path to the class in teh cfx
registration area in cfadmin, the cfadmin tool will not let me, just ignores
it...wierd.
*
--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like 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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251251
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfx_pdf and cf7?

2006-08-28 Thread James Holmes
I think there's also an extra CFX in the tag name there:

CFX_CFX_PDF

On 8/28/06, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 Yeah, this is known I think - cf7 uses iText, as does cfx_pdf - you get
 errors when trying to run them together as cfx_pdf packages it's on library
 of iText functions.

 I am sure there are fixes out there - have a Google!


 -Original Message-
 From: Douglas Knudsen
 To: CF-Talk
 Sent: Mon Aug 28 15:51:00 2006
 Subject: cfx_pdf and cf7?

 ok, just upgraded to cf7 finally.  Yeah, big corp stuff.  Anyhoo, one app we
 have uses cfx_pdf.  Somehow testing this one piece got missed in testing b4
 the upgrade, oops.  I can't seem to get cfx_pdf to work.  I know CF7 has pdf
 tools now, but that may take a few days to convert.  Any ideas?

 *Diagnostics: Error processing CFX custom tag CFX_CFX_PDF. The CFX custom
 tag CFX_CFX_PDF was not found in the custom tag database. Please be sure
 to add custom tags to the database before using them. If you have added your
 tag to the database then you should check the spelling of the tag within
 your template to insure that it matches the database entry.
 The error occurred on line 29.

-- 
CFAJAX docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251252
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfx_pdf and cf7?

2006-08-28 Thread Douglas Knudsen
nope, no extra cfx_.  The cfx tag info was transfered in via CFAdmin Archive
tools form a working valid install of cfx_pdf on CFMX 6.

Now, under CF7 its broke and I can't enter the required data for it in teh
CFAdmin tool.  CFadmin just reloads the edit tag info page, silly silly.
Niel's explain sounds best so far, makes since.  But Google is far from
friendly to me today on this topic.  Me thinks Goolge senses when a user is
under distress and reacts differently!!  :)

Got a developer working now to convert to CF7 pdf stuffs.

DK

On 8/28/06, James Holmes [EMAIL PROTECTED] wrote:

 I think there's also an extra CFX in the tag name there:

 CFX_CFX_PDF

 On 8/28/06, Robertson-Ravo, Neil (RX)
 [EMAIL PROTECTED] wrote:
  Yeah, this is known I think - cf7 uses iText, as does cfx_pdf - you get
  errors when trying to run them together as cfx_pdf packages it's on
 library
  of iText functions.
 
  I am sure there are fixes out there - have a Google!

 
  -Original Message-
  From: Douglas Knudsen
  To: CF-Talk
  Sent: Mon Aug 28 15:51:00 2006
  Subject: cfx_pdf and cf7?
 
  ok, just upgraded to cf7 finally.  Yeah, big corp stuff.  Anyhoo, one
 app we
  have uses cfx_pdf.  Somehow testing this one piece got missed in testing
 b4
  the upgrade, oops.  I can't seem to get cfx_pdf to work.  I know CF7 has
 pdf
  tools now, but that may take a few days to convert.  Any ideas?
 
  *Diagnostics: Error processing CFX custom tag CFX_CFX_PDF. The CFX
 custom
  tag CFX_CFX_PDF was not found in the custom tag database. Please be
 sure
  to add custom tags to the database before using them. If you have added
 your
  tag to the database then you should check the spelling of the tag within
  your template to insure that it matches the database entry.
  The error occurred on line 29.

 --
 CFAJAX docs and other useful articles:
 http://www.bifrost.com.au/blog/

 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251253
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Uploading X number of photos at one time?

2006-08-28 Thread Larry Lyons
I'm building an admin section for a client to manage inventory of his
products. The products are higher-end so he'd like to have up to 10 photos
for each item. I will need to create multiple sizes of each picture using
Rick Root's Image.cfc.

What might be the best way to work with anywhere from 1 to 10 images
uploaded at once? Would it be better to use some other sort of interface?

My thought would be to create a single upload field, then loop over it 10
times. Then perform the same on the upload portion of the page. The only
problem I can see with that is that he'd also like to keep the original
image as the largest size. That means that there could potentially be
anywhere from 3 or 4 megs to 10 megs uploaded at once.

What are your thoughts on this?

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

Andy,

For a front end you may want to check out this blog posting. Its a fairly slick 
multiple file uploader.
http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element

An updated version is also available:
http://the-stickman.com/web-development/javascript/updated-upload-multiple-files-with-a-single-file-element/

hth,

larry

--
Larry C. Lyons
Web Analyst
BEI Resources
American Type Culture Collection
http://www.beiresources.org
email: llyons(at)atcc(dot)org
tel: 703.365.2700.2678
--

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251254
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Uploading X number of photos at one time?

2006-08-28 Thread Aaron Rouse
What you have pasted is similar to the methods I have taken in the past for
this.  One could however use something like DWRUtil that comes with ajaxCFC,
here is a quick example I made via one of his online ones.  I did not test
it out extensively, was just trying to throw out an option that I had been
thinking of using the next time I have a similar need.


head
 titleexample/title


  script type='text/javascript'_ajaxConfig =
{'_jsscriptFolder':'JS/ajaxCFC'};/script
  script type='text/javascript' src='JS/ajaxCFC/ajax.js'/script
  script type=text/javascript

 var cellFuncs = [
  function(data) { return 'label for=document_' + counter + 'Document
span class=Error*/span:/label' },
  function(data) { return 'input type=file name=document_' + counter +
' value= size=30 /' }
 ];

 var counter = 1;

 function getTableRow() {
  DWRUtil.addRows(tableBody, [''], cellFuncs);
  counter++
 }
/script
/head

fieldset
legendexample using DWRUtil.addRows/legend
input type=button value=Test onClick=getTableRow(); /br /
table
 tbody id=tableBody/tbody

/table
/fieldset


On 8/25/06, Bobby Hartsfield [EMAIL PROTECTED] wrote:

 Paste all of this in a .html file and run it. Click the [Add another Image
 Uploader] link to add more fields. I would of course limit this to a
 maximum
 number of images at once. (way less than 10) To upload multiple images at
 one time without worrying about timeouts youll have to look into something
 like ActiveX controls





~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251255
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Uploading X number of photos at one time?

2006-08-28 Thread Andy Matthews
Sorry that I didn't respond to this post. Is it possible to limit the amount
of upload fields the user can add?

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 9:24 PM
To: CF-Talk
Subject: RE: Uploading X number of photos at one time?


Paste all of this in a .html file and run it. Click the [Add another Image
Uploader] link to add more fields. I would of course limit this to a maximum
number of images at once. (way less than 10) To upload multiple images at
one time without worrying about timeouts youll have to look into something
like ActiveX controls


script
function addFieldSet()
{

//Increment the field counter
thisInc = Number(document.imgform.fldCount.value) + 1;
document.imgform.fldCount.value = thisInc;

//Build the div container
divCont = document.createElement('DIV');
divCont.id = 'img' + thisInc;
divCont.style.background='ececec';
divCont.style.borderStyle = 'solid';
divCont.style.borderWidth = '1px';
divCont.style.borderColor = '00';


//Build the table element
thisTable = document.createElement('TABLE');
thisTable.border = '0';
thisTable.cellPadding = '5';
thisTable.cellSpacing = '0';
thisTable.width = '100%';


//Build the first row of the table
Row1 = document.createElement('TR');
//Build column 1 of the first row
Row1Col1 = document.createElement('TD');
Row1Col1.innerHTML = 'Image File:';

//Buld column 2 of row 1
Row1Col2 = document.createElement('TD');

//Build the file field
fileFld = document.createElement('INPUT');
fileFld.type = 'file';
fileFld.name = 'imagefile' + thisInc;
fileFld.size = '40';

//Build a span tag to hold some text and a line break just
after the file field
thisSpan1 = document.createElement('SPAN');
thisSpan1.innerHTML = 'brvalid formats: jpg, jpeg, pjpeg,
gif';

//Put the file field and text in the column
Row1Col2.appendChild(fileFld);
Row1Col2.appendChild(thisSpan1);

//Go ahead and put the first row all together.
Row1.appendChild(Row1Col1);
Row1.appendChild(Row1Col2);


//Build the second row
Row2 = document.createElement('TR');

//Build the columns just as before but (of course) with
different text and a textarea field
Row2Col1 = document.createElement('TD');
Row2Col1.vAlign = 'top';
Row2Col1.innerHTML = 'Cutline:';

//Build column 2 of row 2
Row2Col2 = document.createElement('TD');
Row2Col2.vAlign = 'top';

//build the text area
txtArea = document.createElement('TEXTAREA');
txtArea.name = 'cutline' + thisInc;
txtArea.cols = '40';
txtArea.rows = '2';

//Add the textarea to column 2 of row 2
Row2Col2.appendChild(txtArea);

//Add the columns to the row
Row2.appendChild(Row2Col1);
Row2.appendChild(Row2Col2);

//Create t tbody to hold the table content
thisTbody = document.createElement('TBODY');

//Add the rows to the table
thisTbody.appendChild(Row1);
thisTbody.appendChild(Row2);

//Add the TBODY to the table
thisTable.appendChild(thisTbody);

//Now add the table to the div
divCont.appendChild(thisTable)

//Finally, add the div to the main div container

document.getElementById('FormFieldContainer').appendChild(divCont);

//And add a line break after the div

document.getElementById('FormFieldContainer').appendChild(document.createEle
ment('BR'));
}

/script




form name=imgform action=index.cfm?action=upimgsimgid=0 method=post
enctype=multipart/form-data style=display:inline; 
input type=hidden name=fldCount value=1 /
div id=FormFieldContainer

div align=righta href=javascript:void(0);
onClick=addFieldSet();return false;[Add Another Image Uploader]/a/div
br
br

div id=img1 style=background:#ececec;border:1px solid #00;
table border=0 cellpadding=5 cellspacing=0
width=100%
tr
  

Re: Uploading X number of photos at one time?

2006-08-28 Thread Aaron Rouse
You could reference his field counter and once it is to a certain number
then disable the link that adds more rows.

On 8/28/06, Andy Matthews [EMAIL PROTECTED] wrote:

 Sorry that I didn't respond to this post. Is it possible to limit the
 amount
 of upload fields the user can add?

 !//--
 andy matthews
 web developer
 certified advanced coldfusion programmer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-

 -Original Message-
 From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 25, 2006 9:24 PM
 To: CF-Talk
 Subject: RE: Uploading X number of photos at one time?


 Paste all of this in a .html file and run it. Click the [Add another Image
 Uploader] link to add more fields. I would of course limit this to a
 maximum
 number of images at once. (way less than 10) To upload multiple images at
 one time without worrying about timeouts youll have to look into something
 like ActiveX controls


 script
 function addFieldSet()
 {

//Increment the field counter
thisInc = Number(document.imgform.fldCount.value) + 1;
document.imgform.fldCount.value = thisInc;

//Build the div container
divCont = document.createElement('DIV');
divCont.id = 'img' + thisInc;
divCont.style.background='ececec';
divCont.style.borderStyle = 'solid';
divCont.style.borderWidth = '1px';
divCont.style.borderColor = '00';


//Build the table element
thisTable = document.createElement('TABLE');
thisTable.border = '0';
thisTable.cellPadding = '5';
thisTable.cellSpacing = '0';
thisTable.width = '100%';


//Build the first row of the table
Row1 = document.createElement('TR');
//Build column 1 of the first row
Row1Col1 = document.createElement('TD');
Row1Col1.innerHTML = 'Image File:';

//Buld column 2 of row 1
Row1Col2 = document.createElement('TD');

//Build the file field
fileFld = document.createElement('INPUT');
fileFld.type = 'file';
fileFld.name = 'imagefile' + thisInc;
fileFld.size = '40';

//Build a span tag to hold some text and a line break just
 after the file field
thisSpan1 = document.createElement('SPAN');
thisSpan1.innerHTML = 'brvalid formats: jpg, jpeg, pjpeg,
 gif';

//Put the file field and text in the column
Row1Col2.appendChild(fileFld);
Row1Col2.appendChild(thisSpan1);

//Go ahead and put the first row all together.
Row1.appendChild(Row1Col1);
Row1.appendChild(Row1Col2);


//Build the second row
Row2 = document.createElement('TR');

//Build the columns just as before but (of course) with
 different text and a textarea field
Row2Col1 = document.createElement('TD');
Row2Col1.vAlign = 'top';
Row2Col1.innerHTML = 'Cutline:';

//Build column 2 of row 2
Row2Col2 = document.createElement('TD');
Row2Col2.vAlign = 'top';

//build the text area
txtArea = document.createElement('TEXTAREA');
txtArea.name = 'cutline' + thisInc;
txtArea.cols = '40';
txtArea.rows = '2';

//Add the textarea to column 2 of row 2
Row2Col2.appendChild(txtArea);

//Add the columns to the row
Row2.appendChild(Row2Col1);
Row2.appendChild(Row2Col2);

//Create t tbody to hold the table content
thisTbody = document.createElement('TBODY');

//Add the rows to the table
thisTbody.appendChild(Row1);
thisTbody.appendChild(Row2);

//Add the TBODY to the table
thisTable.appendChild(thisTbody);

//Now add the table to the div
divCont.appendChild(thisTable)

//Finally, add the div to the main div container

 document.getElementById('FormFieldContainer').appendChild(divCont);

//And add a line break after the div

 document.getElementById('FormFieldContainer').appendChild(
 document.createEle
 ment('BR'));
}

 /script




 form name=imgform action=index.cfm?action=upimgsimgid=0
 method=post
 enctype=multipart/form-data style=display:inline; 
 input type=hidden name=fldCount value=1 /
 div id=FormFieldContainer

div align=righta href=javascript:void(0);
 onClick=addFieldSet();return false;[Add Another Image
 Uploader]/a/div
   

Any idea why this cookie isn't working properly?

2006-08-28 Thread Andy Matthews
I have a Flash video on my company site
http://icglink.com/indexNEW.cfm

My boss wants it to play only once (first time viewing it), then show a play
button for future visits. I thought this would be fairly straightforward but
it's really giving me grief.

At the top of the page:
cfparam name=COOKIE.previousvisitor default=0

For the Flash call (uses the SWFObject javascript):
script type=text/javascript
var fo = new FlashObject(holly-base.swf, mymovie, 356, 279, 8,
);
fo.addParam(wmode, transparent);
fo.addVariable(previousvisitor,
cfoutput#COOKIE.previousvisitor#/cfoutput);
fo.write(headerContainer);
/script

You can see that I'm passing the variable into Flash here.

At the bottom of the page:
cfif COOKIE.previousvisitor IS 0
cfcookie name=previousvisitor value=1 expires=100
/cfif

In the first frame of the Flash movie:
if (_root.previousvisitor == 0) {
gotoAndPlay(playmovie)
} else if (_root.previousvisitor == 1){
gotoAndPlay(stillframe)
}

This works in IE but doesn't seem to be working correctly in FF. I've
cleared cookies and deleted the COOKIE structure several times and it's the
same each time.

FF will display the video the first time, but will not jump to the correct
frame every other time. Does anyone have ideas as to why the process isn't
working in FF?

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251258
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Teddy Payne
I must have misread somewhere.   I apologize for misinterpreting the thread.

Cheers,
Teddy


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251259
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFChart Breaks in IE6

2006-08-28 Thread Mark Leder
I've always had a mapping to /cfide in CFAdmin (for all sites), pointing to
c:\cfusionmx7\wwwroot\cfide.

So why would it work in the past and not now? Doing some more research
uncovered a bug in 7.02 updater, but on review, that didn't solve the
problem for me.

Thanks,
Mark

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 9:51 AM
To: CF-Talk
Subject: Re: CFChart Breaks in IE6

The problem is that CF already does wrap JS code around it, but you don't
have the /cfide directory mapped for your site.

You can make the mapping or copy the relevant scripts from the
/cfide/scripts/ folder. Look at the source of the page and you'll see what I
mean.

On 8/28/06, Mark Leder [EMAIL PROTECTED] wrote:
 Hi All,

 Using MX 7.02 with IIS6.  Been using a cfchart routine to display 
 simple data for some time now.  Has always worked with no errors (JS 
 or otherwise) in FF.  Breaks in IE6 with a JS error message thrown 
 stating an object expected.  I was originally thinking that it was a 
 Flash version problem (9 vs 8) but breaks in both.  I'm wondering if 
 it has something to do with an IE patch, as the chart worked before 
 with no error message (and I haven't made any changes to the code).  
 If its related to Eolas, is there a way to wrap the Adobe Active content
fix tag around it?

--
CFAJAX docs and other useful articles:
http://www.bifrost.com.au/blog/



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251260
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Where you one put encoding hints in an Application.cfc?

2006-08-28 Thread Ian Skinner
Where would one put encoding hints like these in an Application.cfc file.

!--- Set encoding hints for processing special characters. ---
cfprocessingdirective pageencoding=windows-1252 /
cfset setEncoding(form,windows-1252) /
cfset setEncoding(url,windows-1252) /
cfcontent type=text/html; charset=windows-1252 reset=yes /

My first guess would be onRequestStart, but is there a better place, and if so, 
why?


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251261
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Jochem van Dieten
Dan Plesse wrote:
 I would love to test out my pure java embedded db in CF solution against
 any SP from Oracle or any of the other DBs.

I have a hard time believing that it can scale and perform: 
http://db.lcs.mit.edu/madden/html/javapaper.pdf

Perhaps you can elaborate on the design of your solution (in another thread).

Jochem

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251262
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Where you one put encoding hints in an Application.cfc?

2006-08-28 Thread Andy Matthews
Why not put it in onApplicationStart?

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Monday, August 28, 2006 11:27 AM
To: CF-Talk
Subject: Where you one put encoding hints in an Application.cfc?


Where would one put encoding hints like these in an Application.cfc file.

!--- Set encoding hints for processing special characters. ---
cfprocessingdirective pageencoding=windows-1252 /
cfset setEncoding(form,windows-1252) /
cfset setEncoding(url,windows-1252) /
cfcontent type=text/html; charset=windows-1252 reset=yes /

My first guess would be onRequestStart, but is there a better place, and if
so, why?


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251263
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Where you one put encoding hints in an Application.cfc?

2006-08-28 Thread Ian Skinner
Why not put it in onApplicationStart?


Well, I'm not sure why not, which is why I asked the question.  

My thinking was that these encoding hints need to run every request, they 
aren't something that would be automatically remembered are they?  Thus if they 
where in the application start, they would run once for that request and then 
be forgotten. 

But I'm not sure on this, so I was hopping to get some perspective from better 
minds then mine.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251264
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


PDF creation: CFDocument, iText; CF or Java libs?

2006-08-28 Thread Kris Jones
Hi folks,

I've been trying to refactor a long-running procedure that creates
PDFs using CFDocument, then a 3rd-party tool (via CFExecute) to merge
the PDFs to a single file in a specific order.

After seeing discussion on this list regarding string manipulation
being so much faster using direct calls to the java string lib, I'm
wondering if I would see a parallel improvement in performance if I
used iText directly rather than the CFDocument call.

Since I know nothing about iText, I don't really want to go down that
road unless I know that it will be worth it (performance-wise). I know
there are few iText gurus on the list, maybe someone has some
experience with this?

Thanks,
Kris

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251267
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Dave Watts
 I would love to test out my pure java embedded db in CF 
 solution against any SP from Oracle or any of the other DBs.
 
 Just give me a dataset and I will knock one right out of the park.
 
 Write to me offline and I will set you up (for free) and you 
 can test it out yourself.
 
 No more DBA's and pia SP in the way anymore.

Embedded databases are wildly inappropriate for web applications. How do you
keep them secure? How do you maintain their integrity? You can't. Sure,
individual queries may well run faster, but if all we cared about was speed,
we wouldn't use RDBMSs.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251268
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Where you one put encoding hints in an Application.cfc?

2006-08-28 Thread Paul Hastings
Ian Skinner wrote:
 Where would one put encoding hints like these in an Application.cfc file.
 
 !--- Set encoding hints for processing special characters. ---
 cfprocessingdirective pageencoding=windows-1252 /

you can't use cfprocessingdirective in application.cfm  i guess 
application.cfc. it's a compile time tag (also why you can't use 
conditional logic with it).

 cfset setEncoding(form,windows-1252) /
 cfset setEncoding(url,windows-1252) /
 cfcontent type=text/html; charset=windows-1252 reset=yes /

these are fine.


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251269
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PDF creation: CFDocument, iText; CF or Java libs?

2006-08-28 Thread Paul Hastings
Kris Jones wrote:
 Since I know nothing about iText, I don't really want to go down that
 road unless I know that it will be worth it (performance-wise). I know
 there are few iText gurus on the list, maybe someone has some
 experience with this?

the only way you can *know* which one is faster is by testing. search 
the cf forums, i posted code there to merge PDFs using itext (i'm at 
home  don't have access to the dev server). it's fairly simple.




~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251271
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfx_pdf and cf7?

2006-08-28 Thread Ken Ferguson
Hmmm, did you put the expected jars in the lib directory where you took
out the others?  I've never used cfx_pdf, so I'm not really sure what's
going on with it. We use itext directly in a bunch of places and had to
go back and refactor the jars when we upgraded to 7. Who was the author
of the tag?

Thanks,
 
Ken Ferguson
214.636.6126



-Original Message-
From: Douglas Knudsen [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 12:35 PM
To: CF-Talk
Subject: Re: cfx_pdf and cf7?

Ken, sounded like a sure win.  I removed the iText.jasr and
iTextAsian.jarfrom the cfusion/lib folder. Now I can at least reg the
tag, but get this
error now

*Diagnostics: com/allaire/cfx/CustomTag null
The error occurred on line 29.

Something else maybe colliding somewhere, eh?

DK
*
On 8/28/06, Ken Ferguson [EMAIL PROTECTED] wrote:

 You need to temporarily replace the itext.jar file with the one
cfx_pdf
 was using until you can convert your code to use cfdocument or itext
 directly.

 Thanks,

 Ken Ferguson
 214.636.6126



 -Original Message-
 From: Douglas Knudsen [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 28, 2006 10:18 AM
 To: CF-Talk
 Subject: Re: cfx_pdf and cf7?

 nope, no extra cfx_.  The cfx tag info was transfered in via CFAdmin
 Archive
 tools form a working valid install of cfx_pdf on CFMX 6.

 Now, under CF7 its broke and I can't enter the required data for it in
 teh
 CFAdmin tool.  CFadmin just reloads the edit tag info page, silly
silly.
 Niel's explain sounds best so far, makes since.  But Google is far
from
 friendly to me today on this topic.  Me thinks Goolge senses when a
user
 is
 under distress and reacts differently!!  :)

 Got a developer working now to convert to CF7 pdf stuffs.

 DK

 On 8/28/06, James Holmes [EMAIL PROTECTED] wrote:
 
  I think there's also an extra CFX in the tag name there:
 
  CFX_CFX_PDF
 
  On 8/28/06, Robertson-Ravo, Neil (RX)
  [EMAIL PROTECTED] wrote:
   Yeah, this is known I think - cf7 uses iText, as does cfx_pdf -
you
 get
   errors when trying to run them together as cfx_pdf packages it's
on
  library
   of iText functions.
  
   I am sure there are fixes out there - have a Google!
 
  
   -Original Message-
   From: Douglas Knudsen
   To: CF-Talk
   Sent: Mon Aug 28 15:51:00 2006
   Subject: cfx_pdf and cf7?
  
   ok, just upgraded to cf7 finally.  Yeah, big corp stuff.  Anyhoo,
 one
  app we
   have uses cfx_pdf.  Somehow testing this one piece got missed in
 testing
  b4
   the upgrade, oops.  I can't seem to get cfx_pdf to work.  I know
CF7
 has
  pdf
   tools now, but that may take a few days to convert.  Any ideas?
  
   *Diagnostics: Error processing CFX custom tag CFX_CFX_PDF. The
CFX
  custom
   tag CFX_CFX_PDF was not found in the custom tag database. Please
 be
  sure
   to add custom tags to the database before using them. If you have
 added
  your
   tag to the database then you should check the spelling of the tag
 within
   your template to insure that it matches the database entry.
   The error occurred on line 29.
 
  --
  CFAJAX docs and other useful articles:
  http://www.bifrost.com.au/blog/
 
 



 



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251272
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


supported Locales workaround?

2006-08-28 Thread William Bowen
Hi all, I am looking for a possible way to work around an unsupported language 
in CFMX 6.1.

I have a request from an internal customer to create a Polish language site, 
but unfortunatly Polish is not on the supportLocales list.

Is there a way I can make this work?

Thanks!
will


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251273
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: PDF creation: CFDocument, iText; CF or Java libs?

2006-08-28 Thread Kris Jones
Thanks Paul. I believe that the bottleneck in the procedure I'm
working on is the CFDocument call, rather than the 3rd-party
split/merge program we're calling. I'm happy to look into iText, just
hoping that others have some experiential knowledge about performance
gains.

Cheers,
Kris


On 8/28/06, Paul Hastings [EMAIL PROTECTED] wrote:
 Kris Jones wrote:
  Since I know nothing about iText, I don't really want to go down that
  road unless I know that it will be worth it (performance-wise). I know
  there are few iText gurus on the list, maybe someone has some
  experience with this?

 the only way you can *know* which one is faster is by testing. search
 the cf forums, i posted code there to merge PDFs using itext (i'm at
 home  don't have access to the dev server). it's fairly simple.




 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251274
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfx_pdf and cf7?

2006-08-28 Thread Robertson-Ravo, Neil (RX)
Yeah, that was it!




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 is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Ken Ferguson
To: CF-Talk
Sent: Mon Aug 28 18:07:58 2006
Subject: RE: cfx_pdf and cf7?

You need to temporarily replace the itext.jar file with the one cfx_pdf
was using until you can convert your code to use cfdocument or itext
directly.

Thanks,
 
Ken Ferguson
214.636.6126



-Original Message-
From: Douglas Knudsen [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 10:18 AM
To: CF-Talk
Subject: Re: cfx_pdf and cf7?

nope, no extra cfx_.  The cfx tag info was transfered in via CFAdmin
Archive
tools form a working valid install of cfx_pdf on CFMX 6.

Now, under CF7 its broke and I can't enter the required data for it in
teh
CFAdmin tool.  CFadmin just reloads the edit tag info page, silly silly.
Niel's explain sounds best so far, makes since.  But Google is far from
friendly to me today on this topic.  Me thinks Goolge senses when a user
is
under distress and reacts differently!!  :)

Got a developer working now to convert to CF7 pdf stuffs.

DK

On 8/28/06, James Holmes [EMAIL PROTECTED] wrote:

 I think there's also an extra CFX in the tag name there:

 CFX_CFX_PDF

 On 8/28/06, Robertson-Ravo, Neil (RX)
 [EMAIL PROTECTED] wrote:
  Yeah, this is known I think - cf7 uses iText, as does cfx_pdf - you
get
  errors when trying to run them together as cfx_pdf packages it's on
 library
  of iText functions.
 
  I am sure there are fixes out there - have a Google!

 
  -Original Message-
  From: Douglas Knudsen
  To: CF-Talk
  Sent: Mon Aug 28 15:51:00 2006
  Subject: cfx_pdf and cf7?
 
  ok, just upgraded to cf7 finally.  Yeah, big corp stuff.  Anyhoo,
one
 app we
  have uses cfx_pdf.  Somehow testing this one piece got missed in
testing
 b4
  the upgrade, oops.  I can't seem to get cfx_pdf to work.  I know CF7
has
 pdf
  tools now, but that may take a few days to convert.  Any ideas?
 
  *Diagnostics: Error processing CFX custom tag CFX_CFX_PDF. The CFX
 custom
  tag CFX_CFX_PDF was not found in the custom tag database. Please
be
 sure
  to add custom tags to the database before using them. If you have
added
 your
  tag to the database then you should check the spelling of the tag
within
  your template to insure that it matches the database entry.
  The error occurred on line 29.

 --
 CFAJAX docs and other useful articles:
 http://www.bifrost.com.au/blog/

 





~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251275
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Where you one put encoding hints in an Application.cfc?

2006-08-28 Thread Ian Skinner
quote
Why not just put it in the application constructor (the space in the .cfc 
component tags outside of functions)... The Application.cfc get created every 
page call (as far as I know). Except the cfcontent tag, you probably would 
want to put after  most of the pre-page-processing as you are resetting the 
buffer (take advantage of that later in the game).

Also, I have little encoding experience... What is the use of setting it?
/quote

That sounds like an interesting idea Ben.  I will give it a try.  

The purpose of encoding is to change the encoding of the page.  In my case, so 
this application can understand special word characters when they are pasted 
into a form.




--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251276
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Case

2006-08-28 Thread Richard Dillman
could always wrap some CSS around it but it has to be lower case to begin
with for CSS to work.

span style=text-transform:capitalize#LCASE(FNAME)# /span

im sure there are other things in UDF's out there but it always winds up in
a discussion of McDonald and such type of mixed case names. And to be
honest, most of my people dont care much about that. I always insert
everything lower case makes formatting easier later.


On 8/28/06, Andy Matthews [EMAIL PROTECTED] wrote:

 I'm sure there's a function on www.cflib.org that would suit your needs.

 !//--
 andy matthews
 web developer
 certified advanced coldfusion programmer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-

 -Original Message-
 From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 25, 2006 9:04 PM
 To: CF-Talk
 Subject: Case


 I've seen the ucase and lcase functions, but is there anything to
 capitalize
 a string that is already u/l case?

 Thought I saw something in the list a while back, but can't find it.

 Thanks,
 Jenny

 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 25/08/2006




 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251277
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Uploading X number of photos at one time?

2006-08-28 Thread Ray Champagne
Andy, check out that blog link someone threw in this AM.  You can limit it
using that script without any modifications.  

While I like this solution, I think the one posted earlier is much slicker.
Is slicker a word?  

Anyways, check it out before you try modifying this one to do what you need.

Ray

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 28, 2006 11:53 AM
 To: CF-Talk
 Subject: RE: Uploading X number of photos at one time?
 
 Sorry that I didn't respond to this post. Is it possible to limit the
amount
 of upload fields the user can add?
 
 !//--
 andy matthews
 web developer
 certified advanced coldfusion programmer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-
 
 -Original Message-
 From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 25, 2006 9:24 PM
 To: CF-Talk
 Subject: RE: Uploading X number of photos at one time?
 
 
 Paste all of this in a .html file and run it. Click the [Add another Image
 Uploader] link to add more fields. I would of course limit this to a
maximum
 number of images at once. (way less than 10) To upload multiple images at
 one time without worrying about timeouts youll have to look into something
 like ActiveX controls
 
 
 script
 function addFieldSet()
 {
 
   //Increment the field counter
   thisInc = Number(document.imgform.fldCount.value) + 1;
   document.imgform.fldCount.value = thisInc;
 
   //Build the div container
   divCont = document.createElement('DIV');
   divCont.id = 'img' + thisInc;
   divCont.style.background='ececec';
   divCont.style.borderStyle = 'solid';
   divCont.style.borderWidth = '1px';
   divCont.style.borderColor = '00';
 
 
   //Build the table element
   thisTable = document.createElement('TABLE');
   thisTable.border = '0';
   thisTable.cellPadding = '5';
   thisTable.cellSpacing = '0';
   thisTable.width = '100%';
 
 
   //Build the first row of the table
   Row1 = document.createElement('TR');
   //Build column 1 of the first row
   Row1Col1 = document.createElement('TD');
   Row1Col1.innerHTML = 'Image File:';
 
   //Buld column 2 of row 1
   Row1Col2 = document.createElement('TD');
 
   //Build the file field
   fileFld = document.createElement('INPUT');
   fileFld.type = 'file';
   fileFld.name = 'imagefile' + thisInc;
   fileFld.size = '40';
 
   //Build a span tag to hold some text and a line break just
 after the file field
   thisSpan1 = document.createElement('SPAN');
   thisSpan1.innerHTML = 'brvalid formats: jpg, jpeg, pjpeg,
 gif';
 
   //Put the file field and text in the column
   Row1Col2.appendChild(fileFld);
   Row1Col2.appendChild(thisSpan1);
 
   //Go ahead and put the first row all together.
   Row1.appendChild(Row1Col1);
   Row1.appendChild(Row1Col2);
 
 
   //Build the second row
   Row2 = document.createElement('TR');
 
   //Build the columns just as before but (of course) with
 different text and a textarea field
   Row2Col1 = document.createElement('TD');
   Row2Col1.vAlign = 'top';
   Row2Col1.innerHTML = 'Cutline:';
 
   //Build column 2 of row 2
   Row2Col2 = document.createElement('TD');
   Row2Col2.vAlign = 'top';
 
   //build the text area
   txtArea = document.createElement('TEXTAREA');
   txtArea.name = 'cutline' + thisInc;
   txtArea.cols = '40';
   txtArea.rows = '2';
 
   //Add the textarea to column 2 of row 2
   Row2Col2.appendChild(txtArea);
 
   //Add the columns to the row
   Row2.appendChild(Row2Col1);
   Row2.appendChild(Row2Col2);
 
   //Create t tbody to hold the table content
   thisTbody = document.createElement('TBODY');
 
   //Add the rows to the table
   thisTbody.appendChild(Row1);
   thisTbody.appendChild(Row2);
 
   //Add the TBODY to the table
   thisTable.appendChild(thisTbody);
 
   //Now add the table to the div
   divCont.appendChild(thisTable)
 
   //Finally, add the div to the main div container
 
 document.getElementById('FormFieldContainer').appendChild(divCont);
 
   //And add a line break after the div
 

document.getElementById('FormFieldContainer').appendChild(document.createEl
 e
 ment('BR'));
   }
 
 /script
 
 
 
 
 form name=imgform 

Re: cfx_pdf and cf7?

2006-08-28 Thread Douglas Knudsen
cfx_pdf is by easel2.  I dropped the self-contained CFX_PDF.jar file in
/servers/lib so all my CF instances can see it, and they do.  The tag
registers fine, just get this darn null error.

Odd thing is in the System Information screen in teh CFAdmin tool, I see two
copies of everything in /servers/lib listed as being part of the class
path.

DK

On 8/28/06, Ken Ferguson [EMAIL PROTECTED] wrote:

 Hmmm, did you put the expected jars in the lib directory where you took
 out the others?  I've never used cfx_pdf, so I'm not really sure what's
 going on with it. We use itext directly in a bunch of places and had to
 go back and refactor the jars when we upgraded to 7. Who was the author
 of the tag?

 Thanks,

 Ken Ferguson
 214.636.6126



 -Original Message-
 From: Douglas Knudsen [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 28, 2006 12:35 PM
 To: CF-Talk
 Subject: Re: cfx_pdf and cf7?

 Ken, sounded like a sure win.  I removed the iText.jasr and
 iTextAsian.jarfrom the cfusion/lib folder. Now I can at least reg the
 tag, but get this
 error now

 *Diagnostics: com/allaire/cfx/CustomTag null
 The error occurred on line 29.

 Something else maybe colliding somewhere, eh?

 DK
 *
 On 8/28/06, Ken Ferguson [EMAIL PROTECTED] wrote:
 
  You need to temporarily replace the itext.jar file with the one
 cfx_pdf
  was using until you can convert your code to use cfdocument or itext
  directly.
 
  Thanks,
 
  Ken Ferguson
  214.636.6126
 
 
 
  -Original Message-
  From: Douglas Knudsen [mailto:[EMAIL PROTECTED]
  Sent: Monday, August 28, 2006 10:18 AM
  To: CF-Talk
  Subject: Re: cfx_pdf and cf7?
 
  nope, no extra cfx_.  The cfx tag info was transfered in via CFAdmin
  Archive
  tools form a working valid install of cfx_pdf on CFMX 6.
 
  Now, under CF7 its broke and I can't enter the required data for it in
  teh
  CFAdmin tool.  CFadmin just reloads the edit tag info page, silly
 silly.
  Niel's explain sounds best so far, makes since.  But Google is far
 from
  friendly to me today on this topic.  Me thinks Goolge senses when a
 user
  is
  under distress and reacts differently!!  :)
 
  Got a developer working now to convert to CF7 pdf stuffs.
 
  DK
 
  On 8/28/06, James Holmes [EMAIL PROTECTED] wrote:
  
   I think there's also an extra CFX in the tag name there:
  
   CFX_CFX_PDF
  
   On 8/28/06, Robertson-Ravo, Neil (RX)
   [EMAIL PROTECTED] wrote:
Yeah, this is known I think - cf7 uses iText, as does cfx_pdf -
 you
  get
errors when trying to run them together as cfx_pdf packages it's
 on
   library
of iText functions.
   
I am sure there are fixes out there - have a Google!
  
   
-Original Message-
From: Douglas Knudsen
To: CF-Talk
Sent: Mon Aug 28 15:51:00 2006
Subject: cfx_pdf and cf7?
   
ok, just upgraded to cf7 finally.  Yeah, big corp stuff.  Anyhoo,
  one
   app we
have uses cfx_pdf.  Somehow testing this one piece got missed in
  testing
   b4
the upgrade, oops.  I can't seem to get cfx_pdf to work.  I know
 CF7
  has
   pdf
tools now, but that may take a few days to convert.  Any ideas?
   
*Diagnostics: Error processing CFX custom tag CFX_CFX_PDF. The
 CFX
   custom
tag CFX_CFX_PDF was not found in the custom tag database. Please
  be
   sure
to add custom tags to the database before using them. If you have
  added
   your
tag to the database then you should check the spelling of the tag
  within
your template to insure that it matches the database entry.
The error occurred on line 29.
  
   --
   CFAJAX docs and other useful articles:
   http://www.bifrost.com.au/blog/
  
  
 
 
 
 



 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251278
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Dan Plesse
It should. Why don't you try it and find out for yourself?

On 8/28/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
wrote:

 Dan, I think in all honesty the only person to use this your solution
 would be you.

 Do you really think it is going to compete in the commercial DB market? Do
 you think that it would ever replace the need for Oracle/MSSQL?










 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 is for the exclusive use of
 the
 intended recipient(s).  If you are not the intended recipient(s) please
 note
 that any form of distribution, copying or use of this communication or the
 information in it is strictly prohibited and may be unlawful.  If you have
 received this communication in error please return it to the sender or
 call
 our switchboard on +44 (0) 20 89107910.  The opinions expressed within
 this
 communication are not necessarily those expressed by Reed Exhibitions.
 Visit our website at http://www.reedexpo.com

 -Original Message-
 From: Dan Plesse
 To: CF-Talk
 Sent: Mon Aug 28 10:18:10 2006
 Subject: Re: Stored procs (was Top 100 ColdFusion Programmers)

 I would love to test out my pure java embedded db in CF solution against
 any SP from Oracle or any of the other DBs.

 Just give me a dataset and I will knock one right out of the park.

 Write to me offline and I will set you up (for free) and you can test it
 out
 yourself.

 No more DBA's and pia SP in the way anymore.

 Dan




 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251280
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFChart Breaks in IE6

2006-08-28 Thread Mark Leder
Here's the cfchart Flash widget generated inside FF 1.56.  I've changed
nothing in months, why is it now broken in IE?   

OBJECT 
classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354 

codebase=http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,2
,0
ID=Images_513764312016_SWF 
name=Images_513764312016_SWF 
WIDTH=400 HEIGHT=300
PARAM NAME=movie
VALUE=/CFIDE/GraphData.cfm?graphCache=wc50graphID=Images/513764312016.
SWF/
PARAM NAME=quality VALUE=high/
PARAM NAME=bgcolor VALUE=#FF/
EMBED
src=/CFIDE/GraphData.cfm?graphCache=wc50graphID=Images/513764312016.SW
F 
quality=high 
bgcolor=#FF 
WIDTH=400 
HEIGHT=300 
TYPE=application/x-shockwave-flash 
 
PLUGINSPAGE=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash
/EMBED
/OBJECT


Thanks,
Mark




~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251281
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Robertson-Ravo, Neil (RX)
Nah, I will place my faith in Bill and Co.

:-)






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 is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Dan Plesse
To: CF-Talk
Sent: Mon Aug 28 19:35:06 2006
Subject: Re: Stored procs (was Top 100 ColdFusion Programmers)

It should. Why don't you try it and find out for yourself?

On 8/28/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
wrote:

 Dan, I think in all honesty the only person to use this your solution
 would be you.

 Do you really think it is going to compete in the commercial DB market? Do
 you think that it would ever replace the need for Oracle/MSSQL?










 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 is for the exclusive use of
 the
 intended recipient(s).  If you are not the intended recipient(s) please
 note
 that any form of distribution, copying or use of this communication or the
 information in it is strictly prohibited and may be unlawful.  If you have
 received this communication in error please return it to the sender or
 call
 our switchboard on +44 (0) 20 89107910.  The opinions expressed within
 this
 communication are not necessarily those expressed by Reed Exhibitions.
 Visit our website at http://www.reedexpo.com

 -Original Message-
 From: Dan Plesse
 To: CF-Talk
 Sent: Mon Aug 28 10:18:10 2006
 Subject: Re: Stored procs (was Top 100 ColdFusion Programmers)

 I would love to test out my pure java embedded db in CF solution against
 any SP from Oracle or any of the other DBs.

 Just give me a dataset and I will knock one right out of the park.

 Write to me offline and I will set you up (for free) and you can test it
 out
 yourself.

 No more DBA's and pia SP in the way anymore.

 Dan




 



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251282
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Russ
I really doubt that your solution can outperform the DBA vendors.  There's a
lot of engineering that goes into those solutions, and it's usually not
something that one man can develop.  

Even if your solution performs better for small datasets, can it handle
working with large ones?  Can your solution efficiently return a result for
a data search in a 1gb table?  10gb?  100gb?  

Granted web applications tend to deal with smaller data tables, but I doubt
that your solution would outperform SQL 2005 express even on a moderate size
table (1 mil records, 1gb).  

Russ

 -Original Message-
 From: Dan Plesse [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 28, 2006 2:35 PM
 To: CF-Talk
 Subject: Re: Stored procs (was Top 100 ColdFusion Programmers)
 
 It should. Why don't you try it and find out for yourself?
 
 On 8/28/06, Robertson-Ravo, Neil (RX) Neil.Robertson-
 [EMAIL PROTECTED]
 wrote:
 
  Dan, I think in all honesty the only person to use this your solution
  would be you.
 
  Do you really think it is going to compete in the commercial DB market?
 Do
  you think that it would ever replace the need for Oracle/MSSQL?
 
 
 
 
 
 
 
 
 
 
  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 is for the exclusive use of
  the
  intended recipient(s).  If you are not the intended recipient(s) please
  note
  that any form of distribution, copying or use of this communication or
 the
  information in it is strictly prohibited and may be unlawful.  If you
 have
  received this communication in error please return it to the sender or
  call
  our switchboard on +44 (0) 20 89107910.  The opinions expressed within
  this
  communication are not necessarily those expressed by Reed Exhibitions.
  Visit our website at http://www.reedexpo.com
 
  -Original Message-
  From: Dan Plesse
  To: CF-Talk
  Sent: Mon Aug 28 10:18:10 2006
  Subject: Re: Stored procs (was Top 100 ColdFusion Programmers)
 
  I would love to test out my pure java embedded db in CF solution
 against
  any SP from Oracle or any of the other DBs.
 
  Just give me a dataset and I will knock one right out of the park.
 
  Write to me offline and I will set you up (for free) and you can test it
  out
  yourself.
 
  No more DBA's and pia SP in the way anymore.
 
  Dan
 
 
 
 
 
 
 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251283
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Kevin Aebig
Not to mention that there's strength in numbers. Why would someone want to
switch when they can find numerous online resources to issues / problems
they're having with more widely adopted DBs? 

How can they be sure that you'll continue to support / upgrade this
solution? I know that I'd feel uncomfortable having my stuff sitting in a
proprietary solution...

!k

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 11:16 AM
To: CF-Talk
Subject: RE: Stored procs (was Top 100 ColdFusion Programmers)

 I would love to test out my pure java embedded db in CF 
 solution against any SP from Oracle or any of the other DBs.
 
 Just give me a dataset and I will knock one right out of the park.
 
 Write to me offline and I will set you up (for free) and you 
 can test it out yourself.
 
 No more DBA's and pia SP in the way anymore.

Embedded databases are wildly inappropriate for web applications. How do you
keep them secure? How do you maintain their integrity? You can't. Sure,
individual queries may well run faster, but if all we cared about was speed,
we wouldn't use RDBMSs.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251284
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Changes to .cfm files showing up on duplicate/test site cross multiple IIS Sites/Directories. Critical for us!

2006-08-28 Thread millerj
Hello.
I'm making a change in a production site and it's showing up in test site even 
though they are 2 sites, 2 sets of files and IIS has them point to 2 different 
ips.
On server they are 2 completely different folders within wwwroot.

let's call one cache.com and the other is beta.cache.com
 
cache.com point to ip ending in  .27 
beta.cache.com point to ip ending in .31

I make a comment on the index file for cache.com
Look at the index file for beta.cache.com - open in notepad  DO NOT SEE THE 
COMMENT
Now I go to the website.. type in beta.cache.com and SEE THE COMMENT.

Anyone have any ideas on this or how it may be fixed?
thank you
j

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251285
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFLocation to an exe on another server

2006-08-28 Thread Ben Doom
Here's the quandary:

We're trying to redirect to a downloadable executable on another server.  If I 
type the address directly into the address bar of IE/Win, it works fine.  If I 
CFLocation to the file in Firefox, it works fine.  If I CFLocation to the file 
in IE/Win, it drops the .exe extension from the download.

Ideas?

--Ben Doom

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251286
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFChart Breaks in IE6

2006-08-28 Thread Mark Leder
FYI - there is no GraphData.cfm within the CFIDE directory in CFMX7.02, at
least not on mine. 

Thanks,
Mark

-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 2:05 PM
To: CF-Talk
Subject: RE: CFChart Breaks in IE6

Here's the cfchart Flash widget generated inside FF 1.56.  I've changed
nothing in months, why is it now broken in IE?   

OBJECT 
classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354 

codebase=http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,2
,0
ID=Images_513764312016_SWF 
name=Images_513764312016_SWF 
WIDTH=400 HEIGHT=300
PARAM NAME=movie
VALUE=/CFIDE/GraphData.cfm?graphCache=wc50graphID=Images/513764312016.
SWF/
PARAM NAME=quality VALUE=high/
PARAM NAME=bgcolor VALUE=#FF/
EMBED
src=/CFIDE/GraphData.cfm?graphCache=wc50graphID=Images/513764312016.SW
F 
quality=high 
bgcolor=#FF 
WIDTH=400 
HEIGHT=300 
TYPE=application/x-shockwave-flash 
 
PLUGINSPAGE=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash
/EMBED
/OBJECT


Thanks,
Mark






~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251287
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Coldfusion and Java

2006-08-28 Thread Mullai Subbiah
I am trying to call a user-defined Java method. I am using CFMX7 and Java 1.4.2 
One of the method within the class when called gets executed by Coldfusion. But 
another method does not seem to be seen by coldfusion. Every time I try to call 
the method I get a method not found error. The classpath is fine, the method 
exists (can call this method when stand alone), I have recompiled and restarted 
the Coldfusion server hoping that might help but no success. I get a similar 
error when I try to call the calendar set method. 

This is the error I get.


Called from E:\wwwroot\coeweb\apdr\index.cfm: line 57
 
34 : cfset daysrange = -30
35 :
36 : cfset searchResultList = 
searchUltra_.searchCollectionWithDate(#searchString#, simap, #curtime#, 
#daysrange#) 
37 : 
38 : cfset resultquery = QueryNew(Score, Title, Description, Url, news_id, 
published_date, 

 


 
Please try the following: 
Check the ColdFusion documentation to verify that you are using the correct 
syntax. 
Search the Knowledge Base to find a solution to your problem. 

 
Browser   Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 
1.1.4322; .NET CLR 2.0.50727; InfoPath.1) 
Remote Address   12.36.96.235 
Referrer   http://website/apdr/index.cfm?action=search 
Date/Time   28-Aug-06 08:53 AM 
 
Stack Trace (click to expand)  
at 
cfsearchresultfunction2ecfc1423953097$funcGETULTRASEEKRESULTSDATECONSTRAINT.runFunction(E:\wwwroot\coeweb\apdr\user\searchresultfunction.cfc:36)
 at 
cfsearch_result2ecfm617320438.runPage(E:\wwwroot\coeweb\apdr\user\search_result.cfm:65)
 at cfindex2ecfm9115575.runPage(E:\wwwroot\coeweb\apdr\index.cfm:57) 


coldfusion.runtime.java.MethodSelectionException: The selected method 
searchCollectionWithDate was not found.
at 
coldfusion.runtime.java.ObjectHandler.findMethodUsingCFMLRules(ObjectHandler.java:176)
at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:84)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1627)
at 
cfsearchresultfunction2ecfc1423953097$funcGETULTRASEEKRESULTSDATECONSTRAINT.runFunction(E:\wwwroot\coeweb\apdr\user\searchresultfunction.cfc:36)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348)
at 
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:294)
at 
coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:258)
at 
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:370)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:196)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:156)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1587)
at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:345)
at 
cfsearch_result2ecfm617320438.runPage(E:\wwwroot\coeweb\apdr\user\search_result.cfm:65)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1908)
at cfindex2ecfm9115575.runPage(E:\wwwroot\coeweb\apdr\index.cfm:57)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at 
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
at 
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
at 
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at 
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at 
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
at 

Re: supported Locales workaround?

2006-08-28 Thread Paul Hastings
William Bowen wrote:
 Hi all, I am looking for a possible way to work around an unsupported 
 language in CFMX 6.1.
 
 I have a request from an internal customer to create a Polish language site, 
 but unfortunatly Polish is not on the supportLocales list.
 
 Is there a way I can make this work?

either use core java or icu4j.



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251291
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PDF creation: CFDocument, iText; CF or Java libs?

2006-08-28 Thread Paul Hastings
Kris Jones wrote:
 Thanks Paul. I believe that the bottleneck in the procedure I'm
 working on is the CFDocument call, rather than the 3rd-party
 split/merge program we're calling. I'm happy to look into iText, just
 hoping that others have some experiential knowledge about performance
 gains.

pre-cf7 we used itext a bunch. these days we only use it for special 
case needs such as merging pdfs, pdfForms, bookmarks, etc that 
cfDocument doesn't yet handle or when we need an insane amount of 
control over the pdf (usually placing stuff at exact coords like checks, 
etc).

we never benchmarked it to anything, just glad it worked.


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251289
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Dan Plesse
YES if you use the webserver object

Its embedded but it has remote connectivity.

If you start the webserver inside a jws container you might also get object
persistence benefits.

I had trouble adding the driver at runtime, so I take this to mean that the
context might be off the CF map. Maybe
it runs on the same level as CF.

I am wildly guessing maybe someone else could shed some light on this
subject.

I find it hard to believe that all this stuff is free and open and no one
has tested this before.


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251290
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Coldfusion and Java

2006-08-28 Thread Richard Kroll
This is a shot in the dark, but I know I've had problems with I did not
cast things for java.  Did you try JavaCast() on your passed arguments?

Rich Kroll

-Original Message-
From: Mullai Subbiah [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 2:56 PM
To: CF-Talk
Subject: Coldfusion and Java

I am trying to call a user-defined Java method. I am using CFMX7 and
Java 1.4.2 One of the method within the class when called gets executed
by Coldfusion. But another method does not seem to be seen by
coldfusion. Every time I try to call the method I get a method not found
error. The classpath is fine, the method exists (can call this method
when stand alone), I have recompiled and restarted the Coldfusion server
hoping that might help but no success. I get a similar error when I try
to call the calendar set method. 

This is the error I get.



Called from E:\wwwroot\coeweb\apdr\index.cfm: line 57
 
34 : cfset daysrange = -30
35 :
36 : cfset searchResultList =
searchUltra_.searchCollectionWithDate(#searchString#, simap,
#curtime#, #daysrange#) 
37 : 
38 : cfset resultquery = QueryNew(Score, Title, Description, Url,
news_id, published_date, 

 



 
Please try the following: 
Check the ColdFusion documentation to verify that you are using the
correct syntax. 
Search the Knowledge Base to find a solution to your problem. 

 
Browser   Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1) 
Remote Address   12.36.96.235 
Referrer   http://website/apdr/index.cfm?action=search 
Date/Time   28-Aug-06 08:53 AM 
 
Stack Trace (click to expand)  
at
cfsearchresultfunction2ecfc1423953097$funcGETULTRASEEKRESULTSDATECONSTRA
INT.runFunction(E:\wwwroot\coeweb\apdr\user\searchresultfunction.cfc:36)
at
cfsearch_result2ecfm617320438.runPage(E:\wwwroot\coeweb\apdr\user\search
_result.cfm:65) at
cfindex2ecfm9115575.runPage(E:\wwwroot\coeweb\apdr\index.cfm:57) 


coldfusion.runtime.java.MethodSelectionException: The selected method
searchCollectionWithDate was not found.
at
coldfusion.runtime.java.ObjectHandler.findMethodUsingCFMLRules(ObjectHan
dler.java:176)
at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:84)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1627)
at
cfsearchresultfunction2ecfc1423953097$funcGETULTRASEEKRESULTSDATECONSTRA
INT.runFunction(E:\wwwroot\coeweb\apdr\user\searchresultfunction.cfc:36)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348)
at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:294)
at
coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.j
ava:258)
at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
56)
at
coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:370)
at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:196)
at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:156)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1587)
at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:345)
at
cfsearch_result2ecfm617320438.runPage(E:\wwwroot\coeweb\apdr\user\search
_result.cfm:65)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at
coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1908)
at
cfindex2ecfm9115575.runPage(E:\wwwroot\coeweb\apdr\index.cfm:57)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at
coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
at
coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
at
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersist
enceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at

Re: Changes to .cfm files showing up on duplicate/test site cross multiple IIS Sites/Directories. Critical for us!

2006-08-28 Thread Barney Boisvert
In your caching settings in the cfadmin there is a setting for
multi-homed servers.  By default it's configured for servers that have
a single webroot, but if you've got multiple web roots sharing your CF
server, you need to disable the option.

cheers,
barneyb

On 8/28/06, millerj @ etcnj. com millerj @ etcnj. com [EMAIL PROTECTED] wrote:
 Hello.
 I'm making a change in a production site and it's showing up in test site 
 even though they are 2 sites, 2 sets of files and IIS has them point to 2 
 different ips.
 On server they are 2 completely different folders within wwwroot.

 let's call one cache.com and the other is beta.cache.com

 cache.com point to ip ending in  .27
 beta.cache.com point to ip ending in .31

 I make a comment on the index file for cache.com
 Look at the index file for beta.cache.com - open in notepad  DO NOT SEE THE 
 COMMENT
 Now I go to the website.. type in beta.cache.com and SEE THE COMMENT.

 Anyone have any ideas on this or how it may be fixed?
 thank you
 j

 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251294
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Jochem van Dieten
Kevin Aebig wrote:
 Not to mention that there's strength in numbers. Why would someone want to
 switch when they can find numerous online resources to issues / problems
 they're having with more widely adopted DBs? 
 
 How can they be sure that you'll continue to support / upgrade this
 solution?

Escrow licence on the source.


 I know that I'd feel uncomfortable having my stuff sitting in a
 proprietary solution...

So you don't use MS SQL Server, Oracle and DB/2 either?

Jochem

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251296
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PDF creation: CFDocument, iText; CF or Java libs?

2006-08-28 Thread Dan Plesse
I have a few examples on java coldfusion list on yahoo called coldfusion
java hacks. http://groups.yahoo.com/group/java_coldfusion_hacks/

There is no action on that list, just takers of my hard won work with CF and
java.



On 8/28/06, Kris Jones [EMAIL PROTECTED] wrote:

 Thanks Paul. I believe that the bottleneck in the procedure I'm
 working on is the CFDocument call, rather than the 3rd-party
 split/merge program we're calling. I'm happy to look into iText, just
 hoping that others have some experiential knowledge about performance
 gains.

 Cheers,
 Kris


 On 8/28/06, Paul Hastings [EMAIL PROTECTED] wrote:
  Kris Jones wrote:
   Since I know nothing about iText, I don't really want to go down that
   road unless I know that it will be worth it (performance-wise). I know
   there are few iText gurus on the list, maybe someone has some
   experience with this?
 
  the only way you can *know* which one is faster is by testing. search
  the cf forums, i posted code there to merge PDFs using itext (i'm at
  home  don't have access to the dev server). it's fairly simple.
 
 
 
 
 

 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251295
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Coldfusion and Java

2006-08-28 Thread Russ
This is most likely happening because java can't find a method that matches
the signature.  If you're using cf 7, you will need to use JavaCast to cast
the arguments to the proper type. 

Russ

 -Original Message-
 From: Mullai Subbiah [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 28, 2006 2:56 PM
 To: CF-Talk
 Subject: Coldfusion and Java
 
 I am trying to call a user-defined Java method. I am using CFMX7 and Java
 1.4.2 One of the method within the class when called gets executed by
 Coldfusion. But another method does not seem to be seen by coldfusion.
 Every time I try to call the method I get a method not found error. The
 classpath is fine, the method exists (can call this method when stand
 alone), I have recompiled and restarted the Coldfusion server hoping that
 might help but no success. I get a similar error when I try to call the
 calendar set method.
 
 This is the error I get.
 
 --
 --
 Called from E:\wwwroot\coeweb\apdr\index.cfm: line 57
 
 34 : cfset daysrange = -30
 35 :
 36 : cfset searchResultList =
 searchUltra_.searchCollectionWithDate(#searchString#, simap, #curtime#,
 #daysrange#)
 37 :
 38 : cfset resultquery = QueryNew(Score, Title, Description, Url,
 news_id, published_date,
 
 
 
 --
 --
 
 Please try the following:
 Check the ColdFusion documentation to verify that you are using the
 correct syntax.
 Search the Knowledge Base to find a solution to your problem.
 
 
 Browser   Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR
 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
 Remote Address   12.36.96.235
 Referrer   http://website/apdr/index.cfm?action=search
 Date/Time   28-Aug-06 08:53 AM
 
 Stack Trace (click to expand)
 at
 cfsearchresultfunction2ecfc1423953097$funcGETULTRASEEKRESULTSDATECONSTRAIN
 T.runFunction(E:\wwwroot\coeweb\apdr\user\searchresultfunction.cfc:36) at
 cfsearch_result2ecfm617320438.runPage(E:\wwwroot\coeweb\apdr\user\search_r
 esult.cfm:65) at
 cfindex2ecfm9115575.runPage(E:\wwwroot\coeweb\apdr\index.cfm:57)
 
 
 coldfusion.runtime.java.MethodSelectionException: The selected method
 searchCollectionWithDate was not found.
   at
 coldfusion.runtime.java.ObjectHandler.findMethodUsingCFMLRules(ObjectHandl
 er.java:176)
   at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:84)
   at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1627)
   at
 cfsearchresultfunction2ecfc1423953097$funcGETULTRASEEKRESULTSDATECONSTRAIN
 T.runFunction(E:\wwwroot\coeweb\apdr\user\searchresultfunction.cfc:36)
   at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348)
   at
 coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:294)
   at
 coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.jav
 a:258)
   at
 coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56
 )
   at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211)
   at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:370)
   at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:196)
   at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:156)
   at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1587)
   at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:345)
   at
 cfsearch_result2ecfm617320438.runPage(E:\wwwroot\coeweb\apdr\user\search_r
 esult.cfm:65)
   at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
   at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
   at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1908)
   at cfindex2ecfm9115575.runPage(E:\wwwroot\coeweb\apdr\index.cfm:57)
   at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
   at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
   at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
   at
 coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210)
   at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
   at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
   at
 coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
   at
 coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersisten
 ceFilter.java:28)
   at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
   at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
   at
 coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
   at coldfusion.CfmServlet.service(CfmServlet.java:105)
   at
 coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
   at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
   at
 jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
   at
 

Re: Top 100 ColdFusion Programmers

2006-08-28 Thread Denny Valliant
On 8/27/06, Phillip Senn [EMAIL PROTECTED] wrote:

 Denny,

 Where is your blog?


I think I'll just use blogger beta, but I haven't added anything yet.

Been sorta wishy-washy on what direction I want to go, want to be able to
move
my posts if I want, etc... I'd use blogCFC if I had a personal CF site.  I
should
probably just get a cheapie and do that, but... well... wish-wash...
:D

I'll holler when I get one up, since I'm sure everyone will want to know.
:-)


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251293
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFLocation to an exe on another server

2006-08-28 Thread Paul Giesenhagen
This may sound like a bad solution .. (but it's all I could come up with 
quickly).

Redirect to server 2 to a file that redirects locally to the exe and see if 
that works (it most likely won't if it is not working already).


Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com


- Original Message - 
From: Ben Doom [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, August 28, 2006 1:51 PM
Subject: CFLocation to an exe on another server


 Here's the quandary:

 We're trying to redirect to a downloadable executable on another server. 
 If I type the address directly into the address bar of IE/Win, it works 
 fine.  If I CFLocation to the file in Firefox, it works fine.  If I 
 CFLocation to the file in IE/Win, it drops the .exe extension from the 
 download.

 Ideas?

 --Ben Doom

 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251298
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Denny Valliant
Things to consider with stored procs:

  Plus: More logic is in the DB than in CF
  Con:  More logic is in the DB than in CF

If you want to switch Data providers, you have a major task- CF and the
DB are hard-linked sorta, if that makes sense.

And I think that there is a beliefe that stored procs can't be poorly
written, which is incorrect.  But they do make diagnosing from within
the database easier, which is where Teddy seems to get the most
reward.

The all around anser of you use what's best for the task is just
too easy though... but it's what you have to do, so... eh... All I have
to say is that the questions that the Pragmatic Programmer asks,
are difficult ones, and involve being able to swap parts out
indescriminately, which is REALLY hard to code for, as easy as
the concept seems.  'Cuz it takes it out of the domain of what
the language is you're using to develope, even.  E.g.: switching
from CF to PHP, or ASP, or Java or C##... Man, how could you
do that?

Eh.

Dang. Meeting.  Well, I'll comment on hsqldb later, but I think it's
pretty interesting, and I wonder why no CFers seem to be utilizing
it as well.

Derby? Anyone using Derby?
:den

On 8/28/06, Teddy Payne [EMAIL PROTECTED] wrote:

 Well, there has been a strong aversion to my original thread and some
 agreement with various aspects.

 Let me add that I thank everyone for their comments.  My usage of stored
 procedures is my personal style of coding.  I consider stored procedures a
 good way to abstract my data code and enforce code reuseability.  I find
 it
 easier to share a stored procedure with another developer than a
 ColdFusion
 template.  The other developer just needs to do a cfstoredproc with the
 appropriate parameters and does not have to get lost in understanding the
 query originally set up.  cfprocparam is just as effect as
 cfqueryparam
 and offers an excellent way to have multiple returned results with
 cfprocresult, where I can assign resultset numbers to names of a query.

 Now, I am aware that you could have three separate queries to achieve the
 same thing, but from within CF, I do not have a way to debug the SQL as
 quickly than I would have a tool like Query Analyzer.  Now, I also know
 that
 you can copy and paste from your CF templates in Query analyzer, test the
 query and paste the code back to my template.   I do not consider myself a
 purist, but I would choose to have all of SQL being managed by my database
 abstractly and only have my CF code display results.

 Another consideration, I have stored procedures that can be executed from
 CF
 and now can be shared with more advanced database operations.  I use SQl
 Server a great deal and with the SQL execute feature of DTS, I can have
 the
 same stored procedures that I use for my CF being used by the RDBMS.  For
 me,
 this is logical to have the queries available for my database and not just
 for the CF.  CF doesn't have a way to share SQL code easily with databases
 that I have seen.

 I enjoy topics about ORM models as well.  I am subscribed to the Reactor
 for
 ColdFusion mailing list as I like the approach of abstraction my queries
 even more into an object definition.  My custom gateway methods use stored
 procedures to keep my personal style consistent.

 If you would like to share SQL concepts with me that I can apply with
 stored
 procedures, please let me know.  I enjoy finding ways to structure my
 queries more effectively.

 This is a good thread.  I enjoy the contrarian comments.  I see most of
 the
 comments as people justifying their own methods that work for them.  I
 suggest keep doing what works for you as I am sure that you are getting
 the
 results that you are looking for.

 I find that this is a style thread and that no one is arguing that stored
 procedures cannot achieve great results.

 Teddy


 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251299
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFLocation to an exe on another server

2006-08-28 Thread Ben Doom
 Here's the quandary:
 
 We're trying to redirect to a downloadable executable on another 
 server.  If I type the address directly into the address bar of IE/Win, 
 it works fine.  If I CFLocation to the file in Firefox, it works fine.  
 If I CFLocation to the file in IE/Win, it drops the .exe extension 
 from the download.
 
 Ideas?
 
 --Ben 

Nevermind.  addtoken=no seems to have resolved the problem.  Stupid IE.

--Ben

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251300
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFLocation to an exe on another server

2006-08-28 Thread loathe
Use javascript?

Use the meta tag?

Use the Java page context thing (I can't remember it off the top of my head
should be easy to find if you google it).

 -Original Message-
 From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 28, 2006 3:15 PM
 To: CF-Talk
 Subject: Re: CFLocation to an exe on another server
 
 This may sound like a bad solution .. (but it's all I could come up with
 quickly).
 
 Redirect to server 2 to a file that redirects locally to the exe and see
 if
 that works (it most likely won't if it is not working already).
 
 
 Paul Giesenhagen
 QuillDesign
 417-885-1375
 http://www.quilldesign.com
 
 
 - Original Message -
 From: Ben Doom [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Monday, August 28, 2006 1:51 PM
 Subject: CFLocation to an exe on another server
 
 
  Here's the quandary:
 
  We're trying to redirect to a downloadable executable on another server.
  If I type the address directly into the address bar of IE/Win, it works
  fine.  If I CFLocation to the file in Firefox, it works fine.  If I
  CFLocation to the file in IE/Win, it drops the .exe extension from the
  download.
 
  Ideas?
 
  --Ben Doom
 
 
 
 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251302
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: OT: SVN, Ant, CruiseControl, and deployment

2006-08-28 Thread Richard Kroll
Thanks for the feedback.  I'm going to start next week working with a
few spare servers we have at the moment.  I'm going to try to get the
process set up across them to replicate our environment and see what I
can come up with.  I'll provide some feedback once I get everything set
up.

Rich Kroll

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251301
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Does anybody know how to fix this IE/CSS problem?

2006-08-28 Thread Will Tomlinson
That is a bug in IE6 which will be fixed in IE7.  But until then, there is
nothing to do except arrange the items so that the image overlay is lower
than the select box.
 
YUCK! Not what I wanted to hear but oh well. I hate IE! 

The problem with the popup in FF is the black overlay background doesn't hide 
the screen behind the popup like it's supposed to. That part seems to work just 
fine in IE on my machine. Did I mention I hate IE?   :)

Thanks so much Sandra. I really appreciate the help!

Will

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251303
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Dave Watts
 I find it hard to believe that all this stuff is free and 
 open and no one has tested this before.

For the same effect, you could just use PointBase, which ships with JRun/CF.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251304
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread Dave Watts
 It should. Why don't you try it and find out for yourself?

I can only speak for myself, but I don't use Oracle and MS SQL Server
because they're faster. I use them because they're reliable, can be secured
and managed from outside of my application, can support multiple separate
applications, and can scale. An embedded database is a toy in a web
application. There are plenty of great environments for embedded databases,
like my cell phone. This isn't one of them.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251305
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-28 Thread loathe
This is an important point that seems to have been missed in this thread.

From the perspective of creating secure applications you can do much more to
limit access to your data through stored procedures and actually using the
access control systems that are built into the RDBMS of your choice.

In Oracle and now in DB/2 we have actually been using DB side user accounts
to enforce table and even row level grants against data.  This is enforced
through the DB itself, and the application only has to know it either got
the data back, or it got an error back, and how to respond to each.

Someone else mentioned coding so that the application doesn't need to know
what it is receiving its information from.  I don't think this is as
pertinent to this conversation.  Encapsulating your SP calls in CFCs gives
you the ability to quickly change to a different means of data storage
(LDAP, XML, whatever).



 -Original Message-
 From: Dave Watts [mailto:[EMAIL PROTECTED]
 Sent: Sunday, August 27, 2006 9:38 PM
 To: CF-Talk
 Subject: RE: Stored procs (was Top 100 ColdFusion Programmers)
 
  While on that subject, a lot of people insist that everythig
  should be done with SP's wherever possible.
  While this is indeed a good idea for long/complex queries
  that will see vastly improved performance and speed, but I
  think it is wrong to do it just for the sake of it, and to
  put basic select or other small queries etc into SP's.
 
 I wouldn't go so far as to insist, but I do strongly recommend it. Not for
 speed, primarily - using prepared statements may be as fast in many cases
 -
 but not just for the sake of it either. Using stored procedures allows
 you
 to logically segment data access code from your application in a useful
 way,
 and allows the application to be secured a bit more - you can in many
 cases
 essentially remove the ability to run arbitrary SQL from your application.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!
 
 

~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251306
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Uploading X number of photos at one time?

2006-08-28 Thread Bobby Hartsfield
Yeah, just set a maxUploads variable to the number you want and wrap
everything inside the function in an if statement. Something like...


var maxUploads = 3;

if (document.imgform.fldCount.value == maxUploads)
{
 alert('already at the max number');
}
else
{
//ALL THE REST OF THE CODE HERE

}

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 11:53 AM
To: CF-Talk
Subject: RE: Uploading X number of photos at one time?

Sorry that I didn't respond to this post. Is it possible to limit the amount
of upload fields the user can add?

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 9:24 PM
To: CF-Talk
Subject: RE: Uploading X number of photos at one time?


Paste all of this in a .html file and run it. Click the [Add another Image
Uploader] link to add more fields. I would of course limit this to a maximum
number of images at once. (way less than 10) To upload multiple images at
one time without worrying about timeouts youll have to look into something
like ActiveX controls


script
function addFieldSet()
{

//Increment the field counter
thisInc = Number(document.imgform.fldCount.value) + 1;
document.imgform.fldCount.value = thisInc;

//Build the div container
divCont = document.createElement('DIV');
divCont.id = 'img' + thisInc;
divCont.style.background='ececec';
divCont.style.borderStyle = 'solid';
divCont.style.borderWidth = '1px';
divCont.style.borderColor = '00';


//Build the table element
thisTable = document.createElement('TABLE');
thisTable.border = '0';
thisTable.cellPadding = '5';
thisTable.cellSpacing = '0';
thisTable.width = '100%';


//Build the first row of the table
Row1 = document.createElement('TR');
//Build column 1 of the first row
Row1Col1 = document.createElement('TD');
Row1Col1.innerHTML = 'Image File:';

//Buld column 2 of row 1
Row1Col2 = document.createElement('TD');

//Build the file field
fileFld = document.createElement('INPUT');
fileFld.type = 'file';
fileFld.name = 'imagefile' + thisInc;
fileFld.size = '40';

//Build a span tag to hold some text and a line break just
after the file field
thisSpan1 = document.createElement('SPAN');
thisSpan1.innerHTML = 'brvalid formats: jpg, jpeg, pjpeg,
gif';

//Put the file field and text in the column
Row1Col2.appendChild(fileFld);
Row1Col2.appendChild(thisSpan1);

//Go ahead and put the first row all together.
Row1.appendChild(Row1Col1);
Row1.appendChild(Row1Col2);


//Build the second row
Row2 = document.createElement('TR');

//Build the columns just as before but (of course) with
different text and a textarea field
Row2Col1 = document.createElement('TD');
Row2Col1.vAlign = 'top';
Row2Col1.innerHTML = 'Cutline:';

//Build column 2 of row 2
Row2Col2 = document.createElement('TD');
Row2Col2.vAlign = 'top';

//build the text area
txtArea = document.createElement('TEXTAREA');
txtArea.name = 'cutline' + thisInc;
txtArea.cols = '40';
txtArea.rows = '2';

//Add the textarea to column 2 of row 2
Row2Col2.appendChild(txtArea);

//Add the columns to the row
Row2.appendChild(Row2Col1);
Row2.appendChild(Row2Col2);

//Create t tbody to hold the table content
thisTbody = document.createElement('TBODY');

//Add the rows to the table
thisTbody.appendChild(Row1);
thisTbody.appendChild(Row2);

//Add the TBODY to the table
thisTable.appendChild(thisTbody);

//Now add the table to the div
divCont.appendChild(thisTable)

//Finally, add the div to the main div container

document.getElementById('FormFieldContainer').appendChild(divCont);

//And add a line break after the div

document.getElementById('FormFieldContainer').appendChild(document.createEle

  1   2   >