Re: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Thomas Chiverton
On Tuesday 15 Jul 2003 06:55 am, Kwang Suh wrote:
 I myself will be waiting for Mach II: Championship Edition.

But it's already the best a man can get...

-- 
Thomas C
Advanced ColdFusion Programmer

HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged 
Particles Moving at Velocities in Excess of Five Hundred Million Miles Per 
Hour.
PLEASE ALSO NOTE: I don't speak for the company that sent this.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: easy cfc question :)

2003-07-15 Thread Jochem van Dieten
Tony Weeg wrote:
 
 cfinvoke component=theMatrix method=theDynamicMatrix
 returnVariable=matrixDisplay
 cfinvokeargument name=accountNumber
 value=#url.accountNumber#
 cfinvokeargument name=debtorNumber
 value=#url.debtorNumber#
 /cfinvoke
 
 cflock scope=SESSION timeout=5 type=READONLY
   cfwddx action = wddx2cfml input = #matrixDisplay# output =
 session.matrixAsAStructAgain
 /cflock

If your output is session.matrixAsAStructAgain, why is your lock 
readonly instead of exclusive? I know locking is no longer necessary for 
memory integrity reasons, but I don't see how this would help with race 
conditions either.


 !--- Stops here for some reason, i can do a cfdump here, and see what
 im
 supposed to see, it just wont cflocate me to the accounts page? ---
 
 cflocation url =
 accounts.cfm?step=Accessactualid=#url.AccountNumber#action=Access

Telnet to the page and see if any cflocation headers are returned.

Jochem


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Jordan Thomas
Hi,

We were using struts as a development methodology/framework. Really cool
idea but overblown for most web apps. We are now back to CF and using a
methodology from www.benorama.com It's nice, supports internationalisation,
MVC, n-tier and it's a lot simpler than Struts which means that it's quick
to develop with. True, it doesn't have the validator but we found that to be
a little rigid straight out of the box. The workflow stuff was a little
lame too. CF is far nicer to work with.

my 2 cents anyway

Jordan

-Original Message-
From: Smith, Don , CTR , WHS/PSD [mailto:[EMAIL PROTECTED]
Sent: Monday, 14 July 2003 9:50 PM
To: CF-Talk
Subject: Anyone using Jakarta Struts for cfmx?


Is anyone using Jakarta Struts for CFMX and can they comment toward its use?

I am looking for a published development framework that would be flexible
enough for development in, plus allow our team to investigate new
technologies outside of CFMX -I like what I read of Struts' integration of
Java technology but I haven't implemented it yet.

I'm working with some staff for whom integration of existing Java libraries
would be a stretch and others who could handle it easily, but it would
require ramp-up time and
education.

I am hoping to find a framework that would allow me to point new developers
to existing materials so I would not have to write up an entire code like I
do book.  I am also hoping that it would add something on top of CFMX and
not merely reorganize CFMX without adding anything.

How was your:
Ease of development and organization
Integration with Java for non-Java programmers
Success rate in getting users to adapt

THANKS!

Don


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: video formats streaming

2003-07-15 Thread Ihrig Paul E Cont 88 ABW/EM
thanks Michael
its on a secure server  just for internal use
the only reason they want it streamed is that they are pretty chunky files.
training videos that can be over 20 minutes long..

guess i will look into setting up a real server, since we own it.
just dislike its format  the way they treat there clients...
-paul
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



cfchart hanging

2003-07-15 Thread A.Little
Hi all,

We've recently upgraded to CFMX and I'm in the process of changing our
references to cfgraph to cfchart, but I'm finding that cfchart doesn't
always generate a graph, the browser just sits there with the progress bar
stuck. The rest of the pages display fine (including text/data after the
cfchart tag).

The cfchart tags are just on our web admin pages, so only a couple of people
use them - but I'd like to get it cleared up.

any ideas?

Alex

ps. the graphs should be generating much less than the chartseries limit of
16 which I've seen in the cfmx known bugs.
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: iframe form javascript

2003-07-15 Thread John Stanley
You probably already thought of this, but do you have this inside a
cfoutput?

-Original Message-
From: Stan Winchester [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 10:39 PM
To: CF-Talk
Subject: iframe  form javascript


I've got a form with two nested iframes that are side-by-side. The one of
the left shows a directory listing of images, the one on the right is an
image viewer. Below is the link that is used in the left iframe (this is
inside a cfloop). When a user clicks on the link the image views properly,
but I also want the image path  name values to be passed to a form field
name Image that resides the form.

a href=viewer.cfm?image=#subDir##name# target=viewer
onClick=top.mainFrameSet.main.document.frmAddItem.Image.value=#subDir##name
#;#name#/a

The problem is the path  name values are not getting passed to the field
name Image. I'm not getting any javascript errors, but it does not work.

Thank you,
Stan Winchester


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Stripping lines from output

2003-07-15 Thread Bushy
Hi,

I'm creating a batch file and then executing it via cfexecute. Everything is working 
great except for the output to screen.

cfexecute name=#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.bat
   outputfile=#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.rlog
   timeOut=1000
/cfexecute
/ul

!--- Read file ---
cffile action=READ
file=#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.rlog
variable=results 

cfoutput
cfset results = 
#Replace(results,-,_,ALL)#
#Replace(results,chr(10),br,ALL)#
/cfoutput

I get the following:

C:\WINNT\system32setlocal 

C:\WINNT\system32d: 

D:\cd D:\mywork\test\documents\123

D:\mywork\test\documents\123C:\programs\runme.exe filename.txt 45

Aborted: Unacceptable...
 

What I want is to ignore the first 4 lines in the output to screen and only display 
Aborted: ...

How would I go about this?





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Stripping lines and outputting to screen

2003-07-15 Thread Bushy
Hi,

I'm creating a batch file and then executing it via cfexecute. Everything is working 
great except for the output to screen.

cfexecute name=#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.xxx
   outputfile=#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.rlog
   timeOut=1000
/cfexecute
/ul


cffile action=READ
file=#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.rlog
variable=results 

cfoutput
cfset results = 
#Replace(results,-,_,ALL)#
#Replace(results,chr(10),br,ALL)#
/cfoutput

I get the following:

C:\WINNT\system32setlocal 

C:\WINNT\system32d: 

D:\cd D:\mywork\test\documents\123

D:\mywork\test\documents\123C:\programs\runme filename.txt 45

Aborted: Unacceptable...
 

What I want is to ignore the first 4 lines in the output to screen and only display 
Aborted: ...

How would I go about this?





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Stripping lines from output

2003-07-15 Thread Mike Townend
Add to the top of the bat file

@Echo Off

This will stop commands being displayed..

Then when you want to output some text use Echo again  e.g.

@Echo off

C:\programs\runme.exe filename.txt 45

Echo This text appears on screen


HTH



-Original Message-
From: Bushy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 13:03
To: CF-Talk
Subject: Stripping lines from output


Hi,

I'm creating a batch file and then executing it via cfexecute. Everything
is working great except for the output to screen.

cfexecute name=#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.bat
   outputfile=#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.rlog
   timeOut=1000
/cfexecute
/ul

!--- Read file ---
cffile action=READ
file=#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.rlog
variable=results 

cfoutput
cfset results =
#Replace(results,-,_,ALL)#

#Replace(results,chr(10),br,ALL)#
/cfoutput

I get the following:

C:\WINNT\system32setlocal 

C:\WINNT\system32d: 

D:\cd D:\mywork\test\documents\123

D:\mywork\test\documents\123C:\programs\runme.exe filename.txt 45

Aborted: Unacceptable...
 

What I want is to ignore the first 4 lines in the output to screen and only
display Aborted: ...

How would I go about this?






~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Stripping lines from output

2003-07-15 Thread Bushy
Doh...



Thanks


On Tue, 15 Jul 2003 13:07:40 +0100, Mike Townend wrote:

 Add to the top of the bat file
 
 @Echo Off
 
 This will stop commands being displayed..
 
 Then when you want to output some text use Echo again  e.g.
 
 @Echo off
 
 C:\programs\runme.exe filename.txt 45
 
 Echo This text appears on screen
 
 
 HTH
 
 
 
 -Original Message-
 From: Bushy [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, July 15, 2003 13:03
 To: CF-Talk
 Subject: Stripping lines from output
 
 
 Hi,
 
 I'm creating a batch file and then executing it via cfexecute. Everything
 is working great except for the output to screen.
 
 cfexecute name=#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.bat
outputfile=#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.rlog
timeOut=1000
 /cfexecute
 /ul
 
 !--- Read file ---
 cffile action=READ
 file=#TheFolder#\#LCase(ListGetAt(FileName,1,'.'))#.rlog
 variable=results 
 
 cfoutput
   cfset results =
 #Replace(results,-,_,ALL)#
   
 #Replace(results,chr(10),br,ALL)#
 /cfoutput
 
 I get the following:
 
 C:\WINNT\system32setlocal 
 
 C:\WINNT\system32d: 
 
 D:\cd D:\mywork\test\documents\123
 
 D:\mywork\test\documents\123C:\programs\runme.exe filename.txt 45
 
 Aborted: Unacceptable...
  
 
 What I want is to ignore the first 4 lines in the output to screen and only
 display Aborted: ...
 
 How would I go about this?
 
 
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: easy cfc question :)

2003-07-15 Thread Tony Weeg
how would I telnet to a page?

cant I only telnet to a port on a server (ip)?

thanks

tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 4:52 AM
To: CF-Talk
Subject: Re: easy cfc question :)


Tony Weeg wrote:
 
 cfinvoke component=theMatrix method=theDynamicMatrix 
 returnVariable=matrixDisplay
 cfinvokeargument name=accountNumber
value=#url.accountNumber#
 cfinvokeargument name=debtorNumber
 value=#url.debtorNumber#
 /cfinvoke
 
 cflock scope=SESSION timeout=5 type=READONLY
   cfwddx action = wddx2cfml input = #matrixDisplay# output = 
 session.matrixAsAStructAgain /cflock

If your output is session.matrixAsAStructAgain, why is your lock 
readonly instead of exclusive? I know locking is no longer necessary for

memory integrity reasons, but I don't see how this would help with race 
conditions either.


 !--- Stops here for some reason, i can do a cfdump here, and see what

 im supposed to see, it just wont cflocate me to the accounts page? 
 ---
 
 cflocation url = 
 accounts.cfm?step=Accessactualid=#url.AccountNumber#action=Access

Telnet to the page and see if any cflocation headers are returned.

Jochem



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: easy cfc question :)

2003-07-15 Thread Thomas Chiverton
On Tuesday 15 Jul 2003 13:20 pm, Tony Weeg wrote:
 how would I telnet to a page?
 cant I only telnet to a port on a server (ip)?

http://sartre.dgate.org/~brg/bvtelnet80/

-- 
Thomas C
Advanced ColdFusion Programmer

HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged 
Particles Moving at Velocities in Excess of Five Hundred Million Miles Per 
Hour.
PLEASE ALSO NOTE: I don't speak for the company that sent this.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: easy cfc question :)

2003-07-15 Thread Tony Weeg
why is my lock exclusive? the other part of your response:

not sure, I was tired, it was late, and just typed that in there ;)

tw

tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 4:52 AM
To: CF-Talk
Subject: Re: easy cfc question :)


Tony Weeg wrote:
 
 cfinvoke component=theMatrix method=theDynamicMatrix 
 returnVariable=matrixDisplay
 cfinvokeargument name=accountNumber
value=#url.accountNumber#
 cfinvokeargument name=debtorNumber
 value=#url.debtorNumber#
 /cfinvoke
 
 cflock scope=SESSION timeout=5 type=READONLY
   cfwddx action = wddx2cfml input = #matrixDisplay# output = 
 session.matrixAsAStructAgain /cflock

If your output is session.matrixAsAStructAgain, why is your lock 
readonly instead of exclusive? I know locking is no longer necessary for

memory integrity reasons, but I don't see how this would help with race 
conditions either.


 !--- Stops here for some reason, i can do a cfdump here, and see what

 im supposed to see, it just wont cflocate me to the accounts page? 
 ---
 
 cflocation url = 
 accounts.cfm?step=Accessactualid=#url.AccountNumber#action=Access

Telnet to the page and see if any cflocation headers are returned.

Jochem



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



LDAP Monitoring Utility/Tool/CF Script

2003-07-15 Thread Allan Clarke
Hi,
I'm searching for a free LDAP monitoring utility/tool
or atleast a script. Basically I want to have an
update of the LDAP Server at all times. The
utility/script should alert me when something goes
wrong (service stops/fails). I am using Nagios. Nagios
is a feature-rich network monitoring package. It can
also be configured to send alerts and perform other
actions when problems are detected.

Is there anyone who can help me?
Thanks

Allan

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



iframe form javascript

2003-07-15 Thread Stan Winchester
Isaac,

I've added '#jsstringformat(subDir  name)#' and it still is not changing the value in 
the ImageName form field. (The variable name is from a cfdirectory query.)

a href=viewer.cfm?image=#subDir##name# target=viewer 
onClick=top.mainFrameSet.main.document.frmAddItem.ImageName.value='#jsstringformat(subDir
  name)#';#name#/a

which returns the following example:

a href=viewer.cfm?image=shoes/sm_002.jpg target=viewer 
onClick=top.mainFrameSet.main.document.frmAddItem.ImageName.value='shoes/sm_002.jpg';sm_002.jpg/a

Thanks, Stan

You're missing single quotes in your onclick event... try this:

onClick=top.mainFrameSet.main.document.frmAddItem.Image.
value='#jsstringformat(subDir  name)#';

I _think_ javascript should be graceful enough to allow you to have 
Image as the name of that field... never name a form field name 
action or target -- this will prevent js code from accessing the 
form's name, action or target attributes... they are case-sensitive, 
however, so NAME is fine if confusing. :)

hth 

s. isaac dealey972-490-6624

 Tim,
 Changed it to ImageName and still the same thing.
 Thanks, Stan

First thing I would do would be to change the field name
to something other
than Image.  IMage is an object in js and that may be a
cause for your
problem.  Even if you just try changing all refrences to
it to img or
imgField or something.

Tim
- Original Message -
From: Stan Winchester [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, July 14, 2003 10:38 PM
Subject: iframe  form javascript


 I've got a form with two nested iframes that are
 side-by-side. The one of
 the left shows a directory listing of images, the one on
 the right is an
 image viewer. Below is the link that is used in the left
 iframe (this is
 inside a cfloop). When a user clicks on the link the
 image views properly,
 but I also want the image path  name values to be
 passed to a form field
 name Image that resides the form.

 a href=viewer.cfm?image=#subDir##name#
 target=viewer

onClick=top.mainFrameSet.main.document.frmAddItem.Image.v
alue=#subDir##name
 #;#name#/a

 The problem is the path  name values are not getting
 passed to the field
 name Image. I'm not getting any javascript errors, but
 it does not work.

 Thank you,
 Stan Winchester
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



WAY OT: ACT, SALESLOGIC, OUTLOOK CRM

2003-07-15 Thread cf_man
Im trying to learn more about being able to have a single reporitory 
for CRM data and connect to various wireless devices such as 
palm , cell phones etc. Essentially my client uses SALESLOGIC 
and ACT for CRM and wants to synch (perhaps intellisynch) data 
(calender, addresses, email, contacts, todo's) from a single 
repository (sql) , and be able to publish/subscribe  to multipe 
other datastores (perhaps Outlook), having private and public 
spaces. Has anyone worked or done anything like this? Any pointers 
or directions is appreiciated.

___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: iframe form javascript

2003-07-15 Thread S . Isaac Dealey
 Isaac,

 I've added '#jsstringformat(subDir  name)#' and it still
 is not changing the value in the ImageName form field.
 (The variable name is from a cfdirectory query.)

Actually I hadn't even noticed the word name in there -- it's not relevant in that 
context anyway because that's a coldfusion variable, not a JavaScript variable, so 
that's not an issue (although you may want to qualify the variable with the name of 
the cfdirectory query, i.e. cfdir.name rather than name.

 a href=viewer.cfm?image=#subDir##name# target=viewer
 onClick=top.mainFrameSet.main.document.frmAddItem.ImageNa
 me.value='#jsstringformat(subDir  name)#';#name#/a

 which returns the following example:

 a href=viewer.cfm?image=shoes/sm_002.jpg
 target=viewer onClick=top.mainFrameSet.main.document.fr
 mAddItem.ImageName.value='shoes/sm_002.jpg';sm_002.jpg/
 a

That's definitely proper syntax for javascript... is it producing a javascript error 
now? You might want to turn on script debugging if you're using Internet Explorer to 
test this.

... oh...

target may have some affect on it... I know that if you specify a base target for a 
page, then any javascript on that page IE will attempt to process relative to or 
rather from the target frame... dunno why they do that, I think it's stupid 
personally... Anyway, you might try this:

script language=javascript
  function getMyImage(iName) {
top.mainFrameSet.main.document.frmAddItem.ImageName.value=iName;
top.mainFrameSet.viewer.location.href='viewer.cfm?image='+iName;
  }
/script

a href=javascript:getMyImage('#jsstringformat(subDir  name)#');#name#/a

hth

 Thanks, Stan

You're missing single quotes in your onclick event... try
this:

onClick=top.mainFrameSet.main.document.frmAddItem.Image.
value='#jsstringformat(subDir  name)#';

I _think_ javascript should be graceful enough to allow
you to have
Image as the name of that field... never name a form field
name
action or target -- this will prevent js code from
accessing the
form's name, action or target attributes... they are
case-sensitive,
however, so NAME is fine if confusing. :)

hth

s. isaac dealey972-490-6624

 Tim,
 Changed it to ImageName and still the same thing.
 Thanks, Stan

First thing I would do would be to change the field name
to something other
than Image.  IMage is an object in js and that may be a
cause for your
problem.  Even if you just try changing all refrences to
it to img or
imgField or something.

Tim
- Original Message -
From: Stan Winchester [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, July 14, 2003 10:38 PM
Subject: iframe  form javascript


 I've got a form with two nested iframes that are
 side-by-side. The one of
 the left shows a directory listing of images, the one
 on
 the right is an
 image viewer. Below is the link that is used in the
 left
 iframe (this is
 inside a cfloop). When a user clicks on the link the
 image views properly,
 but I also want the image path  name values to be
 passed to a form field
 name Image that resides the form.

 a href=viewer.cfm?image=#subDir##name#
 target=viewer

onClick=top.mainFrameSet.main.document.frmAddItem.Image
.v
alue=#subDir##name
 #;#name#/a

 The problem is the path  name values are not getting
 passed to the field
 name Image. I'm not getting any javascript errors,
 but
 it does not work.

 Thank you,
 Stan Winchester
 ~~
 ~~~|
 Archives:
 http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
 Subscription: http://www.houseoffusion.com/cf_lists/index.
 cfm?method=subscribeforumid=4
 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

 Get the mailserver that powers this list at
 http://www.coolfusion.com

   Unsubscribe: http://www.houseoffusion.com/cf_lists/uns
   ubscribe.cfm?user=633.558.4




s. isaac dealey972-490-6624

new epoch  http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource http://www.turnkey.to/tapi

team macromedia volunteer  http://www.macromedia.com/go/team

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: iframe form javascript

2003-07-15 Thread jon hall
What is the js error you are getting? If you don't have Mozilla, I'd
highly recommend it, as it's js debugger is the best available.

Also have you tried replacing top.mainFrameSet.main with parent? For
what you are doing they should have the same effect. At least it would
get rid of a few possible points of failure from a debugging
standpoint.

As far as the image field goes, naming it 'image' should be fine,
'images' wouldn't work though because of the images array. Since IE
puts everything in the global namespace, they would collide. Other
modern browsers are not affected.

-- 
 jon
 mailto:[EMAIL PROTECTED]

Tuesday, July 15, 2003, 9:14:47 AM, you wrote:
SW Isaac,

SW I've added '#jsstringformat(subDir  name)#' and it still is not changing the 
value in the ImageName form field. (The variable name is from a cfdirectory query.)

SW a href=viewer.cfm?image=#subDir##name# target=viewer 
onClick=top.mainFrameSet.main.document.frmAddItem.ImageName.value='#jsstringformat(subDir
  name)#';#name#/a

SW which returns the following example:

SW a href=viewer.cfm?image=shoes/sm_002.jpg target=viewer 
onClick=top.mainFrameSet.main.document.frmAddItem.ImageName.value='shoes/sm_002.jpg';sm_002.jpg/a

SW Thanks, Stan

You're missing single quotes in your onclick event... try this:

onClick=top.mainFrameSet.main.document.frmAddItem.Image.
value='#jsstringformat(subDir  name)#';

I _think_ javascript should be graceful enough to allow you to have 
Image as the name of that field... never name a form field name 
action or target -- this will prevent js code from accessing the 
form's name, action or target attributes... they are case-sensitive, 
however, so NAME is fine if confusing. :)

hth 

s. isaac dealey972-490-6624

 Tim,
 Changed it to ImageName and still the same thing.
 Thanks, Stan

First thing I would do would be to change the field name
to something other
than Image.  IMage is an object in js and that may be a
cause for your
problem.  Even if you just try changing all refrences to
it to img or
imgField or something.

Tim
- Original Message -
From: Stan Winchester [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, July 14, 2003 10:38 PM
Subject: iframe  form javascript


 I've got a form with two nested iframes that are
 side-by-side. The one of
 the left shows a directory listing of images, the one on
 the right is an
 image viewer. Below is the link that is used in the left
 iframe (this is
 inside a cfloop). When a user clicks on the link the
 image views properly,
 but I also want the image path  name values to be
 passed to a form field
 name Image that resides the form.

 a href=viewer.cfm?image=#subDir##name#
 target=viewer

onClick=top.mainFrameSet.main.document.frmAddItem.Image.v
alue=#subDir##name
 #;#name#/a

 The problem is the path  name values are not getting
 passed to the field
 name Image. I'm not getting any javascript errors, but
 it does not work.

 Thank you,
 Stan Winchester
SW 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Includes inside a CFOUTPUT problem...

2003-07-15 Thread Les Mizzell
Why doesn't this work?


cfoutput query=prods
 tr
  cfswitch expression=#URL.ID#
cfcase value=100
  cfinclude template=includes/td_1.cfm
  cfinclude template=includes/td_14.cfm
  cfinclude template=includes/td_22.cfm
/cfcase
cfcase value=110
 cfinclude template=includes/td_33.cfm
 cfinclude template=includes/td_34.cfm
 cfinclude template=includes/td_35.cfm
   /cfcase
  /cfswitch
 /tr
/cfoutput

Assume the include td_1.cfm and the others, in their entirety, is simply
like:
td#some_variable#/td

The scope of the CFOUTPUT tag doesn't extend down into the includes - so the
variables aren't outputting

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: LDAP Monitoring Utility/Tool/CF Script

2003-07-15 Thread jon hall
Surely this feature-rich monitoring tool lets you monitor ports 389
and 636 on your LDAP server?

-- 
 jon
 mailto:[EMAIL PROTECTED]

Tuesday, July 15, 2003, 8:49:59 AM, you wrote:
AC Hi,
AC I'm searching for a free LDAP monitoring utility/tool
AC or atleast a script. Basically I want to have an
AC update of the LDAP Server at all times. The
AC utility/script should alert me when something goes
AC wrong (service stops/fails). I am using Nagios. Nagios
AC is a feature-rich network monitoring package. It can
AC also be configured to send alerts and perform other
AC actions when problems are detected.

AC Is there anyone who can help me?
AC Thanks

AC Allan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Includes inside a CFOUTPUT problem...

2003-07-15 Thread Thomas Chiverton
On Tuesday 15 Jul 2003 14:29 pm, Les Mizzell wrote:
 cfoutput query=prods
 Assume the include td_1.cfm and the others, in their entirety, is simply
 like:
 td#some_variable#/td

 The scope of the CFOUTPUT tag doesn't extend down into the includes - so
 the variables aren't outputting

What about 
td#prods.some_variable#/td
in the includes ?
That's better syntax anyway...

-- 
Thomas C
Advanced ColdFusion Programmer

HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged 
Particles Moving at Velocities in Excess of Five Hundred Million Miles Per 
Hour.
PLEASE ALSO NOTE: I don't speak for the company that sent this.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



OT: Flash player

2003-07-15 Thread Candace Cottrell
How can I run a silent install of the flash player for intranets? My
boss doesn't want the users to be prompted, ratherit just silently
install.
 
I know I did this last year sometime, but I am forgetting how I did it.
Also, we have the license for the intranet thing...
 
I looked on the mm site, but found nothing about a silent install.
 
Candace K. Cottrell, Web Developer 
The Children's Medical Center 
One Children's Plaza 
Dayton, OH 45404 
937-641-4293 
http://www.childrensdayton.org
 
 
[EMAIL PROTECTED]

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Stacy Young
mach-ii.com is lookin good...
http://www.mach-ii.com/downloads/Intro%20to%20Implicit%20Invocation.pdf

After diving deep into actionscript/flash development the past year I've
come to understand the awesomeness of using listeners + event
broadcasting in keeping a design flexible.

Stace

-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 14, 2003 6:24 PM
To: CF-Talk
Subject: Re: Anyone using Jakarta Struts for cfmx?

Interesting... looks a lot like Mach II (nee Fusebox MX). See  
http://www.mach-ii.com/

On Monday, Jul 14, 2003, at 15:01 US/Pacific, Joe Eugene wrote:

 I have used alot of Concepts from Jakarta Structs as MVC for recent
 application.
 It worked very well, with a very high level of code management.  
 Begining
 with
 file structure

 index.cfm is the only exposed page of the applicaiton.
 application.xml for application level control/instantiation

 system/model/data -- contains data objects
 system/model/logic -- logic controls
 system/model/validator -- validation controls for forms etc

 system/controller -- controller files
 system/view -- all view sub-components or pages.

 controller.xml for flow control and method execution mappings..  
 similar to
 whats
 done in Jakarta Struts except ...*.cfc used here. All method mappings

 are
 executed
 dynamically and variables in the xml mapping get the result or set  
 values in
 variables scope. View Components do NOT touch high level scope  
 variables
 like
 client/session/application.

 I have been quite happy with the Model.. Once the model is written..  
 all you
 do is
 write your data layer methods and view pages.. and you are done.. The
 controller does
 the rest of the job.

 Ease of development and organization
 Heavy resistance from other CF Developers at first.. but then some  
 started
 to realize
 the benefits... Others are hung on the Fusebox 3 Case Style.

 If you are really excited about developing some class applications and

 tight
 coding... it becomes very hard
 to work with developers who arent looking to improve.. but just get
the
 project done...

 Joe Eugene

 - Original Message -
 From: Smith, Don , CTR , WHS/PSD [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Monday, July 14, 2003 3:50 PM
 Subject: Anyone using Jakarta Struts for cfmx?


 Is anyone using Jakarta Struts for CFMX and can they comment toward  
 its
 use?

 I am looking for a published development framework that would be  
 flexible
 enough for development in, plus allow our team to investigate new
 technologies outside of CFMX -I like what I read of Struts'  
 integration of
 Java technology but I haven't implemented it yet.

 I'm working with some staff for whom integration of existing Java
 libraries
 would be a stretch and others who could handle it easily, but it
would
 require ramp-up time and
 education.

 I am hoping to find a framework that would allow me to point new
 developers
 to existing materials so I would not have to write up an entire code

 like
 I
 do book.  I am also hoping that it would add something on top of  
 CFMX and
 not merely reorganize CFMX without adding anything.

 How was your:
 Ease of development and organization
 Integration with Java for non-Java programmers
 Success rate in getting users to adapt

 THANKS!

 Don


 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: FeedDemon by Nick Bradbury

2003-07-15 Thread Stacy Young
I've been using it the past week. It roxors.

Stace

-Original Message-
From: Tilbrook, Peter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 12:55 AM
To: CF-Talk
Subject: SOT: FeedDemon by Nick Bradbury

Nick Bradbury, legendary creator of HomeSite and TopStyle (both of which
are
included with Dreamweaver MX) has a new (and extremely useful product)
in
the works.

It's called FeedDemon and, despite still being a beta product, is an
easy
to use RSS news aggregator.

I encourage you to check it out at
http://www.feeddemon.com/feeddemon/index.asp.

Peter Tilbrook
Internet Applications Developer
Australian Building Codes Board
GPO Box 9839
CANBERRA ACT 2601
AUSTRALIA

  WWW: http://www.abcb.gov.au/
   E-Mail: [EMAIL PROTECTED]
Telephone: +61 (02) 6213 6731
   Mobile: 0439 401 823
Facsimile: +61 (02) 6213 7287 


**
The information contained in this e-mail, and any attachments to it, is
intended for the use of the addressee and is confidential. If you are
not the intended recipient you must not use, disclose, read, forward,
copy or retain any of the information. If you have received this e-mail
in
error, please delete it and notify the sender by return e-mail or
telephone.
The Commonwealth does not warrant that any attachments are free from
viruses or any other defects. You assume all liability for any loss,
damage or other consequences which may arise from opening or using the
attachments.

***


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



test

2003-07-15 Thread Michael T. Tangorre
test
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: easy cfc question :)

2003-07-15 Thread Dave Watts
 how would I telnet to a page?
 
 cant I only telnet to a port on a server (ip)?

You telnet to the server, and ask it for the page:

At your command prompt, type telnet server_ip 80. Then, at the telnet
prompt, type GET /directory/page.cfm HTTP/1.0 followed by two carriage
returns.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Dave Watts
 After diving deep into actionscript/flash development the 
 past year I've come to understand the awesomeness of 
 using listeners + event broadcasting in keeping a design 
 flexible.

That makes a lot of sense, in an event-driven environment like most GUIs
provide. Web applications tend to be a lot more linearly structured, though,
and I suspect that mapping an event model onto it may make things more
complex rather than simpler. Interestingly, that's essentially the approach
to ASP.NET programming with Visual Studio.NET - you build web applications
as if they were GUI applications, and Visual Studio writes lots of code for
you to provide that illusion.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Flash player

2003-07-15 Thread Robertson-Ravo, Neil (RX)
Pretty sure all it is is a switch :  /s

or something...?

cant really remember as 99.9% of people will have Flash these days

-Original Message-
From: Candace Cottrell [mailto:[EMAIL PROTECTED]
Sent: 15 July 2003 14:51
To: CF-Talk
Subject: OT: Flash player


How can I run a silent install of the flash player for intranets? My
boss doesn't want the users to be prompted, ratherit just silently
install.
 
I know I did this last year sometime, but I am forgetting how I did it.
Also, we have the license for the intranet thing...
 
I looked on the mm site, but found nothing about a silent install.
 
Candace K. Cottrell, Web Developer 
The Children's Medical Center 
One Children's Plaza 
Dayton, OH 45404 
937-641-4293 
http://www.childrensdayton.org
 
 
[EMAIL PROTECTED]


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: easy cfc question :)

2003-07-15 Thread Thomas Chiverton
On Tuesday 15 Jul 2003 15:05 pm, Dave Watts wrote:
 At your command prompt, type telnet server_ip 80. Then, at the telnet
 prompt, type GET /directory/page.cfm HTTP/1.0 followed by two carriage
 returns.

And hope it isn't doing name based virtual hosting :-)

-- 
Thomas C
Advanced ColdFusion Programmer

HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged 
Particles Moving at Velocities in Excess of Five Hundred Million Miles Per 
Hour.
PLEASE ALSO NOTE: I don't speak for the company that sent this.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



I need some good old advice.

2003-07-15 Thread James Blaha
All:

I need some good old advice. I’m redesigning an application to utilize 
query caching and the use of Query of Query to speed it up some. So I’m 
caching one large query and running the application templates using Q0Q. 
Any time there that there is an insert, update or deletion from the 
database I’m going to un cache the main query. The QoQ’s will always 
have correct data as changes happen which shouldn’t be all that often.

My question is when I perform a SQL insert, update or delete is there a 
way to call and run a query but not have that query add to the execution 
time of the template. For example maybe and idea is calling a scheduled 
job to run the query.

Regards,
James Blaha


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: easy cfc question :)

2003-07-15 Thread Tony Weeg
nope, just one domain, my devbox...testbed really anyway...but will try
tonight ;)

thanks gents.

but whats the thought process here anyway?  I can take the cfinvoke
stuff
off, and things are fine...its the cfc stuff that's buggin this out...

right?

tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 10:08 AM
To: CF-Talk
Subject: Re: easy cfc question :)


On Tuesday 15 Jul 2003 15:05 pm, Dave Watts wrote:
 At your command prompt, type telnet server_ip 80. Then, at the 
 telnet prompt, type GET /directory/page.cfm HTTP/1.0 followed by two

 carriage returns.

And hope it isn't doing name based virtual hosting :-)

-- 
Thomas C
Advanced ColdFusion Programmer

HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically
Charged 
Particles Moving at Velocities in Excess of Five Hundred Million Miles
Per 
Hour.
PLEASE ALSO NOTE: I don't speak for the company that sent this.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Merging TIFFs

2003-07-15 Thread Justin Hansen
I need to take a logo with a clipping path and place it on a background image, both 
tiffs, to create a new tiff. I have tried CFX_IMAGE, ImageJ CFC, ImageFlare. 
ImageFlare was working the best, but I can't get transparent backgrounds from the logo.

Any suggestions would be greatly appreciated.

 Justin Hansen
~~
 Uhlig Communications
 Systems Engineer
~~
 [EMAIL PROTECTED]
 913-754-4273 Office
 913-568-7961 Mobile
~~
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Stacy Young
I thought the same (when I first glanced at their spec)...but after
implementing a few small apps...I've grown to like it...In August I'll
be looking at using it in our corporate environment, see how it fares.

Although when I first dove into flash/actionscript, I admit it took me
some time to get my head around this type of framework (coming from the
cf world)...

Stace


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 10:09 AM
To: CF-Talk
Subject: RE: Anyone using Jakarta Struts for cfmx?

 After diving deep into actionscript/flash development the 
 past year I've come to understand the awesomeness of 
 using listeners + event broadcasting in keeping a design 
 flexible.

That makes a lot of sense, in an event-driven environment like most GUIs
provide. Web applications tend to be a lot more linearly structured,
though,
and I suspect that mapping an event model onto it may make things more
complex rather than simpler. Interestingly, that's essentially the
approach
to ASP.NET programming with Visual Studio.NET - you build web
applications
as if they were GUI applications, and Visual Studio writes lots of code
for
you to provide that illusion.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: I need some good old advice.

2003-07-15 Thread Jim Davis
Sorry - not much time but...

If the updates and deletes are simplistic (and rare as you say) you _might_
want to not redo the whole main query, but rather update it as well.

Remember that you can modify any query in memory using all the variable
manipulation tools at your disposal.

That way you get the updated data in your query but don't incur the refresh
time (or at least as much of it).

The main query will still be rerun on it's scheduled out-of-cache time.  So
periodically you'd get the real thing.

Jim Davis

 -Original Message-
 From: James Blaha [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 15, 2003 10:10 AM
 To: CF-Talk
 Subject: I need some good old advice.
 
 All:
 
 I need some good old advice. I'm redesigning an application to utilize
 query caching and the use of Query of Query to speed it up some. So I'm
 caching one large query and running the application templates using Q0Q.
 Any time there that there is an insert, update or deletion from the
 database I'm going to un cache the main query. The QoQ's will always
 have correct data as changes happen which shouldn't be all that often.
 
 My question is when I perform a SQL insert, update or delete is there a
 way to call and run a query but not have that query add to the execution
 time of the template. For example maybe and idea is calling a scheduled
 job to run the query.
 
 Regards,
 James Blaha
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



MX Stability

2003-07-15 Thread Watson, Nicholas
have a web site that uses ColdFusion MX (updater 3), IIS 5 and SQL2000. The
box that the site is on is a dual 1.0 Ghz PIIIs machine with 1 gig of ram.
The database sits on a quad proccessor box with Xeons (Over 1 Ghz each, more
than enough horsepower for the site).

When my site gets crawled by a search engine, or any other kind of crawler
(we use a program that check for dead links in the site), the memory shoots
up and the thread count gets near 300. This causes the system to crash.

The site is coded with all queries and buisness logic wrapped in to CFC's
that interface with templates that build the UI.

Our previous site had no problems, which did not use CFC's had no problems
dealing with the traffic created by crawlers and our link checker.

Now, we also use cfcache extensively to reduce overhead for pages that never
change (90% of the site). 

1. Why does my memory usage skyrocket? I've had JRun.exe use 620 MB on one
box, and 520 MB on another box. This seems outragous to me. 

2. My thread count gets gotten over 300 while being crawled. I've read on
other posts CF become unstable at 125 or so. How do eliminate threads being
created by ColdFusion.

3. What performance tuning measures can I take to make the site more stable
during load?

4. Why does ColdFusion completely die when the connection with the our
database server is broken? I've used CFCATCH tags to catch errors, but the
server hangs and the CF service has to be restarted. 

Under normal operating loads, the site is stable. As mentioned before our
previous site, was very stable and never had problems with load issues.

Thanks,

Nicholas W. Watson
Software Engineer
Concurrent Technologies Corporation
Email: [EMAIL PROTECTED]
Phone: (814) 269-2653

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: UPS and CF

2003-07-15 Thread webmaster
 Are you using the Shipping API?  Or the Tracking stuff?   We did a big full
fledged implementation, feel free to contact me offlist.


Regards,

Eric Hoffman
Datastream Connexion
 

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 14, 2003 4:11 PM
To: CF-Talk

Hey All,

I know we have some folks on this list that have some extensive experience
integrating with UPSso hopefully I can get some info.

The big one I'm unsure of at the moment is how to either get the tracking
number of  a package into non-UPS system database (or DB), or give the
e-mail address for the order to UPS (this is in order to send the customer
the tracking number).

Does UPS have some sort of of interface that lets you pass order specific
details through so the customer gets the tracking number via e-mail?

Any insight or time savers would be great (seem to recall someone from
Tropical Web having some lengthy dealings with UPS and a custom CF tag)

TIA

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Flash player

2003-07-15 Thread Candace Cottrell
Hmm.. how do I have the exe run when the open up the page?
 
 
Candace K. Cottrell, Web Developer 
The Children's Medical Center 
One Children's Plaza 
Dayton, OH 45404 
937-641-4293 
http://www.childrensdayton.org
 
 
[EMAIL PROTECTED]

 [EMAIL PROTECTED] 7/15/2003 10:06:02 AM 
Pretty sure all it is is a switch :  /s

or something...?

cant really remember as 99.9% of people will have Flash these days

-Original Message-
From: Candace Cottrell [mailto:[EMAIL PROTECTED] 
Sent: 15 July 2003 14:51
To: CF-Talk
Subject: OT: Flash player


How can I run a silent install of the flash player for intranets? My
boss doesn't want the users to be prompted, ratherit just silently
install.

I know I did this last year sometime, but I am forgetting how I did
it.
Also, we have the license for the intranet thing...

I looked on the mm site, but found nothing about a silent install.

Candace K. Cottrell, Web Developer 
The Children's Medical Center 
One Children's Plaza 
Dayton, OH 45404 
937-641-4293 
http://www.childrensdayton.org 


[EMAIL PROTECTED] 



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: MX Stability

2003-07-15 Thread Thomas Chiverton
On Tuesday 15 Jul 2003 15:22 pm, Watson, Nicholas wrote:
 620MB

Sounds normal enough for a J2EE engine to me.
You can try triming the JVM memory settings down.

 2. My thread count gets gotten over 300 while being crawled. I've read on
 other posts CF become unstable at 125 or so. How do eliminate threads being
 created by ColdFusion.

Place a proxy betwen JRun and the world, and throttle connections with that.
Squid or Apache would be up to this.

-- 
Thomas C
Advanced ColdFusion Programmer

HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged 
Particles Moving at Velocities in Excess of Five Hundred Million Miles Per 
Hour.
PLEASE ALSO NOTE: I don't speak for the company that sent this.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Flash player

2003-07-15 Thread Robertson-Ravo, Neil (RX)
I think it could be a cab or jar thingy.?   its been a while and I know
how to do it for Director ;-)

-Original Message-
From: Candace Cottrell [mailto:[EMAIL PROTECTED]
Sent: 15 July 2003 15:35
To: CF-Talk
Subject: RE: Flash player


Hmm.. how do I have the exe run when the open up the page?
 
 
Candace K. Cottrell, Web Developer 
The Children's Medical Center 
One Children's Plaza 
Dayton, OH 45404 
937-641-4293 
http://www.childrensdayton.org
 
 
[EMAIL PROTECTED]

 [EMAIL PROTECTED] 7/15/2003 10:06:02 AM 
Pretty sure all it is is a switch :  /s

or something...?

cant really remember as 99.9% of people will have Flash these days

-Original Message-
From: Candace Cottrell [mailto:[EMAIL PROTECTED] 
Sent: 15 July 2003 14:51
To: CF-Talk
Subject: OT: Flash player


How can I run a silent install of the flash player for intranets? My
boss doesn't want the users to be prompted, ratherit just silently
install.

I know I did this last year sometime, but I am forgetting how I did
it.
Also, we have the license for the intranet thing...

I looked on the mm site, but found nothing about a silent install.

Candace K. Cottrell, Web Developer 
The Children's Medical Center 
One Children's Plaza 
Dayton, OH 45404 
937-641-4293 
http://www.childrensdayton.org 


[EMAIL PROTECTED] 




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



iPlanet CF Page Caching Problem

2003-07-15 Thread Tim Haak
Hello All,

We recently ran into a problem with ColdFusion loading the wrong CFM pages for 
different virtual servers hosted from the same machine.

The virtual servers are running on the same iPlanet 6.0 SP4 server.  All are using 
ColdFusion MX Enterprise (version 6,0,0,52311) on UNIX (Solaris 8).  We developed a 
web application which will be hosted from multiple virtual servers on the same box.  
All CFM page filenames are the same within the virtual severs and the code is 
identical (except a few changes in the Application.cfm for each).  Site #1 is located 
in:  /local/web/site1/ and site #2 is located in:  /local/web/site2/.

The index.cfm page for site #1 appears fine in the browser however when index.cfm 
for site #2 is loaded, the CF debugging information shows that all the CF pages (and 
those included from within index.cfm) were loaded from site #1's web root directory 
(instead of site #2's directory).  If I restart ColdFusion and bring up index.cfm 
for site #2, it loads fine.  Then, index.cfm on site #1 displays the CF pages for 
site #2 instead.

I think the problem is with CF's page caching but haven't been able to remedy it.  Any 
ideas you can provide would be greatly appreciated.

Thanks,


Tim Haak
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: easy cfc question :)

2003-07-15 Thread Mike Townend
What happens if you use CreateObject() instead of Invoke ?



-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 15:11
To: CF-Talk
Subject: RE: easy cfc question :)


nope, just one domain, my devbox...testbed really anyway...but will try
tonight ;)

thanks gents.

but whats the thought process here anyway?  I can take the cfinvoke stuff
off, and things are fine...its the cfc stuff that's buggin this out...

right?

tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 10:08 AM
To: CF-Talk
Subject: Re: easy cfc question :)


On Tuesday 15 Jul 2003 15:05 pm, Dave Watts wrote:
 At your command prompt, type telnet server_ip 80. Then, at the
 telnet prompt, type GET /directory/page.cfm HTTP/1.0 followed by two

 carriage returns.

And hope it isn't doing name based virtual hosting :-)

-- 
Thomas C
Advanced ColdFusion Programmer

HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically Charged 
Particles Moving at Velocities in Excess of Five Hundred Million Miles Per 
Hour.
PLEASE ALSO NOTE: I don't speak for the company that sent this.



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: LDAP Monitoring Utility/Tool/CF Script

2003-07-15 Thread Michael C. Jackson
Well, aside from just checking the port, I'm sure it would be ideal to
see if searches are actually working.  I see a couple of different ways
to do this (and this is assuming ColdFusion MX):

The ideal way to do it would be to simply use CFLDAP, and query an
object periodically that you know will be there.

Otherwise, find some sort of JDBC driver that can handle LDAP.  The
openldap project has a bridge available that will do this, I believe.
At that point, you just have it run a search periodically.

If you can't do that, I'm sure you can use SNMP - somehow.

If you can't do that, then grab one of the LDAP command tools, like
ldapsearch, and call that via a CFEXECUTE periodically, and parse the
output for what you are expecting.

Pretty? Not really... But it is functional.

I'd be surprised if Nagios didn't have some sort of LDAP monitoring
built in.

Michael Jackson
Systems Engineer
[EMAIL PROTECTED]
http://www.cfxhosting.com/

-Original Message-
From: jon hall [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 09:50 AM
To: CF-Talk
Subject: Re: LDAP Monitoring Utility/Tool/CF Script


Surely this feature-rich monitoring tool lets you monitor ports 389
and 636 on your LDAP server?

Tuesday, July 15, 2003, 8:49:59 AM, you wrote:
AC Hi,
AC I'm searching for a free LDAP monitoring utility/tool
AC or atleast a script. Basically I want to have an
AC update of the LDAP Server at all times. The
AC utility/script should alert me when something goes
AC wrong (service stops/fails). I am using Nagios. Nagios
AC is a feature-rich network monitoring package. It can
AC also be configured to send alerts and perform other
AC actions when problems are detected.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Flash player

2003-07-15 Thread Michael C. Jackson
I'm not familiar with any intranet thing for flash - but from what I
understand, this is typically a feature of the browser.  If you tweak
around the settings so that IE (I'm assuming you are using IE) sees the
intranet as a trusted zone, you may be able to get by with doing it
silently.

Michael Jackson
Systems Engineer
[EMAIL PROTECTED]
http://www.cfxhosting.com/

-Original Message-
From: Candace Cottrell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 09:51 AM
To: CF-Talk
Subject: OT: Flash player


How can I run a silent install of the flash player for intranets? My
boss doesn't want the users to be prompted, ratherit just silently
install.
 
I know I did this last year sometime, but I am forgetting how I did it.
Also, we have the license for the intranet thing...
 
I looked on the mm site, but found nothing about a silent install.
 
Candace K. Cottrell, Web Developer 
The Children's Medical Center 
One Children's Plaza 
Dayton, OH 45404 
937-641-4293 
http://www.childrensdayton.org
 
 
[EMAIL PROTECTED]


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: easy cfc question :)

2003-07-15 Thread Tony Weeg
don't know?  don't know how to use createObject()

:) tony

tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 10:45 AM
To: CF-Talk
Subject: RE: easy cfc question :)


What happens if you use CreateObject() instead of Invoke ?



-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 15:11
To: CF-Talk
Subject: RE: easy cfc question :)


nope, just one domain, my devbox...testbed really anyway...but will try
tonight ;)

thanks gents.

but whats the thought process here anyway?  I can take the cfinvoke
stuff off, and things are fine...its the cfc stuff that's buggin this
out...

right?

tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 10:08 AM
To: CF-Talk
Subject: Re: easy cfc question :)


On Tuesday 15 Jul 2003 15:05 pm, Dave Watts wrote:
 At your command prompt, type telnet server_ip 80. Then, at the 
 telnet prompt, type GET /directory/page.cfm HTTP/1.0 followed by two

 carriage returns.

And hope it isn't doing name based virtual hosting :-)

-- 
Thomas C
Advanced ColdFusion Programmer

HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically
Charged 
Particles Moving at Velocities in Excess of Five Hundred Million Miles
Per 
Hour.
PLEASE ALSO NOTE: I don't speak for the company that sent this.




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: iPlanet CF Page Caching Problem

2003-07-15 Thread Chris Norloff
We ran into problems like that with iPlanet v4.1 SP5, but it was proxy caching that 
was causing the problem, not iPlanet caching.

Adding this cfheader in Application.cfm solved the problem:

!--- disable proxy cache, allow browser cache ---
cfheader name=cache-control value=private

Chris Norloff

-- Original Message --
From: Tim Haak [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Tue, 15 Jul 2003 10:44:03 -0400

Hello All,

We recently ran into a problem with ColdFusion loading the wrong CFM pages for 
different virtual servers hosted from the same machine.

The virtual servers are running on the same iPlanet 6.0 SP4 server.  All are using 
ColdFusion MX Enterprise (version 6,0,0,52311) on UNIX (Solaris 8).  We developed a 
web application which will be hosted from multiple virtual servers on the same box.  
All CFM page filenames are the same within the virtual severs and the code is 
identical (except a few changes in the Application.cfm for each).  Site #1 is located 
in:  /local/web/site1/ and site #2 is located in:  /local/web/site2/.

The index.cfm page for site #1 appears fine in the browser however when index.cfm 
for site #2 is loaded, the CF debugging information shows that all the CF pages (and 
those included from within index.cfm) were loaded from site #1's web root directory 
(instead of site #2's directory).  If I restart ColdFusion and bring up index.cfm 
for site #2, it loads fine.  Then, index.cfm on site #1 displays the CF pages for 
site #2 instead.

I think the problem is with CF's page caching but haven't been able to remedy it.  
Any ideas you can provide would be greatly appreciated.

Thanks,


Tim Haak

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: iPlanet CF Page Caching Problem

2003-07-15 Thread Dave Watts
 We recently ran into a problem with ColdFusion loading the 
 wrong CFM pages for different virtual servers hosted from the 
 same machine.
 
 The virtual servers are running on the same iPlanet 6.0 SP4 
 server.  All are using ColdFusion MX Enterprise (version 
 6,0,0,52311) on UNIX (Solaris 8).  We developed a web 
 application which will be hosted from multiple virtual 
 servers on the same box.  All CFM page filenames are the same 
 within the virtual severs and the code is identical (except a 
 few changes in the Application.cfm for each).  Site #1 is 
 located in:  /local/web/site1/ and site #2 is located in:  
 /local/web/site2/.
 
 The index.cfm page for site #1 appears fine in the browser 
 however when index.cfm for site #2 is loaded, the CF 
 debugging information shows that all the CF pages (and those 
 included from within index.cfm) were loaded from site #1's 
 web root directory (instead of site #2's directory).  If I 
 restart ColdFusion and bring up index.cfm for site #2, it 
 loads fine.  Then, index.cfm on site #1 displays the CF 
 pages for site #2 instead.
 
 I think the problem is with CF's page caching but haven't 
 been able to remedy it.  Any ideas you can provide would be 
 greatly appreciated.

You probably need to set the cacheRealPath configuration attribute value to
false - this is documented in the CFMX Release Notes, among other places.
Edit \CFusionMX\runtime\servers\default\SERVER-INF\jrun.xml. Within this
file, change the value true to false within this line:

!-- set this to false for multi-hosted sites --
attribute name=cacheRealPathtrue/attribute

This is necessary whenever you run CFMX on multiple virtual web servers.
Unless this setting is changed, CFMX doesn't differentiate between files
with the same name in different virtual servers.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: easy cfc question :)

2003-07-15 Thread Tony Weeg
nevermind, I see...ok, ill try that tonight!

thanks.
tony

tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 10:58 AM
To: CF-Talk
Subject: RE: easy cfc question :)


don't know?  don't know how to use createObject()

:) tony

tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 10:45 AM
To: CF-Talk
Subject: RE: easy cfc question :)


What happens if you use CreateObject() instead of Invoke ?



-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 15:11
To: CF-Talk
Subject: RE: easy cfc question :)


nope, just one domain, my devbox...testbed really anyway...but will try
tonight ;)

thanks gents.

but whats the thought process here anyway?  I can take the cfinvoke
stuff off, and things are fine...its the cfc stuff that's buggin this
out...

right?

tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 10:08 AM
To: CF-Talk
Subject: Re: easy cfc question :)


On Tuesday 15 Jul 2003 15:05 pm, Dave Watts wrote:
 At your command prompt, type telnet server_ip 80. Then, at the
 telnet prompt, type GET /directory/page.cfm HTTP/1.0 followed by two

 carriage returns.

And hope it isn't doing name based virtual hosting :-)

-- 
Thomas C
Advanced ColdFusion Programmer

HANDLE WITH EXTREME CARE: This Email Contains Minute Electrically
Charged 
Particles Moving at Velocities in Excess of Five Hundred Million Miles
Per 
Hour.
PLEASE ALSO NOTE: I don't speak for the company that sent this.





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



iframe form javascript

2003-07-15 Thread Stan Winchester
I made the last changes you suggested and nothing happens. However, I am now getting a 
javascript error: top.mainFrameSet.main.document is null or not an object

I also tried removing the target from my revised version to see if at least the value 
would be passed to the form field, but nothing happened.

 Isaac,

 I've added '#jsstringformat(subDir  name)#' and it still
 is not changing the value in the ImageName form field.
 (The variable name is from a cfdirectory query.)

 a href=viewer.cfm?image=#subDir##name# target=viewer
 onClick=top.mainFrameSet.main.document.frmAddItem.ImageNa
 me.value='#jsstringformat(subDir  name)#';#name#/a

 which returns the following example:

 a href=viewer.cfm?image=shoes/sm_002.jpg
 target=viewer onClick=top.mainFrameSet.main.document.fr
 mAddItem.ImageName.value='shoes/sm_002.jpg';sm_002.jpg/
 a

That's definitely proper syntax for javascript... is it producing a 
javascript error now? You might want to turn on script debugging if 
you're using Internet Explorer to test this.

... 
oh...

target may have some affect on it... I know that if you specify a base 
target for a page, then any javascript on that page IE will attempt to 
process relative to or rather from the target frame... dunno why they 
do that, I think it's stupid personally... Anyway, you might try 
this:

script language=javascript
function getMyImage(iName) {
top.mainFrameSet.main.document.frmAddItem.ImageName.value=iName;
top.mainFrameSet.viewer.location.href='viewer.cfm?image='+iName;
}
/script

a href=javascript:getMyImage('#jsstringformat(subDir  
name)#');#name#/a

hth

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Detecting Parasiteware

2003-07-15 Thread Dave Watts
 Does anyone know if there is a way to detect if a visitors 
 macjine is infected with parasite ware (like whenu) from CF ?

Unless the parasite ware appends HTTP headers to outgoing HTTP client
requests, no. CF is a server-side web application language, and you need to
examine the client itself.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Multi-language Content Management

2003-07-15 Thread Nikhil Madani
I'm trying to do pretty much the same --- and want to know if anyone out there has 
experience with multi language mgmt- especially the pitfalls to be avoided.
The page in question on my site that needs to support 5 languages is primarily images 
and little text. But most of the text is derived from the database (drop-down menu 
content etc) and my idea right now is to put my translations in different columns in 
the same table. Depending on the user's language settings (known from CGI variable 
HTTP_ACCEPT_LANGUAGE)- I could substitute info from the appropriate column- and then 
cache the page.

The shortcoming of this system seems to me to be 
1. Static text (HTML)- I could probably create 5 different HTML code snippets in each 
language and load those the same way.
2. Maintaining translations for each table of concern- Maybe an alternative could be a 
separate table that has english keywords with their translations
and  I could a search on a list/structure of english-to-some-other-language key-value 
pairs. That way I could separate the actual queries from the translation itself.

Any thoughts, criticisms, words of wisdom and/or encouragement welcome

Thanks,
Nik

[EMAIL PROTECTED]
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Smith, Don , CTR , WHS/PSD
Just wanted to thank everyone for giving me their opinion on Jakarta Struts.


Of course when you're dealing with a variety of developers at different
skill levels working for different contractors on different projects it is
enticing to want to slowly move into something like Java instead of jumping.
This is doubly true when only a small fraction of the applications I work on
require high-level coding.  I have not made a final decision, but I'm
leaning away from a published framework after all the research.

Dave Watts and I had been going back and forth on this framework question-
of course he is a huge proponent of Fusebox in all its incarnations- so it
was helpful to get some input from Struts users.

Thanks,

Don

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Includes inside a CFOUTPUT problem...

2003-07-15 Thread Les Mizzell
:: What about 
:: td#prods.some_variable#/td
:: in the includes ?
:: That's better syntax anyway...


Nope, still doesn't do it   

H.


Re:
cfoutput query=prods
 tr
  cfswitch expression=#URL.ID#
cfcase value=100
  cfinclude template=includes/td_1.cfm
  cfinclude template=includes/td_14.cfm
  cfinclude template=includes/td_22.cfm
/cfcase
cfcase value=110
 cfinclude template=includes/td_33.cfm
 cfinclude template=includes/td_34.cfm
 cfinclude template=includes/td_35.cfm
   /cfcase
  /cfswitch
 /tr
/cfoutput 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



regex limit in CF 5

2003-07-15 Thread Michael T. Tangorre
Has anyone gotten around the issue of not being able to run more than 20K through a 
REFindNoCase in Cold Fusion 5?
Basically I upload a word document and want to parse through it for specicif fields.. 
such  %{fieldName}.
At first I was going to access the document via COM but once a friend of mine showed 
me that actually reading the document and parsing it would work, I have not needed to 
use COM.

In CFMX and Red Sky, I have no problems, the size limits on REFindNoCase seem to have 
been addressed.

I guess my only option at this point is to split the document into chunks of 20K or 
less and parse each section, being careful not to split the document in the middle of 
one of the specific fields %{fieldName}.

Has anyone done any sectioning like this? Any pointers?

Thanks.

Mike
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Joe Eugene
 idea but overblown for most web apps. We are now back to CF and using a
 methodology from www.benorama.com It's nice, supports internationalisation

Ben has some really good ideas, a few things i wasnt a big fan of.

1. cfLocation ... in controllers.. which are *.cfc's
  cflocation url=#application.virtualPaths.APPROOT# addtoken=no

  HTTP redirection for application flow seems like Go To's to me.

2. CFC Calls within view pages.

I Personally think controller should handle all data calls and this shouldnt
be within any View pages.. The Only Job of a View is to Display
Information/Data.

Joe Eugene


- Original Message - 
From: Jordan Thomas [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 5:38 AM
Subject: RE: Anyone using Jakarta Struts for cfmx?


 Hi,

 We were using struts as a development methodology/framework. Really cool
 idea but overblown for most web apps. We are now back to CF and using a
 methodology from www.benorama.com It's nice, supports
internationalisation,
 MVC, n-tier and it's a lot simpler than Struts which means that it's quick
 to develop with. True, it doesn't have the validator but we found that to
be
 a little rigid straight out of the box. The workflow stuff was a little
 lame too. CF is far nicer to work with.

 my 2 cents anyway

 Jordan

 -Original Message-
 From: Smith, Don , CTR , WHS/PSD [mailto:[EMAIL PROTECTED]
 Sent: Monday, 14 July 2003 9:50 PM
 To: CF-Talk
 Subject: Anyone using Jakarta Struts for cfmx?


 Is anyone using Jakarta Struts for CFMX and can they comment toward its
use?

 I am looking for a published development framework that would be flexible
 enough for development in, plus allow our team to investigate new
 technologies outside of CFMX -I like what I read of Struts' integration of
 Java technology but I haven't implemented it yet.

 I'm working with some staff for whom integration of existing Java
libraries
 would be a stretch and others who could handle it easily, but it would
 require ramp-up time and
 education.

 I am hoping to find a framework that would allow me to point new
developers
 to existing materials so I would not have to write up an entire code like
I
 do book.  I am also hoping that it would add something on top of CFMX and
 not merely reorganize CFMX without adding anything.

 How was your:
 Ease of development and organization
 Integration with Java for non-Java programmers
 Success rate in getting users to adapt

 THANKS!

 Don


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Includes inside a CFOUTPUT problem...

2003-07-15 Thread A.Little
I don;t think the cfoutput is inherited by the cfinclude templates from
the calling template, so you'll need to put cfoutput in each of the
include templates where you want to output a variable.

Don't ask me why it works like this - I have no idea ;-)

Alex


 -Original Message-
 From: Les Mizzell [mailto:[EMAIL PROTECTED]
 Sent: 15 July 2003 16:38
 To: CF-Talk
 Subject: RE: Includes inside a CFOUTPUT problem...
 
 
 :: What about 
 :: td#prods.some_variable#/td
 :: in the includes ?
 :: That's better syntax anyway...
 
 
 Nope, still doesn't do it 
 
 H.
 
 
 Re:
 cfoutput query=prods
  tr
   cfswitch expression=#URL.ID#
 cfcase value=100
   cfinclude template=includes/td_1.cfm
   cfinclude template=includes/td_14.cfm
   cfinclude template=includes/td_22.cfm
 /cfcase
 cfcase value=110
  cfinclude template=includes/td_33.cfm
  cfinclude template=includes/td_34.cfm
  cfinclude template=includes/td_35.cfm
/cfcase
   /cfswitch
  /tr
 /cfoutput   
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Ken Wilson
Dave Watts and I had been going back and forth on this
framework question- of course he is a huge proponent of
Fusebox in all its incarnations- 



Holy cow...was that the earth moving under my feet?!?! Did you say Dave
Watts was a huge proponent of Fusebox?  :)

Since when?

Ken

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: regex limit in CF 5

2003-07-15 Thread Ben Doom
I generally do something like the following:

find in the first 19k

If one is found, remember where it is (or process or whatever) and find
starting immediately after

Else, find starting at about 18k or so (overlap bigger than max size of
thing I'm looking for)

repeat until the whole document has been searched.

HTH


--  Ben Doom
Programmer  General Lackey
Moonbow Software, Inc

: -Original Message-
: From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 11:45 AM
: To: CF-Talk
: Subject: regex limit in CF 5
:
:
: Has anyone gotten around the issue of not being able to run more
: than 20K through a REFindNoCase in Cold Fusion 5?
: Basically I upload a word document and want to parse through it
: for specicif fields.. such  %{fieldName}.
: At first I was going to access the document via COM but once a
: friend of mine showed me that actually reading the document and
: parsing it would work, I have not needed to use COM.
:
: In CFMX and Red Sky, I have no problems, the size limits on
: REFindNoCase seem to have been addressed.
:
: I guess my only option at this point is to split the document
: into chunks of 20K or less and parse each section, being careful
: not to split the document in the middle of one of the specific
: fields %{fieldName}.
:
: Has anyone done any sectioning like this? Any pointers?
:
: Thanks.
:
: Mike
: 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Kola Oyedeji
 
 Dave Watts and I had been going back and forth on this
 framework question- of course he is a huge proponent of
 Fusebox in all its incarnations-
 
 
 
 Holy cow...was that the earth moving under my feet?!?! Did you say
Dave
 Watts was a huge proponent of Fusebox?  :)
 
 Since when?
 
 Ken

Perhaps a closet fuseboxer? *LOL*

Kola
 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: I need some good old advice.

2003-07-15 Thread James Blaha
Jim,

Thanks for the reply. I'm not sure I totally follow you. Are you saying 
to just do a normal cache with a timeout on the main query and place the 
updates and deletes on the cached query?

At what point do I update the actual database table affected?

Regards,
JB


Jim Davis wrote:

Sorry - not much time but...

If the updates and deletes are simplistic (and rare as you say) you _might_
want to not redo the whole main query, but rather update it as well.

Remember that you can modify any query in memory using all the variable
manipulation tools at your disposal.

That way you get the updated data in your query but don't incur the refresh
time (or at least as much of it).

The main query will still be rerun on it's scheduled out-of-cache time.  So
periodically you'd get the real thing.

Jim Davis

  

-Original Message-
From: James Blaha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 10:10 AM
To: CF-Talk
Subject: I need some good old advice.

All:

I need some good old advice. I'm redesigning an application to utilize
query caching and the use of Query of Query to speed it up some. So I'm
caching one large query and running the application templates using Q0Q.
Any time there that there is an insert, update or deletion from the
database I'm going to un cache the main query. The QoQ's will always
have correct data as changes happen which shouldn't be all that often.

My question is when I perform a SQL insert, update or delete is there a
way to call and run a query but not have that query add to the execution
time of the template. For example maybe and idea is calling a scheduled
job to run the query.

Regards,
James Blaha






~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Includes inside a CFOUTPUT problem...

2003-07-15 Thread Les Mizzell
:: I don;t think the cfoutput is inherited by the cfinclude
:: templates from
:: the calling template, so you'll need to put cfoutput in each of the
:: include templates where you want to output a variable.

This will take some head scratching to get to work. Each include is a single
td.  Basically, I'm building a table in my switch statement. So, it's
still got to loop through all the records and properly build the table.
Different results will result in a completely different table.

Jezz, I may have painted myself into a corner at this point if there's no
good way to get it to work.

Ideas???




:: -Original Message-
:: From: A.Little [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, July 15, 2003 11:49 AM
:: To: CF-Talk
:: Subject: RE: Includes inside a CFOUTPUT problem...
::
::

::
:: Don't ask me why it works like this - I have no idea ;-)
::
:: Alex
::
::
::  -Original Message-
::  From: Les Mizzell [mailto:[EMAIL PROTECTED]
::  Sent: 15 July 2003 16:38
::  To: CF-Talk
::  Subject: RE: Includes inside a CFOUTPUT problem...
:: 
:: 
::  :: What about
::  :: td#prods.some_variable#/td
::  :: in the includes ?
::  :: That's better syntax anyway...
:: 
:: 
::  Nope, still doesn't do it
:: 
::  H.
:: 
:: 
::  Re:
::  cfoutput query=prods
::   tr
::cfswitch expression=#URL.ID#
::  cfcase value=100
::cfinclude template=includes/td_1.cfm
::cfinclude template=includes/td_14.cfm
::cfinclude template=includes/td_22.cfm
::  /cfcase
::  cfcase value=110
::   cfinclude template=includes/td_33.cfm
::   cfinclude template=includes/td_34.cfm
::   cfinclude template=includes/td_35.cfm
:: /cfcase
::/cfswitch
::   /tr
::  /cfoutput
:: 
:: 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: regex limit in CF 5

2003-07-15 Thread Michael T. Tangorre
What do you recommend to break it apart? I thought the functions in CF
worked on size as it relates to characters


- Original Message - 
From: Ben Doom [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 11:56 AM
Subject: RE: regex limit in CF 5


 I generally do something like the following:

 find in the first 19k

 If one is found, remember where it is (or process or whatever) and find
 starting immediately after

 Else, find starting at about 18k or so (overlap bigger than max size of
 thing I'm looking for)

 repeat until the whole document has been searched.

 HTH


 --  Ben Doom
 Programmer  General Lackey
 Moonbow Software, Inc

 : -Original Message-
 : From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
 : Sent: Tuesday, July 15, 2003 11:45 AM
 : To: CF-Talk
 : Subject: regex limit in CF 5
 :
 :
 : Has anyone gotten around the issue of not being able to run more
 : than 20K through a REFindNoCase in Cold Fusion 5?
 : Basically I upload a word document and want to parse through it
 : for specicif fields.. such  %{fieldName}.
 : At first I was going to access the document via COM but once a
 : friend of mine showed me that actually reading the document and
 : parsing it would work, I have not needed to use COM.
 :
 : In CFMX and Red Sky, I have no problems, the size limits on
 : REFindNoCase seem to have been addressed.
 :
 : I guess my only option at this point is to split the document
 : into chunks of 20K or less and parse each section, being careful
 : not to split the document in the middle of one of the specific
 : fields %{fieldName}.
 :
 : Has anyone done any sectioning like this? Any pointers?
 :
 : Thanks.
 :
 : Mike
 :
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Marlon Moyer
OMG, he's been outed!

Marlon


Ken Wilson wrote:

Dave Watts and I had been going back and forth on this
framework question- of course he is a huge proponent of
Fusebox in all its incarnations- 





Holy cow...was that the earth moving under my feet?!?! Did you say Dave
Watts was a huge proponent of Fusebox?  :)

Since when?

Ken


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread John Paul Ashenfelter
 Interesting... looks a lot like Mach II (nee Fusebox MX). See
 http://www.mach-ii.com/



Most good developers tend towards the same small set of generalized
solutions to a given problem -- algorithms for math, design patterns for OO,
etc. Doesn't surprise me at all :) Not to mention that since Struts is out
there, folks can dissect it and get rid of some of the annoying parts. Now
we just need a ColdFusion framework that derives from Tapestry...

Regards,

John Paul Ashenfelter
CTO/TransitionPoint


 On Monday, Jul 14, 2003, at 15:01 US/Pacific, Joe Eugene wrote:

  I have used alot of Concepts from Jakarta Structs as MVC for recent
  application.
  It worked very well, with a very high level of code management.
  Begining
  with
  file structure
 
  index.cfm is the only exposed page of the applicaiton.
  application.xml for application level control/instantiation
 
  system/model/data -- contains data objects
  system/model/logic -- logic controls
  system/model/validator -- validation controls for forms etc
 
  system/controller -- controller files
  system/view -- all view sub-components or pages.
 
  controller.xml for flow control and method execution mappings..
  similar to
  whats
  done in Jakarta Struts except ...*.cfc used here. All method mappings
  are
  executed
  dynamically and variables in the xml mapping get the result or set
  values in
  variables scope. View Components do NOT touch high level scope
  variables
  like
  client/session/application.
 
  I have been quite happy with the Model.. Once the model is written..
  all you
  do is
  write your data layer methods and view pages.. and you are done.. The
  controller does
  the rest of the job.
 
  Ease of development and organization
  Heavy resistance from other CF Developers at first.. but then some
  started
  to realize
  the benefits... Others are hung on the Fusebox 3 Case Style.
 
  If you are really excited about developing some class applications and
  tight
  coding... it becomes very hard
  to work with developers who arent looking to improve.. but just get the
  project done...
 
  Joe Eugene
 
  - Original Message -
  From: Smith, Don , CTR , WHS/PSD [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Monday, July 14, 2003 3:50 PM
  Subject: Anyone using Jakarta Struts for cfmx?
 
 
  Is anyone using Jakarta Struts for CFMX and can they comment toward
  its
  use?
 
  I am looking for a published development framework that would be
  flexible
  enough for development in, plus allow our team to investigate new
  technologies outside of CFMX -I like what I read of Struts'
  integration of
  Java technology but I haven't implemented it yet.
 
  I'm working with some staff for whom integration of existing Java
  libraries
  would be a stretch and others who could handle it easily, but it would
  require ramp-up time and
  education.
 
  I am hoping to find a framework that would allow me to point new
  developers
  to existing materials so I would not have to write up an entire code
  like
  I
  do book.  I am also hoping that it would add something on top of
  CFMX and
  not merely reorganize CFMX without adding anything.
 
  How was your:
  Ease of development and organization
  Integration with Java for non-Java programmers
  Success rate in getting users to adapt
 
  THANKS!
 
  Don
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Andre Turrettini
Hi Joe, That sounds really interesting. Any way I can convince you to make a
mini example that I could look at.  

DRE

 -Original Message-
 From: Joe Eugene [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 14, 2003 4:01 PM
 To: CF-Talk
 Subject: Re: Anyone using Jakarta Struts for cfmx?
 
 
 I have used alot of Concepts from Jakarta Structs as MVC for 
 recent application. It worked very well, with a very high 
 level of code management. Begining with file structure
 
 index.cfm is the only exposed page of the applicaiton. 
 application.xml for application level control/instantiation
 
 system/model/data -- contains data objects
 system/model/logic -- logic controls
 system/model/validator -- validation controls for forms etc
 
 system/controller -- controller files
 system/view -- all view sub-components or pages.
 
 controller.xml for flow control and method execution 
 mappings.. similar to whats done in Jakarta Struts except 
 ...*.cfc used here. All method mappings are executed 
 dynamically and variables in the xml mapping get the result 
 or set values in variables scope. View Components do NOT 
 touch high level scope variables like client/session/application.
 
 I have been quite happy with the Model.. Once the model is 
 written.. all you do is write your data layer methods and 
 view pages.. and you are done.. The controller does the rest 
 of the job.
 
  Ease of development and organization
 Heavy resistance from other CF Developers at first.. but then 
 some started to realize the benefits... Others are hung on 
 the Fusebox 3 Case Style.
 
 If you are really excited about developing some class 
 applications and tight coding... it becomes very hard to work 
 with developers who arent looking to improve.. but just get 
 the project done...
 
 Joe Eugene
 
 - Original Message - 
 From: Smith, Don , CTR , WHS/PSD [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Monday, July 14, 2003 3:50 PM
 Subject: Anyone using Jakarta Struts for cfmx?
 
 
  Is anyone using Jakarta Struts for CFMX and can they comment toward 
  its
 use?
 
  I am looking for a published development framework that would be 
  flexible enough for development in, plus allow our team to 
 investigate 
  new technologies outside of CFMX -I like what I read of Struts' 
  integration of Java technology but I haven't implemented it yet.
 
  I'm working with some staff for whom integration of existing Java
 libraries
  would be a stretch and others who could handle it easily, 
 but it would 
  require ramp-up time and education.
 
  I am hoping to find a framework that would allow me to point new
 developers
  to existing materials so I would not have to write up an 
 entire code 
  like
 I
  do book.  I am also hoping that it would add something on 
 top of CFMX 
  and not merely reorganize CFMX without adding anything.
 
  How was your:
  Ease of development and organization
  Integration with Java for non-Java programmers
  Success rate in getting users to adapt
 
  THANKS!
 
  Don
 
  
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Flash player

2003-07-15 Thread Mike Chambers
You might be able to find some info here:
http://www.macromedia.com/support/shockwave/info/licensing/faq.html

I don't see any reference to silent installs though. I am pretty sure that
you cannot do a silent install via the web browser.

mike chambers

[EMAIL PROTECTED]


- Original Message - 
From: Candace Cottrell [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 9:51 AM
Subject: OT: Flash player


 How can I run a silent install of the flash player for intranets? My
 boss doesn't want the users to be prompted, ratherit just silently
 install.

 I know I did this last year sometime, but I am forgetting how I did it.
 Also, we have the license for the intranet thing...

 I looked on the mm site, but found nothing about a silent install.

 Candace K. Cottrell, Web Developer
 The Children's Medical Center
 One Children's Plaza
 Dayton, OH 45404
 937-641-4293
 http://www.childrensdayton.org


 [EMAIL PROTECTED]

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Sean A Corfield
On Monday, Jul 14, 2003, at 20:37 US/Pacific, Joe Eugene wrote:
 Interesting.. didnt know Hal Helms and group were working on another
 Framework Project.

They've just about finished Fusebox 4 (an evolution from Fusebox 3 but 
a fairly radical one in my opinion) and Mach II is now in beta - note 
that the primary architect of Mach II is Ben Edwards. His connection to 
Fusebox is that he created the J2EE version of Fusebox 3.

 Interesting... looks a lot like Mach II (nee Fusebox MX).
 I havent looked deep into Fusebox MX, its still in beta. Honestly,
 didnt quite understand the whole idea of Circuits/Parsed files etc.

You're confusing Mach II with Fusebox 4. Mach II doesn't have circuits 
or parsed files. Mach II is an MVC-based framework driven by an 
implicit invocation architecture - using events and listeners. Fusebox 
4 OTOH perpetuates fuseactions, fuses, circuits etc. That's why Fusebox 
MX got renamed to Mach II - there was really no similarity to earlier 
Fusebox frameworks.

 I would rather just use a base Controller/Parser and multiple
 Controller helpers.. alot like Jakarta Struts.. Minus some of
 the Complexity in Struts.

You should look at Mach II. It's less complex than Struts and it's a 
nice clean CF implementation of MVC.

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: SOT: FeedDemon by Nick Bradbury

2003-07-15 Thread Sean A Corfield
On Monday, Jul 14, 2003, at 21:54 US/Pacific, Tilbrook, Peter wrote:
 It's called FeedDemon and, despite still being a beta product, is an 
 easy
 to use RSS news aggregator.

Note that it's Windows-only so those of us on Macs will want to look at 
NetNewsWire which has both a free and a commercial version (the latter 
provides blog authoring and other useful tools, although I survive with 
the free version myself).

http://www.ranchero.com/

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Sean A Corfield
On Monday, Jul 14, 2003, at 21:40 US/Pacific, Kwang Suh wrote:
 Mach II == Fusebox MX.

Not entirely. Fusebox MX still had circuits and fuseactions - it was 
halfway house between the procedural Fusebox of old and the shiny new 
OO MVC behind Mach II. They really are quite different beasts (even if 
Mach II grew out of Fusebox MX).

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: FireFly vs DRK

2003-07-15 Thread Christian Cantrell
On Monday, July 14, 2003, at 04:20 PM, Ryan Mitchell wrote:

 Christian... When will firefly (Flash MX DCK) be available on Mac OSX??
 The tech specs list only pc compatability... !!

I don't know of any plans to create a Mac installer.  I think it's 
possible to get it working just fine on OS X, however, if you are 
willing to install the components by hand.  I have not tried it myself, 
but I have heard of people getting it to work without too much trouble. 
  Anyone have any experience with this?

Christian

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Mach II

2003-07-15 Thread webguy
My first look at MachII; 

Does the data in example machII app, persist data ? 
Is there are readme ?



WG


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Paul Hastings
 You should look at Mach II. It's less complex than Struts and it's a 
 nice clean CF implementation of MVC.

how does it compare with benorama's MVC?

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



(Admin) Removal

2003-07-15 Thread Michael Dinowitz
Anyone using software like Spamkilla and the like that continuously floods
the list with requests to be authorized will be removed from the list until
the software is configured properly.
Thank you

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: regex limit in CF 5

2003-07-15 Thread Ben Doom
refind(pattern, left(string, 19000))
refind(pattern, mid(string, 18000, 19000))
etc.

:-)


--  Ben Doom
Programmer  General Lackey
Moonbow Software, Inc

: -Original Message-
: From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 12:07 PM
: To: CF-Talk
: Subject: Re: regex limit in CF 5
:
:
: What do you recommend to break it apart? I thought the functions in CF
: worked on size as it relates to characters
:
:
: - Original Message -
: From: Ben Doom [EMAIL PROTECTED]
: To: CF-Talk [EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 11:56 AM
: Subject: RE: regex limit in CF 5
:
:
:  I generally do something like the following:
: 
:  find in the first 19k
: 
:  If one is found, remember where it is (or process or whatever) and find
:  starting immediately after
: 
:  Else, find starting at about 18k or so (overlap bigger than max size of
:  thing I'm looking for)
: 
:  repeat until the whole document has been searched.
: 
:  HTH
: 
: 
:  --  Ben Doom
:  Programmer  General Lackey
:  Moonbow Software, Inc
: 
:  : -Original Message-
:  : From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
:  : Sent: Tuesday, July 15, 2003 11:45 AM
:  : To: CF-Talk
:  : Subject: regex limit in CF 5
:  :
:  :
:  : Has anyone gotten around the issue of not being able to run more
:  : than 20K through a REFindNoCase in Cold Fusion 5?
:  : Basically I upload a word document and want to parse through it
:  : for specicif fields.. such  %{fieldName}.
:  : At first I was going to access the document via COM but once a
:  : friend of mine showed me that actually reading the document and
:  : parsing it would work, I have not needed to use COM.
:  :
:  : In CFMX and Red Sky, I have no problems, the size limits on
:  : REFindNoCase seem to have been addressed.
:  :
:  : I guess my only option at this point is to split the document
:  : into chunks of 20K or less and parse each section, being careful
:  : not to split the document in the middle of one of the specific
:  : fields %{fieldName}.
:  :
:  : Has anyone done any sectioning like this? Any pointers?
:  :
:  : Thanks.
:  :
:  : Mike
:  :
: 
: 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: (Admin) Removal

2003-07-15 Thread Raymond Camden
Thank you! Thank you! And once more... THANK YOU!

-Ray

 -Original Message-
 From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, July 15, 2003 10:59 AM
 To: CF-Talk
 Subject: (Admin) Removal
 
 
 Anyone using software like Spamkilla and the like that 
 continuously floods the list with requests to be authorized 
 will be removed from the list until the software is 
 configured properly. Thank you
 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: I need some good old advice.

2003-07-15 Thread Ben Doom
If I understood correctly, he's saying that if you're caching the query in a
shared location (ie application scope) you could run updates on the cached
query at the same time that you run them on the DB.

I'd have to check to see if it would work, but I don't see why not.


--  Ben Doom
Programmer  General Lackey
Moonbow Software, Inc

: -Original Message-
: From: James Blaha [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 12:04 PM
: To: CF-Talk
: Subject: Re: I need some good old advice.
:
:
: Jim,
:
: Thanks for the reply. I'm not sure I totally follow you. Are you saying
: to just do a normal cache with a timeout on the main query and place the
: updates and deletes on the cached query?
:
: At what point do I update the actual database table affected?
:
: Regards,
: JB
:
:
: Jim Davis wrote:
:
: Sorry - not much time but...
: 
: If the updates and deletes are simplistic (and rare as you say)
: you _might_
: want to not redo the whole main query, but rather update it as well.
: 
: Remember that you can modify any query in memory using all the variable
: manipulation tools at your disposal.
: 
: That way you get the updated data in your query but don't incur
: the refresh
: time (or at least as much of it).
: 
: The main query will still be rerun on it's scheduled
: out-of-cache time.  So
: periodically you'd get the real thing.
: 
: Jim Davis
: 
: 
: 
: -Original Message-
: From: James Blaha [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 10:10 AM
: To: CF-Talk
: Subject: I need some good old advice.
: 
: All:
: 
: I need some good old advice. I'm redesigning an application to utilize
: query caching and the use of Query of Query to speed it up some. So I'm
: caching one large query and running the application templates using Q0Q.
: Any time there that there is an insert, update or deletion from the
: database I'm going to un cache the main query. The QoQ's will always
: have correct data as changes happen which shouldn't be all that often.
: 
: My question is when I perform a SQL insert, update or delete is there a
: way to call and run a query but not have that query add to the execution
: time of the template. For example maybe and idea is calling a scheduled
: job to run the query.
: 
: Regards,
: James Blaha
: 
: 
: 
: 
: 
: 
: 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Includes inside a CFOUTPUT problem...

2003-07-15 Thread Ben Doom
I'd just replace the includes with their contents.  Not as elegant, I guess,
but sometimes you just do what works.


--  Ben Doom
Programmer  General Lackey
Moonbow Software, Inc

: -Original Message-
: From: Les Mizzell [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 11:59 AM
: To: CF-Talk
: Subject: RE: Includes inside a CFOUTPUT problem...
:
:
: :: I don;t think the cfoutput is inherited by the cfinclude
: :: templates from
: :: the calling template, so you'll need to put cfoutput in each of the
: :: include templates where you want to output a variable.
:
: This will take some head scratching to get to work. Each include
: is a single
: td.  Basically, I'm building a table in my switch statement. So, it's
: still got to loop through all the records and properly build the table.
: Different results will result in a completely different table.
:
: Jezz, I may have painted myself into a corner at this point if there's no
: good way to get it to work.
:
: Ideas???
:
:
:
:
: :: -Original Message-
: :: From: A.Little [mailto:[EMAIL PROTECTED]
: :: Sent: Tuesday, July 15, 2003 11:49 AM
: :: To: CF-Talk
: :: Subject: RE: Includes inside a CFOUTPUT problem...
: ::
: ::
:
: ::
: :: Don't ask me why it works like this - I have no idea ;-)
: ::
: :: Alex
: ::
: ::
: ::  -Original Message-
: ::  From: Les Mizzell [mailto:[EMAIL PROTECTED]
: ::  Sent: 15 July 2003 16:38
: ::  To: CF-Talk
: ::  Subject: RE: Includes inside a CFOUTPUT problem...
: :: 
: :: 
: ::  :: What about
: ::  :: td#prods.some_variable#/td
: ::  :: in the includes ?
: ::  :: That's better syntax anyway...
: :: 
: :: 
: ::  Nope, still doesn't do it
: :: 
: ::  H.
: :: 
: :: 
: ::  Re:
: ::  cfoutput query=prods
: ::   tr
: ::cfswitch expression=#URL.ID#
: ::  cfcase value=100
: ::cfinclude template=includes/td_1.cfm
: ::cfinclude template=includes/td_14.cfm
: ::cfinclude template=includes/td_22.cfm
: ::  /cfcase
: ::  cfcase value=110
: ::   cfinclude template=includes/td_33.cfm
: ::   cfinclude template=includes/td_34.cfm
: ::   cfinclude template=includes/td_35.cfm
: :: /cfcase
: ::/cfswitch
: ::   /tr
: ::  /cfoutput
: :: 
: ::
: 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: regex limit in CF 5

2003-07-15 Thread Michael T. Tangorre
doph!
I am not the MOTO I thought I was.  :-)

Thanks

Mike



- Original Message - 
From: Ben Doom [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 12:52 PM
Subject: RE: regex limit in CF 5


 refind(pattern, left(string, 19000))
 refind(pattern, mid(string, 18000, 19000))
 etc.

 :-)


 --  Ben Doom
 Programmer  General Lackey
 Moonbow Software, Inc

 : -Original Message-
 : From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
 : Sent: Tuesday, July 15, 2003 12:07 PM
 : To: CF-Talk
 : Subject: Re: regex limit in CF 5
 :
 :
 : What do you recommend to break it apart? I thought the functions in CF
 : worked on size as it relates to characters
 :
 :
 : - Original Message -
 : From: Ben Doom [EMAIL PROTECTED]
 : To: CF-Talk [EMAIL PROTECTED]
 : Sent: Tuesday, July 15, 2003 11:56 AM
 : Subject: RE: regex limit in CF 5
 :
 :
 :  I generally do something like the following:
 : 
 :  find in the first 19k
 : 
 :  If one is found, remember where it is (or process or whatever) and
find
 :  starting immediately after
 : 
 :  Else, find starting at about 18k or so (overlap bigger than max size
of
 :  thing I'm looking for)
 : 
 :  repeat until the whole document has been searched.
 : 
 :  HTH
 : 
 : 
 :  --  Ben Doom
 :  Programmer  General Lackey
 :  Moonbow Software, Inc
 : 
 :  : -Original Message-
 :  : From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
 :  : Sent: Tuesday, July 15, 2003 11:45 AM
 :  : To: CF-Talk
 :  : Subject: regex limit in CF 5
 :  :
 :  :
 :  : Has anyone gotten around the issue of not being able to run more
 :  : than 20K through a REFindNoCase in Cold Fusion 5?
 :  : Basically I upload a word document and want to parse through it
 :  : for specicif fields.. such  %{fieldName}.
 :  : At first I was going to access the document via COM but once a
 :  : friend of mine showed me that actually reading the document and
 :  : parsing it would work, I have not needed to use COM.
 :  :
 :  : In CFMX and Red Sky, I have no problems, the size limits on
 :  : REFindNoCase seem to have been addressed.
 :  :
 :  : I guess my only option at this point is to split the document
 :  : into chunks of 20K or less and parse each section, being careful
 :  : not to split the document in the middle of one of the specific
 :  : fields %{fieldName}.
 :  :
 :  : Has anyone done any sectioning like this? Any pointers?
 :  :
 :  : Thanks.
 :  :
 :  : Mike
 :  :
 : 
 :
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: I need some good old advice.

2003-07-15 Thread James Blaha
Ben,

Thanks for the information. It looks like my best bet right now is to 
update, modify and delete through a normal CFQUERY then after that query 
call the un cacheing and cache query through a cfschedule tag. This 
looks like it might work very well..

Regards,

JB

 

 



Ben Doom wrote:

If I understood correctly, he's saying that if you're caching the query in a
shared location (ie application scope) you could run updates on the cached
query at the same time that you run them on the DB.

I'd have to check to see if it would work, but I don't see why not.


--  Ben Doom
Programmer  General Lackey
Moonbow Software, Inc

: -Original Message-
: From: James Blaha [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 12:04 PM
: To: CF-Talk
: Subject: Re: I need some good old advice.
:
:
: Jim,
:
: Thanks for the reply. I'm not sure I totally follow you. Are you saying
: to just do a normal cache with a timeout on the main query and place the
: updates and deletes on the cached query?
:
: At what point do I update the actual database table affected?
:
: Regards,
: JB
:
:
: Jim Davis wrote:
:
: Sorry - not much time but...
: 
: If the updates and deletes are simplistic (and rare as you say)
: you _might_
: want to not redo the whole main query, but rather update it as well.
: 
: Remember that you can modify any query in memory using all the variable
: manipulation tools at your disposal.
: 
: That way you get the updated data in your query but don't incur
: the refresh
: time (or at least as much of it).
: 
: The main query will still be rerun on it's scheduled
: out-of-cache time.  So
: periodically you'd get the real thing.
: 
: Jim Davis
: 
: 
: 
: -Original Message-
: From: James Blaha [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 10:10 AM
: To: CF-Talk
: Subject: I need some good old advice.
: 
: All:
: 
: I need some good old advice. I'm redesigning an application to utilize
: query caching and the use of Query of Query to speed it up some. So I'm
: caching one large query and running the application templates using Q0Q.
: Any time there that there is an insert, update or deletion from the
: database I'm going to un cache the main query. The QoQ's will always
: have correct data as changes happen which shouldn't be all that often.
: 
: My question is when I perform a SQL insert, update or delete is there a
: way to call and run a query but not have that query add to the execution
: time of the template. For example maybe and idea is calling a scheduled
: job to run the query.
: 
: Regards,
: James Blaha
: 
: 
: 
: 
: 
: 
: 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: (OT) RegEx editor

2003-07-15 Thread Michael Dinowitz
I think that this is a rather cool idea and would be willing to work with
people to build it (as soon as my computer is back up). On the other hand, I
highly doubt Macromedia will swoop down and incorporate it into something
like Dreamweaver. It would have to be done by one of us.

Lets move this to the CF-RegEx list and discuss the steps needed to build
such an interrogator. I think that it can be done rather quickly once the
basic question logic is written up.

 The idea of an interigator that asks questions and allows for answers is
excellent. I would be more than happy to contribute more money if necessary
to the creation of this type of functionality in the current app.

 Besides saving time for all of us regEx Dummies, there's a chance that it
might get bought up and/or incorporated into future apps by Macromedia.

 Just a thought...
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Includes inside a CFOUTPUT problem...

2003-07-15 Thread Les Mizzell
Yep, that's what I was getting ready to do

Bummer, huh?

:: -Original Message-
:: From: Ben Doom [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, July 15, 2003 12:56 PM
:: To: CF-Talk
:: Subject: RE: Includes inside a CFOUTPUT problem...
::
::
:: I'd just replace the includes with their contents.  Not as
:: elegant, I guess,
:: but sometimes you just do what works.
::
::
:: --  Ben Doom
:: Programmer  General Lackey
:: Moonbow Software, Inc
::
:: : -Original Message-
:: : From: Les Mizzell [mailto:[EMAIL PROTECTED]
:: : Sent: Tuesday, July 15, 2003 11:59 AM
:: : To: CF-Talk
:: : Subject: RE: Includes inside a CFOUTPUT problem...
:: :
:: :
:: : :: I don;t think the cfoutput is inherited by the cfinclude
:: : :: templates from
:: : :: the calling template, so you'll need to put cfoutput in
:: each of the
:: : :: include templates where you want to output a variable.
:: :
:: : This will take some head scratching to get to work. Each include
:: : is a single
:: : td.  Basically, I'm building a table in my switch statement. So, it's
:: : still got to loop through all the records and properly build the table.
:: : Different results will result in a completely different table.
:: :
:: : Jezz, I may have painted myself into a corner at this point if
:: there's no
:: : good way to get it to work.
:: :
:: : Ideas???
:: :
:: :
:: :
:: :
:: : :: -Original Message-
:: : :: From: A.Little [mailto:[EMAIL PROTECTED]
:: : :: Sent: Tuesday, July 15, 2003 11:49 AM
:: : :: To: CF-Talk
:: : :: Subject: RE: Includes inside a CFOUTPUT problem...
:: : ::
:: : ::
:: :
:: : ::
:: : :: Don't ask me why it works like this - I have no idea ;-)
:: : ::
:: : :: Alex
:: : ::
:: : ::
:: : ::  -Original Message-
:: : ::  From: Les Mizzell [mailto:[EMAIL PROTECTED]
:: : ::  Sent: 15 July 2003 16:38
:: : ::  To: CF-Talk
:: : ::  Subject: RE: Includes inside a CFOUTPUT problem...
:: : :: 
:: : :: 
:: : ::  :: What about
:: : ::  :: td#prods.some_variable#/td
:: : ::  :: in the includes ?
:: : ::  :: That's better syntax anyway...
:: : :: 
:: : :: 
:: : ::  Nope, still doesn't do it
:: : :: 
:: : ::  H.
:: : :: 
:: : :: 
:: : ::  Re:
:: : ::  cfoutput query=prods
:: : ::   tr
:: : ::cfswitch expression=#URL.ID#
:: : ::  cfcase value=100
:: : ::cfinclude template=includes/td_1.cfm
:: : ::cfinclude template=includes/td_14.cfm
:: : ::cfinclude template=includes/td_22.cfm
:: : ::  /cfcase
:: : ::  cfcase value=110
:: : ::   cfinclude template=includes/td_33.cfm
:: : ::   cfinclude template=includes/td_34.cfm
:: : ::   cfinclude template=includes/td_35.cfm
:: : :: /cfcase
:: : ::/cfswitch
:: : ::   /tr
:: : ::  /cfoutput
:: : :: 
:: : ::
:: :
:: 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: (Admin) Removal

2003-07-15 Thread Michael Dinowitz
Your welcome. I hate being draconian but I spend a LOT of time making sure
spam does not get to this list and reviewing all of the posts that have been
rejected because of spam or being not subscribed. I can't have people using
a poor anti-spam technique adding to my work. And yes, I think it's a really
poor technique and I highly dislike it.


 Thank you! Thank you! And once more... THANK YOU!

 -Ray

  -Original Message-
  From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, July 15, 2003 10:59 AM
  To: CF-Talk
  Subject: (Admin) Removal
 
 
  Anyone using software like Spamkilla and the like that
  continuously floods the list with requests to be authorized
  will be removed from the list until the software is
  configured properly. Thank you
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: I need some good old advice.

2003-07-15 Thread jon hall
If this is a high traffic site, or the query takes extraordinarily
long to execute, keep in mind the people hitting the site while the
query is recaching, and right after the server is restarted, etc. They
could get errors, bad data, or long delays...

I've got an app that does something similar now where we chose to
schedule the cache update, and build in logic on each page request to
test if the cache exists, if not, requery immediately. It works
fairly well under load...other than a few possible CF5 bugs with cached
queries under load that I can't control, but thankfully are rare.

If possible, abstract access to the cache as much as possible right
now...since it is your datastore, you are bound to think of new ways
to use it, or need to use it down the road.

-- 
 jon
 mailto:[EMAIL PROTECTED]

Tuesday, July 15, 2003, 1:02:14 PM, you wrote:
JB Ben,

JB Thanks for the information. It looks like my best bet right now is to 
JB update, modify and delete through a normal CFQUERY then after that query 
JB call the un cacheing and cache query through a cfschedule tag. This 
JB looks like it might work very well..

JB Regards,

JB JB

 

 



JB Ben Doom wrote:

If I understood correctly, he's saying that if you're caching the query in a
shared location (ie application scope) you could run updates on the cached
query at the same time that you run them on the DB.

I'd have to check to see if it would work, but I don't see why not.


--  Ben Doom
Programmer  General Lackey
Moonbow Software, Inc

: -Original Message-
: From: James Blaha [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 12:04 PM
: To: CF-Talk
: Subject: Re: I need some good old advice.
:
:
: Jim,
:
: Thanks for the reply. I'm not sure I totally follow you. Are you saying
: to just do a normal cache with a timeout on the main query and place the
: updates and deletes on the cached query?
:
: At what point do I update the actual database table affected?
:
: Regards,
: JB
:
:
: Jim Davis wrote:
:
: Sorry - not much time but...
: 
: If the updates and deletes are simplistic (and rare as you say)
: you _might_
: want to not redo the whole main query, but rather update it as well.
: 
: Remember that you can modify any query in memory using all the variable
: manipulation tools at your disposal.
: 
: That way you get the updated data in your query but don't incur
: the refresh
: time (or at least as much of it).
: 
: The main query will still be rerun on it's scheduled
: out-of-cache time.  So
: periodically you'd get the real thing.
: 
: Jim Davis
: 
: 
: 
: -Original Message-
: From: James Blaha [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 10:10 AM
: To: CF-Talk
: Subject: I need some good old advice.
: 
: All:
: 
: I need some good old advice. I'm redesigning an application to utilize
: query caching and the use of Query of Query to speed it up some. So I'm
: caching one large query and running the application templates using Q0Q.
: Any time there that there is an insert, update or deletion from the
: database I'm going to un cache the main query. The QoQ's will always
: have correct data as changes happen which shouldn't be all that often.
: 
: My question is when I perform a SQL insert, update or delete is there a
: way to call and run a query but not have that query add to the execution
: time of the template. For example maybe and idea is calling a scheduled
: job to run the query.
: 
: Regards,
: James Blaha
: 
: 
: 
: 
: 
: 
: 

JB 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Re: I need some good old advice.

2003-07-15 Thread Mike Brunt
This may or may not be relevant but we have been involved in some very creative use of 
a custom tag called cf_supercache.  You do some really granular controlled content 
caching with that tag using UID's/query strings for site visitors/events.

Kind Regards - Mike Brunt

Original Message ---
If this is a high traffic site, or the query takes extraordinarily
long to execute, keep in mind the people hitting the site while the
query is recaching, and right after the server is restarted, etc. They
could get errors, bad data, or long delays...

I've got an app that does something similar now where we chose to
schedule the cache update, and build in logic on each page request to
test if the cache exists, if not, requery immediately. It works
fairly well under load...other than a few possible CF5 bugs with cached
queries under load that I can't control, but thankfully are rare.

If possible, abstract access to the cache as much as possible right
now...since it is your datastore, you are bound to think of new ways
to use it, or need to use it down the road.

-- 
 jon
 mailto:[EMAIL PROTECTED]

Tuesday, July 15, 2003, 1:02:14 PM, you wrote:
JB Ben,

JB Thanks for the information. It looks like my best bet right now is to 
JB update, modify and delete through a normal CFQUERY then after that query 
JB call the un cacheing and cache query through a cfschedule tag. This 
JB looks like it might work very well..

JB Regards,

JB JB

 

 



JB Ben Doom wrote:

If I understood correctly, he's saying that if you're caching the query in a
shared location (ie application scope) you could run updates on the cached
query at the same time that you run them on the DB.

I'd have to check to see if it would work, but I don't see why not.


--  Ben Doom
Programmer  General Lackey
Moonbow Software, Inc

: -Original Message-
: From: James Blaha [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 12:04 PM
: To: CF-Talk
: Subject: Re: I need some good old advice.
:
:
: Jim,
:
: Thanks for the reply. I'm not sure I totally follow you. Are you saying
: to just do a normal cache with a timeout on the main query and place the
: updates and deletes on the cached query?
:
: At what point do I update the actual database table affected?
:
: Regards,
: JB
:
:
: Jim Davis wrote:
:
: Sorry - not much time but...
: 
: If the updates and deletes are simplistic (and rare as you say)
: you _might_
: want to not redo the whole main query, but rather update it as well.
: 
: Remember that you can modify any query in memory using all the variable
: manipulation tools at your disposal.
: 
: That way you get the updated data in your query but don't incur
: the refresh
: time (or at least as much of it).
: 
: The main query will still be rerun on it's scheduled
: out-of-cache time.  So
: periodically you'd get the real thing.
: 
: Jim Davis
: 
: 
: 
: -Original Message-
: From: James Blaha [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 10:10 AM
: To: CF-Talk
: Subject: I need some good old advice.
: 
: All:
: 
: I need some good old advice. I'm redesigning an application to utilize
: query caching and the use of Query of Query to speed it up some. So I'm
: caching one large query and running the application templates using Q0Q.
: Any time there that there is an insert, update or deletion from the
: database I'm going to un cache the main query. The QoQ's will always
: have correct data as changes happen which shouldn't be all that often.
: 
: My question is when I perform a SQL insert, update or delete is there a
: way to call and run a query but not have that query add to the execution
: time of the template. For example maybe and idea is calling a scheduled
: job to run the query.
: 
: Regards,
: James Blaha
: 
: 
: 
: 
: 
: 
: 

JB 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: I need some good old advice.

2003-07-15 Thread James Blaha
Jon,

Your comment has the meat I’m looking for! Thanks.

What exactly do you mean by:

“schedule the cache update, and build in logic on each page request to 
test if the cache exists, if not, requery immediately”

Can you please give me some kind of an example of what the templates 
involved would have for code and how you would use it?

What do you mean by:

If possible, abstract access to the cache as much as possible right
now...since it is your datastore, you are bound to think of new ways
to use it, or need to use it down the road.

FYI: My data from the table involved is affected on two sides. On one 
side there are users on the web entering data which goes into a table. 
On the other side is a BackOffice were staff edits and queries that 
data. Querying, updates and deletions only happen in the BackOffice.

Regards,
JB


jon hall wrote:

If this is a high traffic site, or the query takes extraordinarily
long to execute, keep in mind the people hitting the site while the
query is recaching, and right after the server is restarted, etc. They
could get errors, bad data, or long delays...

I've got an app that does something similar now where we chose to
schedule the cache update, and build in logic on each page request to
test if the cache exists, if not, requery immediately. It works
fairly well under load...other than a few possible CF5 bugs with cached
queries under load that I can't control, but thankfully are rare.

If possible, abstract access to the cache as much as possible right
now...since it is your datastore, you are bound to think of new ways
to use it, or need to use it down the road.

  


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: I need some good old advice.

2003-07-15 Thread James Blaha
Mike,

cf_supercache sounds interesting. Where can I get my hands on it and the 
documentation? 

Regards,
JB



Mike Brunt wrote:

This may or may not be relevant but we have been involved in some very creative use 
of a custom tag called cf_supercache.  You do some really granular controlled content 
caching with that tag using UID's/query strings for site visitors/events.

Kind Regards - Mike Brunt

Original Message ---
If this is a high traffic site, or the query takes extraordinarily
long to execute, keep in mind the people hitting the site while the
query is recaching, and right after the server is restarted, etc. They
could get errors, bad data, or long delays...

I've got an app that does something similar now where we chose to
schedule the cache update, and build in logic on each page request to
test if the cache exists, if not, requery immediately. It works
fairly well under load...other than a few possible CF5 bugs with cached
queries under load that I can't control, but thankfully are rare.

If possible, abstract access to the cache as much as possible right
now...since it is your datastore, you are bound to think of new ways
to use it, or need to use it down the road.

  


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Re: I need some good old advice.

2003-07-15 Thread Mike Brunt
James you can find it here: -(watch for the wrapping of the url)

http://www.macromedia.com/cfusion/exchange/index.cfm;jsessionid=48303189051048863726495?view=sn131extID=1002264

It is a great tag, it was developed to help with the complex caching strategies needed 
for Spectra.  Good luck.

Kind Regards - Mike Brunt

Original Message ---
Mike,

cf_supercache sounds interesting. Where can I get my hands on it and the 
documentation? 

Regards,
JB



Mike Brunt wrote:

This may or may not be relevant but we have been involved in some very creative use 
of a custom tag called cf_supercache.  You do some really granular controlled content 
caching with that tag using UID's/query strings for site visitors/events.

Kind Regards - Mike Brunt

Original Message ---
If this is a high traffic site, or the query takes extraordinarily
long to execute, keep in mind the people hitting the site while the
query is recaching, and right after the server is restarted, etc. They
could get errors, bad data, or long delays...

I've got an app that does something similar now where we chose to
schedule the cache update, and build in logic on each page request to
test if the cache exists, if not, requery immediately. It works
fairly well under load...other than a few possible CF5 bugs with cached
queries under load that I can't control, but thankfully are rare.

If possible, abstract access to the cache as much as possible right
now...since it is your datastore, you are bound to think of new ways
to use it, or need to use it down the road.

  



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: MX Stability

2003-07-15 Thread Matt Robertson
You can also throttle connections with IIS very effectively.

In IIS properties for the web site, click the Performance tab.  Check
enable bandwidth throttling and be prepared to scale the speed WAY
back.  I had it down to 1 or 2 kbps once on a low-traffic site and no
humans noticed any difference, but the SE hitting it with 850k reads per
day was forced down to an acceptable level.  

This is one of the places where the benefits of using CF to publish to
static HTML rather than assembling pages on request becomes really
obvious.  Wipes CF and your db out of the processing picture.  

A slight alteration on the same technique is to publish a *static* page
with a .cfm extension.  This will keep Application.cfm and
OnRequestEnd.cfm still in the picture but eliminate all CF/DB processing
in between.


 Matt Robertson   [EMAIL PROTECTED] 
 MSB Designs, Inc.  http://mysecretbase.com


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: iframe form javascript

2003-07-15 Thread S . Isaac Dealey
In this case, there's something wrong with the path top.mainFrameSet.main ... it's 
typod or otherwise misspelled, or the spelling doesn't have the right case. Once 
you've got that figured out, hopefully the function will be able to access that form 
field.

 I made the last changes you suggested and nothing happens.
 However, I am now getting a javascript error:
 top.mainFrameSet.main.document is null or not an object

 I also tried removing the target from my revised version
 to see if at least the value would be passed to the form
 field, but nothing happened.

 Isaac,

 I've added '#jsstringformat(subDir  name)#' and it
 still
 is not changing the value in the ImageName form field.
 (The variable name is from a cfdirectory query.)

 a href=viewer.cfm?image=#subDir##name#
 target=viewer
 onClick=top.mainFrameSet.main.document.frmAddItem.Image
 Na
 me.value='#jsstringformat(subDir  name)#';#name#/a

 which returns the following example:

 a href=viewer.cfm?image=shoes/sm_002.jpg
 target=viewer
 onClick=top.mainFrameSet.main.document.fr
 mAddItem.ImageName.value='shoes/sm_002.jpg';sm_002.jpg
 /
 a

That's definitely proper syntax for javascript... is it
producing a
javascript error now? You might want to turn on script
debugging if
you're using Internet Explorer to test this.

 ...
oh...

target may have some affect on it... I know that if you
specify a base
target for a page, then any javascript on that page IE
will attempt to
process relative to or rather from the target frame...
dunno why they
do that, I think it's stupid personally... Anyway, you
might try
this:

script language=javascript
function getMyImage(iName) {
top.mainFrameSet.main.document.frmAddItem.ImageName.value=
iName;
top.mainFrameSet.viewer.location.href='viewer.cfm?image='+
iName;
}
/script

a href=javascript:getMyImage('#jsstringformat(subDir 
name)#');#name#/a

hth

 ~~
 ~~~|
 Archives:
 http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
 Subscription: http://www.houseoffusion.com/cf_lists/index.
 cfm?method=subscribeforumid=4
 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

 Get the mailserver that powers this list at
 http://www.coolfusion.com

   Unsubscribe: http://www.houseoffusion.com/cf_lists/uns
   ubscribe.cfm?user=633.558.4




s. isaac dealey972-490-6624

new epoch  http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource http://www.turnkey.to/tapi

team macromedia volunteer  http://www.macromedia.com/go/team

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Joe Eugene
 Hi Joe, That sounds really interesting. Any way I can convince you to make
a
 mini example that I could look at.

I am looking forward to publishing a prototype of the Framework sometime
soon.
The framework is alot more flexible and uses an MDA Pattern. It would be
nice to
get the opinion of others in the community and work out any issues.

Joe Eugene


- Original Message - 
From: Andre Turrettini [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 12:24 PM
Subject: RE: Anyone using Jakarta Struts for cfmx?


 Hi Joe, That sounds really interesting. Any way I can convince you to make
a
 mini example that I could look at.

 DRE

  -Original Message-
  From: Joe Eugene [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 14, 2003 4:01 PM
  To: CF-Talk
  Subject: Re: Anyone using Jakarta Struts for cfmx?
 
 
  I have used alot of Concepts from Jakarta Structs as MVC for
  recent application. It worked very well, with a very high
  level of code management. Begining with file structure
 
  index.cfm is the only exposed page of the applicaiton.
  application.xml for application level control/instantiation
 
  system/model/data -- contains data objects
  system/model/logic -- logic controls
  system/model/validator -- validation controls for forms etc
 
  system/controller -- controller files
  system/view -- all view sub-components or pages.
 
  controller.xml for flow control and method execution
  mappings.. similar to whats done in Jakarta Struts except
  ...*.cfc used here. All method mappings are executed
  dynamically and variables in the xml mapping get the result
  or set values in variables scope. View Components do NOT
  touch high level scope variables like client/session/application.
 
  I have been quite happy with the Model.. Once the model is
  written.. all you do is write your data layer methods and
  view pages.. and you are done.. The controller does the rest
  of the job.
 
   Ease of development and organization
  Heavy resistance from other CF Developers at first.. but then
  some started to realize the benefits... Others are hung on
  the Fusebox 3 Case Style.
 
  If you are really excited about developing some class
  applications and tight coding... it becomes very hard to work
  with developers who arent looking to improve.. but just get
  the project done...
 
  Joe Eugene
 
  - Original Message - 
  From: Smith, Don , CTR , WHS/PSD [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Monday, July 14, 2003 3:50 PM
  Subject: Anyone using Jakarta Struts for cfmx?
 
 
   Is anyone using Jakarta Struts for CFMX and can they comment toward
   its
  use?
  
   I am looking for a published development framework that would be
   flexible enough for development in, plus allow our team to
  investigate
   new technologies outside of CFMX -I like what I read of Struts'
   integration of Java technology but I haven't implemented it yet.
  
   I'm working with some staff for whom integration of existing Java
  libraries
   would be a stretch and others who could handle it easily,
  but it would
   require ramp-up time and education.
  
   I am hoping to find a framework that would allow me to point new
  developers
   to existing materials so I would not have to write up an
  entire code
   like
  I
   do book.  I am also hoping that it would add something on
  top of CFMX
   and not merely reorganize CFMX without adding anything.
  
   How was your:
   Ease of development and organization
   Integration with Java for non-Java programmers
   Success rate in getting users to adapt
  
   THANKS!
  
   Don
  
  
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: MX Stability

2003-07-15 Thread Watson, Nicholas
When you say publish to *static* cfm pages what do you mean. Doesn't cfcache
accomplish this? Or does your content management system compile and publish
the static cfm files on the Web site?



-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 1:48 PM
To: CF-Talk
Subject: RE: MX Stability


You can also throttle connections with IIS very effectively.

In IIS properties for the web site, click the Performance tab.  Check
enable bandwidth throttling and be prepared to scale the speed WAY
back.  I had it down to 1 or 2 kbps once on a low-traffic site and no
humans noticed any difference, but the SE hitting it with 850k reads per
day was forced down to an acceptable level.  

This is one of the places where the benefits of using CF to publish to
static HTML rather than assembling pages on request becomes really
obvious.  Wipes CF and your db out of the processing picture.  

A slight alteration on the same technique is to publish a *static* page
with a .cfm extension.  This will keep Application.cfm and
OnRequestEnd.cfm still in the picture but eliminate all CF/DB processing
in between.


 Matt Robertson   [EMAIL PROTECTED] 
 MSB Designs, Inc.  http://mysecretbase.com



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



legal issues

2003-07-15 Thread Barney Boisvert
My company recently spawned off from a parent company, and we're drafting a
non-compete agreement and looking for some insight as to wording.  We found
a couple generic agreements, and they used such remarkably vague terms as
... the Employee shall not own, manage, operate, consult to or be employed
in a business substantially similar to the present or future business of the
Company ...

I don't have a particular problem with signing an appropriate non-compete,
and my employer wants to ensure the agreement is suitable for all concerned,
which is very nice, so there is some flexability.

The company develops a web-based communications management tool that is
licensed and hosted ASP-style (Application Service Provider, not Active
Server Pages ;).  As well as doing all development, we do all the sales and
support services.  My concern is that any web app could be construed as a
web-based communications management tool, especially anything that's not a
basic web site (an email newsletter with web-based authoring, for example),
so the definition of competition needs a fairly high degree of precision.

I'm sure there are people out there who've fought this battle before, and I
was wondering if any of you had some insight, or even some sample language.

thanks,
barneyb

---
Barney Boisvert, Senior Development Engineer
AudienceCentral
[EMAIL PROTECTED]
voice : 360.756.8080 x12
fax   : 360.647.5351

www.audiencecentral.com

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.500 / Virus Database: 298 - Release Date: 7/10/2003

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: I need some good old advice.

2003-07-15 Thread jon hall
Tuesday, July 15, 2003, 1:35:16 PM, you wrote:
JB Jon,

JB Your comment has the meat I’m looking for! Thanks.

JB What exactly do you mean by:

JB “schedule the cache update, and build in logic on each page request to 
JB test if the cache exists, if not, requery immediately”

We use cfschedule to recache every so often...sometimes 60 minutes,
sometimes 24 hours. On each page request, I used isQuery to make sure
the cache exists. If it does...everything is groovy. If not, for
whatever reason I used cf_IsColdFusionDataSource to make sure I could
connect to the database, and then rerun the same cache routine that
the scheduler runs. Makes for long delays sometimes...but it's better
than a crash.

JB Can you please give me some kind of an example of what the templates 
JB involved would have for code and how you would use it?

check your inbox. :)

JB What do you mean by:

JB If possible, abstract access to the cache as much as possible right
JB now...since it is your datastore, you are bound to think of new ways
JB to use it, or need to use it down the road.

Keep the logic and the data layers as separate as possible. Every QoQ
should be isolated. Being a coder, it's going to be tempting to start
doing dynamic queries, and doing conditional stuff depending on the
data returned. Whether this means using custom tags, or cfc's, or
whatever...just keep the two worlds separate, because down the road,
when a table name changes, or you want to access the data differently
could end up being a huge fix. I've been there...

JB FYI: My data from the table involved is affected on two sides. On one 
JB side there are users on the web entering data which goes into a table. 
JB On the other side is a BackOffice were staff edits and queries that 
JB data. Querying, updates and deletions only happen in the BackOffice.

Very similar to my app, except with a PowerBuilder frontend located
halfway across the country.

JB Regards,
JB JB


JB jon hall wrote:

If this is a high traffic site, or the query takes extraordinarily
long to execute, keep in mind the people hitting the site while the
query is recaching, and right after the server is restarted, etc. They
could get errors, bad data, or long delays...

I've got an app that does something similar now where we chose to
schedule the cache update, and build in logic on each page request to
test if the cache exists, if not, requery immediately. It works
fairly well under load...other than a few possible CF5 bugs with cached
queries under load that I can't control, but thankfully are rare.

If possible, abstract access to the cache as much as possible right
now...since it is your datastore, you are bound to think of new ways
to use it, or need to use it down the road.

  


JB 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Joe Eugene
 or parsed files. Mach II is an MVC-based framework driven by an
 implicit invocation architecture - using events and listeners.

I read over some Mach II docs last nite. If i am right, atleast the doc
refers so
http://www.mach-ii.com/downloads/Intro%20to%20Implicit%20Invocation.pdf

Events (generated by an Action)
Listeners (xml Controller helpers/mapping activated by the Controller
Action)

The above is the Base Idea of Jakarta Struts.

Now add some spice.. dynamically execute sub-actions/object methods and
pass the data for the requested action to the requested variables.

You end up with the Controller dynamically figuring out...
1. Data for the End View
2. Variables for the end view (From what you specified in the
listener/mapping)
3. End View Template to Load. e.g.
   cfinclude template=#variables.viewTemplate#
   Where viewTemplate variable is the path to end view Template, assigned
by the controller.

The controller code is tight, when you dump #variables#.. you get all the
data for the given page..
Only variables scope are used in view templates.

Joe Eugene


- Original Message - 
From: Sean A Corfield [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 11:44 AM
Subject: Re: Anyone using Jakarta Struts for cfmx?


 On Monday, Jul 14, 2003, at 20:37 US/Pacific, Joe Eugene wrote:
  Interesting.. didnt know Hal Helms and group were working on another
  Framework Project.

 They've just about finished Fusebox 4 (an evolution from Fusebox 3 but
 a fairly radical one in my opinion) and Mach II is now in beta - note
 that the primary architect of Mach II is Ben Edwards. His connection to
 Fusebox is that he created the J2EE version of Fusebox 3.

  Interesting... looks a lot like Mach II (nee Fusebox MX).
  I havent looked deep into Fusebox MX, its still in beta. Honestly,
  didnt quite understand the whole idea of Circuits/Parsed files etc.

 You're confusing Mach II with Fusebox 4. Mach II doesn't have circuits
 or parsed files. Mach II is an MVC-based framework driven by an
 implicit invocation architecture - using events and listeners. Fusebox
 4 OTOH perpetuates fuseactions, fuses, circuits etc. That's why Fusebox
 MX got renamed to Mach II - there was really no similarity to earlier
 Fusebox frameworks.

  I would rather just use a base Controller/Parser and multiple
  Controller helpers.. alot like Jakarta Struts.. Minus some of
  the Complexity in Struts.

 You should look at Mach II. It's less complex than Struts and it's a
 nice clean CF implementation of MVC.

 Sean A Corfield -- http://www.corfield.org/blog/

 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Multi-language Content Management

2003-07-15 Thread Andy Ousterhout
My experience is more on the content side -- Managing translation process,
verifying images are culturally aware/sensitive, etc.  If you have questions
here, I can help.

Andy

-Original Message-
From: Nikhil Madani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 10:19 AM
To: CF-Talk
Subject: Multi-language Content Management


I'm trying to do pretty much the same --- and want to know if anyone out
there has experience with multi language mgmt- especially the pitfalls to be
avoided.
The page in question on my site that needs to support 5 languages is
primarily images and little text. But most of the text is derived from the
database (drop-down menu content etc) and my idea right now is to put my
translations in different columns in the same table. Depending on the user's
language settings (known from CGI variable HTTP_ACCEPT_LANGUAGE)- I could
substitute info from the appropriate column- and then cache the page.

The shortcoming of this system seems to me to be
1. Static text (HTML)- I could probably create 5 different HTML code
snippets in each language and load those the same way.
2. Maintaining translations for each table of concern- Maybe an alternative
could be a separate table that has english keywords with their translations
and  I could a search on a list/structure of english-to-some-other-language
key-value pairs. That way I could separate the actual queries from the
translation itself.

Any thoughts, criticisms, words of wisdom and/or encouragement welcome

Thanks,
Nik

[EMAIL PROTECTED]

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: legal issues

2003-07-15 Thread Bryan Stevenson
Not sure about the legal situation in the US, but in Canada most lawyers
will tell ya non-compete agreements are just expensive pieces of
paper...easily fought if need bejust too many ways of reading them...too
many gray areas

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com
- Original Message -
From: Barney Boisvert [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 11:21 AM
Subject: legal issues


 My company recently spawned off from a parent company, and we're drafting
a
 non-compete agreement and looking for some insight as to wording.  We
found
 a couple generic agreements, and they used such remarkably vague terms as
 ... the Employee shall not own, manage, operate, consult to or be
employed
 in a business substantially similar to the present or future business of
the
 Company ...

 I don't have a particular problem with signing an appropriate non-compete,
 and my employer wants to ensure the agreement is suitable for all
concerned,
 which is very nice, so there is some flexability.

 The company develops a web-based communications management tool that is
 licensed and hosted ASP-style (Application Service Provider, not Active
 Server Pages ;).  As well as doing all development, we do all the sales
and
 support services.  My concern is that any web app could be construed as a
 web-based communications management tool, especially anything that's not a
 basic web site (an email newsletter with web-based authoring, for
example),
 so the definition of competition needs a fairly high degree of
precision.

 I'm sure there are people out there who've fought this battle before, and
I
 was wondering if any of you had some insight, or even some sample
language.

 thanks,
 barneyb

 ---
 Barney Boisvert, Senior Development Engineer
 AudienceCentral
 [EMAIL PROTECTED]
 voice : 360.756.8080 x12
 fax   : 360.647.5351

 www.audiencecentral.com

 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.500 / Virus Database: 298 - Release Date: 7/10/2003

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: I need some good old advice.

2003-07-15 Thread HOFLists
Ben's right: I meant that instead of updating he DB then selecting the whole thing 
again you update the table then modify the query in memory to reflect the changes.

Actually it doesn't even have to be in a shared scope tho'.

If you just do:

cfquery name=test cachedwithin...
SELECT Name FROM table
/cfquery

You can later do:

cfset test.name[4] = NewName

As long as the query is in memory you can change it.

Jim Davis

-- Original Message --
From: Ben Doom [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Tue, 15 Jul 2003 12:54:27 -0400

If I understood correctly, he's saying that if you're caching the query in a
shared location (ie application scope) you could run updates on the cached
query at the same time that you run them on the DB.

I'd have to check to see if it would work, but I don't see why not.


--  Ben Doom
Programmer  General Lackey
Moonbow Software, Inc

: -Original Message-
: From: James Blaha [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 12:04 PM
: To: CF-Talk
: Subject: Re: I need some good old advice.
:
:
: Jim,
:
: Thanks for the reply. I'm not sure I totally follow you. Are you saying
: to just do a normal cache with a timeout on the main query and place the
: updates and deletes on the cached query?
:
: At what point do I update the actual database table affected?
:
: Regards,
: JB
:
:
: Jim Davis wrote:
:
: Sorry - not much time but...
: 
: If the updates and deletes are simplistic (and rare as you say)
: you _might_
: want to not redo the whole main query, but rather update it as well.
: 
: Remember that you can modify any query in memory using all the variable
: manipulation tools at your disposal.
: 
: That way you get the updated data in your query but don't incur
: the refresh
: time (or at least as much of it).
: 
: The main query will still be rerun on it's scheduled
: out-of-cache time.  So
: periodically you'd get the real thing.
: 
: Jim Davis
: 
: 
: 
: -Original Message-
: From: James Blaha [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, July 15, 2003 10:10 AM
: To: CF-Talk
: Subject: I need some good old advice.
: 
: All:
: 
: I need some good old advice. I'm redesigning an application to utilize
: query caching and the use of Query of Query to speed it up some. So I'm
: caching one large query and running the application templates using Q0Q.
: Any time there that there is an insert, update or deletion from the
: database I'm going to un cache the main query. The QoQ's will always
: have correct data as changes happen which shouldn't be all that often.
: 
: My question is when I perform a SQL insert, update or delete is there a
: way to call and run a query but not have that query add to the execution
: time of the template. For example maybe and idea is calling a scheduled
: job to run the query.
: 
: Regards,
: James Blaha
: 
: 
: 
: 
: 
: 
: 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Checking form input value

2003-07-15 Thread Bushy
Hi,

I have a form that I submit back to itself. How can I check in my form template what 
input box was selected?

I would need a check here to see wchich of the below inputs was clicked on. I've left 
out the JS also.


cfif if INPUT FIELD IS SOMETHING
  Do this...
cfelse
  DO this...
/cfif


form action=actDirectoryUpdate.cfm?varAnchor=books method=post

input type=button value=Select All name=Select_All_OMITDIR 
OnClick=SelectAll('Omit');

!--- This will UNCHECK all elements that are to be OMITTED ---
input type=button value=Clear All name=Clear_All_OMITDIR 
OnClick=ClearAll('Omit');

!--- This will UPDATE the database ---
input type=submit name=submit value=Update
/form




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Flash player

2003-07-15 Thread Michael Wilson
Hi,

You can obtain the Macromedia Flash Deployment Kit here:
http://www.macromedia.com/software/flash/download/deployment_kit/. If you
use Dreamweaver, the behavior provided is very convenient.

There is a parameter to auto-install the player on Internet Explorer
Windows. This skips the test and allows Internet Explorer (for Windows) to
auto-update. I believe you set this on the Object tag:
allowFlashAutoInstall=true

I also believe, to avoid the user prompt for installation, each user will
need to have a Macromedia trusted publisher certificate installed; you
should be able to export/import these to each machine. From that point
forward IE will auto update the Flash player as required.

I'm not sure of any of this so let us know how it goes. :) HTH

Best regards,
Michael Wilson

-Original Message-
Subject: OT: Flash player

How can I run a silent install of the flash player for intranets? My boss
doesn't want the users to be prompted, ratherit just silently install.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Flash player

2003-07-15 Thread Michael Wilson
Hi,

You can obtain the Macromedia Flash Deployment Kit here:
http://www.macromedia.com/software/flash/download/deployment_kit/. If you
use Dreamweaver, the behavior provided is very convenient.

There is a parameter to auto-install the player on Internet Explorer
Windows. This skips the test and allows Internet Explorer (for Windows) to
auto-update. I believe you set this on the Object tag:
allowFlashAutoInstall=true

I also believe, to avoid the user prompt for installation, each user will
need to have a Macromedia trusted publisher certificate installed; you
should be able to export/import these to each machine. From that point
forward IE will auto update the Flash player as required.

I'm not sure of any of this so let us know how it goes. :) HTH

Best regards,
Michael Wilson

-Original Message-
Subject: OT: Flash player

How can I run a silent install of the flash player for intranets? My boss
doesn't want the users to be prompted, ratherit just silently install.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Help with cfhttp, cfhttpparam

2003-07-15 Thread James Johnson
Been struggling with this and hoped I could get some help. Using CFMX.

I need to convert this html form:
form action=https://www.interceptcorporation.com/uploadcsv.icp;
method=POST enctype=multipart/form-data
Login: input type=text value= name=login
Pass: input type=password value= name=pass
File to upload to Intercept: input type=file name=filename
input type=submit value=Send... /form

to cfhttp and cfhttpparam, so it will be done automatically. The form needs
to have the multipart/form-data encoding type. This is what I have:

cftry
cfhttp url=#InterceptURL# method=post resolveurl=no
throwonerror=yes multipart=yes
cfhttpparam type=formfield name=login
value=#InterceptUName# mimetype=multipart/form-data
cfhttpparam type=formfield name=pass
value=#InterceptPW# mimetype=multipart/form-data 
cfhttpparam type=file name=filename file=#TmpFile#
mimetype=text/plain
/cfhttp 
cfcatch type=any
cfoutput#cfhttp.StatusCode#/cfoutput
/cfcatch
/cftry
cfoutput
#cfhttp.FileContent# br
#cfhttp.StatusCode# br
#cfhttp.MIMEType#
/cfoutput

The response I get from the POST shows an invalid login. Tech support at the
company I'm trying to upload to says that it's probably due from a wrong
encoding type of the form. cfhttp.MIMEType returns text/html.

There isn't a parameter in cfhttp for enctype, only mimetype.

Any ideas and/or suggestions would be appreciated. 

Thanks,

James 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



  1   2   >