Re: JRun Throwing 503 Errors

2009-03-20 Thread Matt Quackenbush

In a nutshell, cfhttp calls hanging, stacking on top of each other, and
eating up the JVM.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320746
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: JRun Throwing 503 Errors

2009-03-20 Thread Matt Quackenbush

I forgot to answer the last part of your question.  The solution: I moved
all of the cfhttp calls to their own server instance.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320747
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: component paths in cfinvoke

2009-03-20 Thread Dominic Watson

Perhaps you could create a mapping to the the fortstewart_1.2
directory and name it fortstewart. That way you can flip versions in
your code simply by updating the mapping (and also avoid the issue you
are having).

Dominic

2009/3/20 Rick Faircloth r...@whitestonemedia.com:

 Anyone have a perspective on the issue below?

 -Original Message-
 From: Rick Faircloth [mailto:r...@whitestonemedia.com]
 Sent: Thursday, March 19, 2009 1:24 PM
 To: cf-talk
 Subject: component paths in cfinvoke


 Hi, all.



 I've just realized I may have goofed when I named a branch of

 development of a site fortstewart_1.2



 Now, after importing the site into Eclipse, my local file structure,

 is /fortstewart_1.2/components/whatever.cfc



 But when I invoke the component method with the path

 component = fortstewart_1.2.components.whatever

 I'm getting a could not find component error.



 Given the dot notation of component paths.have I messed up?

 Am I going to have to change the branch name?



 Thanks for any insight!



 Rick



 
 ---

 It has been my experience that most bad government is the result of too
 much government. - Thomas Jefferson








 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320748
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: JRun Throwing 503 Errors

2009-03-20 Thread Robert Rawlins

Yeah thought that would be the case.

So, are they just slow running or was the end server not responding and
causing them to stack? Did changing the concurrent requests setting the
Admin help at all? Or just prolong the problem?

I'd probably recommend using the timeout on cfhttp be set to solve this
issue, at the moment it just sits indefinitely.

Value, in seconds, that is the maximum time the request can take. If the
time-out passes without a response, ColdFusion considers the request to have
failed.

If the client specifies a time-out in the URL search parameter (for example,
?RequestTime=120) ColdFusion uses the lesser of the URL time-out and the
timeout attribute value; this ensures that the request times out before, or
at the same time as, the page.

If the URL does not specify a time-out, ColdFusion uses the lesser of the
Administrator time-out and the timeout attribute value.

If the time-out is not set in any of these, ColdFusion waits indefinitely
for the cfhttp request to process.

That won't solve the problem if they're just slow to return a large set of
data however it'll solve the problem if you've got requests that are not
responding.

Rob

-Original Message-
From: Matt Quackenbush [mailto:quackfu...@gmail.com] 
Sent: 20 March 2009 06:09
To: cf-talk
Subject: Re: JRun Throwing 503 Errors


In a nutshell, cfhttp calls hanging, stacking on top of each other, and
eating up the JVM.




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320749
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: component paths in cfinvoke

2009-03-20 Thread Peter Boughton

I agree with Dominic - create a /fortstewart mapping and use that.

If that mapping is unavailable then use /fortstewart_1-2 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320750
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Yet another SEO/URL rewrite question....

2009-03-20 Thread Will Tomlinson

thanks for the tips guys!

Will 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320751
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: component paths in cfinvoke

2009-03-20 Thread Rick Faircloth

Thanks Dominic  Peter...

I changed the old application.cfm  to an application.cfc
and added a mapping there.

Rick

-Original Message-
From: Peter Boughton [mailto:bought...@gmail.com] 
Sent: Friday, March 20, 2009 7:14 AM
To: cf-talk
Subject: Re: component paths in cfinvoke


I agree with Dominic - create a /fortstewart mapping and use that.

If that mapping is unavailable then use /fortstewart_1-2 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320752
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How is this done without evaluate()?

2009-03-20 Thread Claude Schneegans

 value=#Caller.getItem[attributes.type  'EasyFrame']#

Yes,... except that getItem is a query in the calling template,
So maybe value=#Caller.getItem[attributes.type  
'EasyFrame'][Caller.getItem.currentRow]#

Not sure if it is more efficient, but certainly not as easy to read.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320753
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How is this done without evaluate()?

2009-03-20 Thread Scott Stroz

I have only ever used evaluate() in my CF code once. Every other time I
thought I needed it, I was able to use array notation to solve the problem.

On the flip side I once inherited an app that used evaluate() 839 times.  On
one page, there were 93 instances of evaluate().

On Thu, Mar 19, 2009 at 10:56 PM, Gerald Guido gerald.gu...@gmail.comwrote:


  In general, evaluating strings as expressions is computationally
 expensive. I can't think of any cases where I've had to use it in quite a
 while, but I suspect there are some rare cases where you can't get what you
 need any other way.


 Personally I think that the anti-evaluate slant is a bit of orthodoxy that
 was picked up on years ago (when it was much more computationally
 expensive)  and enforced as such by members of the CF community.

 Some times it cannot be avoided with out a boat load of thinking and trial
 and error. Case in point, and I will gladly change this bit of code to not
 use evaluate if someone can figure out how to do this in CFscript sans the
 evaluate function:

 http://mgt.pastebin.com/f428de8f4

 BTW I did  some testing on the above code and the diff between using
 evaluate and the code rendered to be evaluated and was a matter of couple
 of
 milliseconds.

 G!


 On Thu, Mar 19, 2009 at 10:10 PM, Dave Watts dwa...@figleaf.com wrote:

 
   I must have been thinking about setVariable().  Why Should not be used
  if
   not necessary?  What would be an example where it's necessary?
 
  In general, evaluating strings as expressions is computationally
  expensive. I can't think of any cases where I've had to use it in
  quite a while, but I suspect there are some rare cases where you can't
  get what you need any other way.
 
  That said, I wouldn't worry too much about it either way.
 
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
 
  Fig Leaf Software provides the highest caliber vendor-authorized
  instruction at our training centers in Washington DC, Atlanta,
  Chicago, Baltimore, Northern Virginia, or on-site at your location.
  Visit http://training.figleaf.com/ for more informatio
 
 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320754
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String to List?

2009-03-20 Thread Christophe Maso

You've gotta love this bit of code:

REreplace(arguments.strInputString,(.)(.),\1#arguments.strDelimiter#\2#ar
guments.strDelimiter#,ALL)

lol

Oh come on, that's funny! :OD

Yeah, I know. :)  I haven't added regex to my knowledge repertoire yet, so I 
just modified the code snippet offered in the third post 
(#REreplace(list,(.)(.),\1,\2,,ALL)#).  Mine's not as pretty as it could 
be, but is a vast improvement from my original function. I created a string 
360k chars long for testing - this function processed it 9 times faster than my 
old function (which loops through every char in the string). 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320755
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String to List?

2009-03-20 Thread Dominic Watson

I'd be interested to know how the code I suggested performs in
comparison to the regex with the 360k string - in theory it outperform
it:

cfset myList = ArrayToList( myString.toCharArray() ) /

Regex seems a little ott in this situation.

 I created a string 360k chars long for testing - this function processed it 9 
 times faster than my old function (which loops through every char in the 
 string).

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320756
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: String to List?

2009-03-20 Thread Dawson, Michael

Are you referring to the ASCII breasts?

Thanks,
Mike

-Original Message-
From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk] 
Sent: Thursday, March 19, 2009 6:20 PM
To: cf-talk
Subject: RE: String to List?


You've gotta love this bit of code:

REreplace(arguments.strInputString,(.)(.),\1#arguments.strDelimiter#\
2#ar
guments.strDelimiter#,ALL)

lol

Oh come on, that's funny! :OD

Adrian

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320757
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How is this done without evaluate()?

2009-03-20 Thread Claude Schneegans

 Personally I think that the anti-evaluate slant is a bit of orthodoxy 
that
was picked up on years ago  (when it was much more computationally
expensive)  and enforced as such by members of the CF community.

Right, and it is not proper to the CF community, I remember having the 
same discussion about
the same idea in ... Clipper, back in the early 90's ;-)

Personally, I'm much more concerned by loss of performance using to Java 
instead of C since MX.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320758
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


refresh session in ajax application

2009-03-20 Thread Richard White

Hi,

we have an ajax application and to refresh the session we make a remote call to 
the following function on the server, which simply returns true:

cffunction name=refreshSession access=remote output=false 
returntype=boolean hint=is just called to reset session
cfreturn true/
/cffunction

we are having intermittent problems where sometimes the server session timeouts 
out even though we make a call to this function, indicating it is not being 
refreshed correctly.

would the function above actually keep the session alive? if not what should we 
be doing?

thanks 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320759
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFDUMP and Oracle patch

2009-03-20 Thread Jerome Huff

I have just applied the Jan 2009 patch (7703210)to Oracle 9.2.0.8  Once the 
patching was completed, and the server rebooted, everything works fine, execpt 
for cfdump and cftrace, both tags now take two to three minutes just to dump a 
simple 90 record query.  The query itself take only 350ms, but the rendering of 
the cfdump pegs jrun to 100%.  Oracle is installed on a seperate server from 
CF, windows 2003 on both Oracle and Web servers.  Can anyone give me a clue to 
where to look at what may be the hang up?  Thanks 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320760
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: String to List?

2009-03-20 Thread Adrian Lynch

Ermm, no, I thought they looked like eyes! :OD

 -Original Message-
 From: Dawson, Michael [mailto:m...@evansville.edu]
 Sent: 20 March 2009 13:31
 To: cf-talk
 Subject: RE: String to List?
 
 
 Are you referring to the ASCII breasts?
 
 Thanks,
 Mike
 
 -Original Message-
 From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]
 Sent: Thursday, March 19, 2009 6:20 PM
 To: cf-talk
 Subject: RE: String to List?
 
 
 You've gotta love this bit of code:
 
 REreplace(arguments.strInputString,(.)(.),\1#arguments.strDelimiter#
 \
 2#ar
 guments.strDelimiter#,ALL)
 
 lol
 
 Oh come on, that's funny! :OD
 
 Adrian
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320761
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How is this done without evaluate()?

2009-03-20 Thread Yuliang Ruan

well personally i try to avoid evaluates too.   it still is about the 
computational expense.same with query of queries.  the expense of QoQ can 
be seen dramatically when there's looping involved.   I remember when I first 
started at this job, one of the components was doing a recursive drilldown with 
QoQ's.  changed that to not use QoQ and increased performance at that module by 
more than 40%.   of course, that gain got minimalized to 40% of 20ms when we 
switched to CF8 heh.  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320762
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: refresh session in ajax application

2009-03-20 Thread Adrian Lynch

Is that method in the same application the rest of your code?

It might be that you're calling code that's running in another app?

Adrian

 -Original Message-
 From: Richard White [mailto:rich...@j7is.co.uk]
 Sent: 20 March 2009 14:25
 To: cf-talk
 Subject: refresh session in ajax application
 
 
 Hi,
 
 we have an ajax application and to refresh the session we make a remote
 call to the following function on the server, which simply returns
 true:
 
 cffunction name=refreshSession access=remote output=false
 returntype=boolean hint=is just called to reset session
   cfreturn true/
   /cffunction
 
 we are having intermittent problems where sometimes the server session
 timeouts out even though we make a call to this function, indicating it
 is not being refreshed correctly.
 
 would the function above actually keep the session alive? if not what
 should we be doing?
 
 thanks


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320763
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: refresh session in ajax application

2009-03-20 Thread Andrew Grosset

could be a caching issue in that sometimes the browser will say Heh! I just 
got that identical response 5 mins ago from that url, no need to travel to the 
server here is the response I got last time! 

Try adding a date time string to the javascript that initiates the call.

Test your function to see if it actually is getting the call - maybe the 
browser is just returning its cache - you could add a script to the server 
function that recorded some session data into a database.

Andrew.

 Hi,
 
 we have an ajax application and to refresh the session we make a 
 remote call to the following function on the server, which simply 
 returns true:
 
 cffunction name=refreshSession access=remote output=false 
 returntype=boolean hint=is just called to reset session
   cfreturn true/
   /cffunction
 
 we are having intermittent problems where sometimes the server session 
 timeouts out even though we make a call to this function, indicating 
 it is not being refreshed correctly.
 
 would the function above actually keep the session alive? if not what 
 should we be doing?
 
 thanks 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320764
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String to List?

2009-03-20 Thread Christophe Maso

 I'd be interested to know how the code I suggested performs in
 comparison to the regex with the 360k string - in theory it 
 outperform
 it:
 
 cfset myList = ArrayToList( myString.toCharArray() ) /

Running on CF8, I used cftimer to test execution time on a string 360K long 
(all alphanumerics, just alphabet appended with 1 to 0 and concatenated 10,000 
times).  No cfdump or output; just a cfset statement.

My original function - over 60 seconds, times out.  this.s**tCan().
ArrayToList( myString.toCharArray() ) - 188 ms
StringToDelimListRE() (the one with the ASCII breasts (Hah, I missed that)) - 
172 ms
listFromChars() - 125 ms

I'm not 100% positive on which ones will/will not accept non-alphanumerics in 
the string; didn't test for that in all cases.  Anyone else care to time these 
out?  In any ase, there's something to be said for using only 1 line of code - 
well worth the price of a few millseconds in my book, so long as I don't have 
to run this process on War  Peace... 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320765
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String to List?

2009-03-20 Thread Christophe Maso

I just noticed that listFromChars() is essentially 1 line of code, also.  My 
bad...

Bottom line for me is to learn regex and more Java! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320766
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Re: How is this done without evaluate()?

2009-03-20 Thread dsbrady

The one time I know we have to use it is because we have some database  
tables where some fields actually have CF expressions in them, so to have  
those expressions get, errr, evaluated, we have to use evaluate().


On Mar 19, 2009 8:10pm, Dave Watts dwa...@figleaf.com wrote:
 In general, evaluating strings as expressions is computationally

 expensive. I can't think of any cases where I've had to use it in

 quite a while, but I suspect there are some rare cases where you can't

 get what you need any other way.




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320767
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Re: How is this done without evaluate()?

2009-03-20 Thread Adrian Lynch

Another way is to write them to a file and cfinclude it. But in this case I
think Evaluate might look nicer...

Adrian

 -Original Message-
 From: dsbr...@gmail.com [mailto:dsbr...@gmail.com]
 Sent: 20 March 2009 15:37
 To: cf-talk
 Subject: Re: Re: How is this done without evaluate()?
 
 
 The one time I know we have to use it is because we have some database
 tables where some fields actually have CF expressions in them, so to
 have
 those expressions get, errr, evaluated, we have to use evaluate().
 
 
 On Mar 19, 2009 8:10pm, Dave Watts dwa...@figleaf.com wrote:
  In general, evaluating strings as expressions is computationally
 
  expensive. I can't think of any cases where I've had to use it in
 
  quite a while, but I suspect there are some rare cases where you
 can't
 
  get what you need any other way.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320768
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Kludge to Clean; framework help

2009-03-20 Thread Joshua O'Connor-Rose

So we finally have CF8.
We have been successful moving old Legacy Sites to CF8.

I have a strong desire to start (well . . . continue) sneaking good
code under the hood. I wondered what may be a good framework to use to
accomplish two things.

1. Begin implementing a cleaner architecture
2. Reside in amidst our legacy application (Kludged up and third party
dependent)
- this has been the challenge to implementing a framework in a sub
directory of the parent site

So for instance
at root
Application.cfm points to Kludged up 3rd party Application.cfm
This uses hundreds of client variables and an architecture that would
make most wince. (Every directory in the Third party application has
an application.cfm page that does the exact same thing all include the
Application page at the top level which includes the 'settings.cfm'
which is the site settings for the site which are not run as
application or client or session varibles but are included variables
without scope).

Things like navigation and logon functionality are reliant on this
(client variables and the Kludge architechture) and unfortunately we
can't include Redesign Site navigation and login into our
requirements. But we can put some extra time because a lot of
innovation is in the requirements of a new application.

The overall purpose of this is to create small applications (modules?)
that we can pickup and move without any much dependence on the older
environment (I especially want to get away from client variables).

Any ideas for a framework that can support this.

And as a followup any thoughts on accessing variables from another
site that has client variables and utilizing them in a site that
doesn't. . . (remote CFC probably will work . . . maybe)

-Joshua O'Connor-Rose
-All is Good

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320769
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Limiting RSS Records

2009-03-20 Thread Steve LaBadie

I am pulling an RSS feed from a 3rd party events calendar and want to
limit how many events show on a page. The only control I have at the
moment is to set the day_count which is currently set to 2. Any
help/guidance would be appreciated.

 

Here is my code:

 

cfhttp
url=http://esuevents.admin.esu.edu/r25ws/wrd/run/hot_event.xml?day_coun
t=2otransform=RSSHotEvents.xsl method=get/cfhttp

cfset objRSS = xmlParse(cfhttp.filecontent) /

cfset Item_Length = arraylen(objRSS.rss.channel.item) /

cfloop index=i from=1 to=#Item_Length# step=1

cftry

p class=eventsspan class=newstitle

a class=eventlink a
onClick=javascript:window.open('cfoutput#objRSS.rss.channel.item[i].l
ink.xmltext#/cfoutput','Event','height=450,width=625,toolbar=no,menuba
r=no,status=no,location=no,directories=no,titlebar=no,resizable=yes,scro
llbars=yes'); return false; href=cfoutput
#objRSS.rss.channel.item[i].link.xmltext# /cfoutput

cfset pubdate = #objRSS.rss.channel.item[i].date.xmltext# /

cfset date = #DateFormat(date,mm/dd/)# /

cfoutput #date# /cfoutputbr /

cfoutput #objRSS.rss.channel.item[i].title.xmltext# /cfoutput

/a/spanbr /

cfoutput #objRSS.rss.channel.item[i].space.xmltext#/cfoutput

br /strong|/strong a href=cfoutput
#objRSS.rss.channel.item[i].link.xmltext# /cfoutput
class=eventlinkmore/a/p

cfcatch type=any/cfcatch

/cftry

/cfloop

 

Steve LaBadie, Web Manager

East Stroudsburg University

200 Prospect St.

East Stroudsburg, Pa 18301

570-422-3999

http://www.esu.edu

slaba...@po-box.esu.edu

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320770
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Limiting RSS Records

2009-03-20 Thread John M Bliss

cfif arraylen(objRSS.rss.channel.item) LT [insert limit here]
   cfset Item_Length = arraylen(objRSS.rss.channel.item) /
cfelse
   cfset Item_Length = [insert limit here] /
/cfif

2009/3/20 Steve LaBadie slaba...@po-box.esu.edu


 I am pulling an RSS feed from a 3rd party events calendar and want to
 limit how many events show on a page. The only control I have at the
 moment is to set the day_count which is currently set to 2. Any
 help/guidance would be appreciated.



 Here is my code:



 cfhttp
 url=http://esuevents.admin.esu.edu/r25ws/wrd/run/hot_event.xml?day_coun
 t=2otransform=RSSHotEvents.xslhttp://esuevents.admin.esu.edu/r25ws/wrd/run/hot_event.xml?day_coun%0At=2otransform=RSSHotEvents.xsl
 method=get/cfhttp

 cfset objRSS = xmlParse(cfhttp.filecontent) /

 cfset Item_Length = arraylen(objRSS.rss.channel.item) /

 cfloop index=i from=1 to=#Item_Length# step=1

 cftry

 p class=eventsspan class=newstitle

 a class=eventlink a
 onClick=javascript:window.open('cfoutput#objRSS.rss.channel.item[i].l
 ink.xmltext#/cfoutput','Event','height=450,width=625,toolbar=no,menuba
 r=no,status=no,location=no,directories=no,titlebar=no,resizable=yes,scro
 llbars=yes'); return false; href=cfoutput
 #objRSS.rss.channel.item[i].link.xmltext# /cfoutput

 cfset pubdate = #objRSS.rss.channel.item[i].date.xmltext# /

 cfset date = #DateFormat(date,mm/dd/)# /

 cfoutput #date# /cfoutputbr /

 cfoutput #objRSS.rss.channel.item[i].title.xmltext# /cfoutput

 /a/spanbr /

 cfoutput #objRSS.rss.channel.item[i].space.xmltext#/cfoutput

 br /strong|/strong a href=cfoutput
 #objRSS.rss.channel.item[i].link.xmltext# /cfoutput
 class=eventlinkmore/a/p

 cfcatch type=any/cfcatch

 /cftry

 /cfloop



 Steve LaBadie, Web Manager

 East Stroudsburg University

 200 Prospect St.

 East Stroudsburg, Pa 18301

 570-422-3999

 http://www.esu.edu

 slaba...@po-box.esu.edu





 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320771
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Limiting RSS Records

2009-03-20 Thread Charlie Griefer

2009/3/20 Steve LaBadie slaba...@po-box.esu.edu


 I am pulling an RSS feed from a 3rd party events calendar and want to
 limit how many events show on a page. The only control I have at the
 moment is to set the day_count which is currently set to 2. Any
 help/guidance would be appreciated.


loop to whatever number you want to limit to, instead of #Item_Length# in
your cfloop?

-- 
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320772
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Limiting RSS Records

2009-03-20 Thread Burns, John D

Just change you loop to loop from 1 to your page limit instead of
#item_length#. Then you'd have to handle the paging though.

-Original Message-
From: Steve LaBadie [mailto:slaba...@po-box.esu.edu] 
Sent: Friday, March 20, 2009 12:04 PM
To: cf-talk
Subject: Limiting RSS Records


I am pulling an RSS feed from a 3rd party events calendar and want to
limit how many events show on a page. The only control I have at the
moment is to set the day_count which is currently set to 2. Any
help/guidance would be appreciated.

 

Here is my code:

 

cfhttp
url=http://esuevents.admin.esu.edu/r25ws/wrd/run/hot_event.xml?day_coun
t=2otransform=RSSHotEvents.xsl method=get/cfhttp

cfset objRSS = xmlParse(cfhttp.filecontent) /

cfset Item_Length = arraylen(objRSS.rss.channel.item) /

cfloop index=i from=1 to=#Item_Length# step=1

cftry

p class=eventsspan class=newstitle

a class=eventlink a
onClick=javascript:window.open('cfoutput#objRSS.rss.channel.item[i].l
ink.xmltext#/cfoutput','Event','height=450,width=625,toolbar=no,menuba
r=no,status=no,location=no,directories=no,titlebar=no,resizable=yes,scro
llbars=yes'); return false; href=cfoutput
#objRSS.rss.channel.item[i].link.xmltext# /cfoutput

cfset pubdate = #objRSS.rss.channel.item[i].date.xmltext# /

cfset date = #DateFormat(date,mm/dd/)# /

cfoutput #date# /cfoutputbr /

cfoutput #objRSS.rss.channel.item[i].title.xmltext# /cfoutput

/a/spanbr /

cfoutput #objRSS.rss.channel.item[i].space.xmltext#/cfoutput

br /strong|/strong a href=cfoutput
#objRSS.rss.channel.item[i].link.xmltext# /cfoutput
class=eventlinkmore/a/p

cfcatch type=any/cfcatch

/cftry

/cfloop

 

Steve LaBadie, Web Manager

East Stroudsburg University

200 Prospect St.

East Stroudsburg, Pa 18301

570-422-3999

http://www.esu.edu

slaba...@po-box.esu.edu

 





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320773
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: String to List?

2009-03-20 Thread Dominic Watson

Interesting stuff - vodoo regex wonders :)

Dominic


 Running on CF8, I used cftimer to test execution time on a string 360K long 
 (all alphanumerics, just alphabet appended with 1 to 0 and concatenated 
 10,000 times).  No cfdump or output; just a cfset statement.

 My original function - over 60 seconds, times out.  this.s**tCan().
 ArrayToList( myString.toCharArray() ) - 188 ms
 StringToDelimListRE() (the one with the ASCII breasts (Hah, I missed that)) - 
 172 ms
 listFromChars() - 125 ms

 I'm not 100% positive on which ones will/will not accept non-alphanumerics in 
 the string; didn't test for that in all cases.  Anyone else care to time 
 these out?  In any ase, there's something to be said for using only 1 line of 
 code - well worth the price of a few millseconds in my book, so long as I 
 don't have to run this process on War  Peace...

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320774
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Updating a Verity Collection on a remote UNIX server

2009-03-20 Thread Joe None

Hello,

I've had a Verity Collection created on a UNIX server and because I don't have 
access to the CF Admin, I have to update the collection through code. Here's 
what I have so far (that doesn't seem to be working).

cfindex collection=myColl action=refresh extensions=.cfm, .pdf 
type=path key=/export/home/coldfusionmx7/verity/collections recurse=yes

I'm not seeing any error but its not refreshing either, just taking a second or 
two and then nothing. What log file in UNIX should I be looking in for this? I 
do have access to the server files so if I know where to look for an error, I 
can go from there. Thnx 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320775
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Good CF Hosting Company in Australia

2009-03-20 Thread Matthew Allen

Hi all,

We're looking at hosting a number of our websites in Australia a.) because were 
setting up an office in Sydney and b.) we have a large client base in that part 
of the world.

Any pointers of a good host in Australia or in Asia Pacific area for that 
matter?

Many thanks,

Matt 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320776
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Limiting RSS Records

2009-03-20 Thread Steve LaBadie

Thanks Everyone

Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
http://www.esu.edu
slaba...@po-box.esu.edu
-Original Message-
From: Burns, John D [mailto:john.bu...@wyle.com] 
Sent: Friday, March 20, 2009 12:19 PM
To: cf-talk
Subject: RE: Limiting RSS Records


Just change you loop to loop from 1 to your page limit instead of
#item_length#. Then you'd have to handle the paging though.

-Original Message-
From: Steve LaBadie [mailto:slaba...@po-box.esu.edu] 
Sent: Friday, March 20, 2009 12:04 PM
To: cf-talk
Subject: Limiting RSS Records


I am pulling an RSS feed from a 3rd party events calendar and want to
limit how many events show on a page. The only control I have at the
moment is to set the day_count which is currently set to 2. Any
help/guidance would be appreciated.

 

Here is my code:

 

cfhttp
url=http://esuevents.admin.esu.edu/r25ws/wrd/run/hot_event.xml?day_coun
t=2otransform=RSSHotEvents.xsl method=get/cfhttp

cfset objRSS = xmlParse(cfhttp.filecontent) /

cfset Item_Length = arraylen(objRSS.rss.channel.item) /

cfloop index=i from=1 to=#Item_Length# step=1

cftry

p class=eventsspan class=newstitle

a class=eventlink a
onClick=javascript:window.open('cfoutput#objRSS.rss.channel.item[i].l
ink.xmltext#/cfoutput','Event','height=450,width=625,toolbar=no,menuba
r=no,status=no,location=no,directories=no,titlebar=no,resizable=yes,scro
llbars=yes'); return false; href=cfoutput
#objRSS.rss.channel.item[i].link.xmltext# /cfoutput

cfset pubdate = #objRSS.rss.channel.item[i].date.xmltext# /

cfset date = #DateFormat(date,mm/dd/)# /

cfoutput #date# /cfoutputbr /

cfoutput #objRSS.rss.channel.item[i].title.xmltext# /cfoutput

/a/spanbr /

cfoutput #objRSS.rss.channel.item[i].space.xmltext#/cfoutput

br /strong|/strong a href=cfoutput
#objRSS.rss.channel.item[i].link.xmltext# /cfoutput
class=eventlinkmore/a/p

cfcatch type=any/cfcatch

/cftry

/cfloop

 

Steve LaBadie, Web Manager

East Stroudsburg University

200 Prospect St.

East Stroudsburg, Pa 18301

570-422-3999

http://www.esu.edu

slaba...@po-box.esu.edu

 







~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320777
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Good CF Hosting Company in Australia

2009-03-20 Thread Maureen

AFP Webworks
http://afpwebworks.com

On Fri, Mar 20, 2009 at 11:53 AM, Matthew Allen a.matthe...@yahoo.com wrote:

 Hi all,

 We're looking at hosting a number of our websites in Australia a.) because 
 were setting up an office in Sydney and b.) we have a large client base in 
 that part of the world.

 Any pointers of a good host in Australia or in Asia Pacific area for that 
 matter?

 Many thanks,

 Matt

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320778
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: refresh session in ajax application

2009-03-20 Thread Richard White

Thanks andrew, this makes a lot of sense we are sure this would have solved it

richard

 could be a caching issue in that sometimes the browser will say Heh! 
 I just got that identical response 5 mins ago from that url, no need 
 to travel to the server here is the response I got last time! 
 
 Try adding a date time string to the javascript that initiates the 
 call.
 
 Test your function to see if it actually is getting the call - maybe 
 the browser is just returning its cache - you could add a script to 
 the server function that recorded some session data into a database.
 
 Andrew.
 
  Hi,
  
  we have an ajax application and to refresh the session we make a 
  remote call to the following function on the server, which simply 
  returns true:
  
  cffunction name=refreshSession access=remote output=false 
  returntype=boolean hint=is just called to reset session
  cfreturn true/
  /cffunction
  
  we are having intermittent problems where sometimes the server 
 session 
  timeouts out even though we make a call to this function, indicating 
 
  it is not being refreshed correctly.
  
  would the function above actually keep the session alive? if not 
 what 
  should we be doing?
  
  thanks 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320779
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


cffile name of uploaded file

2009-03-20 Thread Nupur Gupta

HI,
I am using cffile to upload a file to the server. The user picks a file,
clicks a button, and the file is uploaded. However, how can I find the name
of the file that he chose?
Thanks


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320780
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cffile name of uploaded file

2009-03-20 Thread John M Bliss

http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_f_10.html#3540091

Parameter - Description
 attemptedServerFile - Initial name ColdFusion used when attempting to save
 a file
 serverFile - Filename of the file saved on the server


On Fri, Mar 20, 2009 at 3:11 PM, Nupur Gupta nupurgupta0...@gmail.comwrote:


 HI,
 I am using cffile to upload a file to the server. The user picks a file,
 clicks a button, and the file is uploaded. However, how can I find the name
 of the file that he chose?
 Thanks


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320781
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cffile name of uploaded file

2009-03-20 Thread Robert Harrison

#clientfile# - File name of original file
#serverfile# - File as named on server


Robert B. Harrison
Director of Interactive Services
Austin  Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be .

Plug in to our blog: AW Unplugged
http://www.austin-williams.com/unplugged


-Original Message-
From: Nupur Gupta [mailto:nupurgupta0...@gmail.com] 
Sent: Friday, March 20, 2009 4:11 PM
To: cf-talk
Subject: cffile name of uploaded file


HI,
I am using cffile to upload a file to the server. The user picks a file,
clicks a button, and the file is uploaded. However, how can I find the name
of the file that he chose?
Thanks




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320782
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cffile name of uploaded file

2009-03-20 Thread Roger Austin

Nupur Gupta wrote:
 HI,
 I am using cffile to upload a file to the server. The user picks a file,
 clicks a button, and the file is uploaded. However, how can I find the name
 of the file that he chose?
 Thanks

cffile.clientfile

http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p35.htm#wp3540091

-- 
Visit http://www.misshunt.com/ for fun and creative items including
the famous Clean/Dirty dishwasher magnet, now available in velcro.
Our new personal site: http://home.roadrunner.com/~rogernileen/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320783
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cffile name of uploaded file

2009-03-20 Thread William

Goto
http://wsoncf.blogspot.com
Uploading blog

-Original Message-
From: Nupur Gupta nupurgupta0...@gmail.com
Sent: Friday, March 20, 2009 1:11 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: cffile name of uploaded file


HI,
I am using cffile to upload a file to the server. The user picks a file,
clicks a button, and the file is uploaded. However, how can I find the name
of the file that he chose?
Thanks




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320784
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: refresh session in ajax application

2009-03-20 Thread Andrew Grosset

glad to help, I use JSMX by http://www.lalabird.com/

that appends a date time string by design because IE browsers like to cache.

Andrew.

Thanks andrew, this makes a lot of sense we are sure this would have solved it

richard 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320785
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Kludge to Clean; framework help

2009-03-20 Thread s. isaac dealey

Hi Josh, 

One of the design concepts for the onTap framework is that it allows you
to migrate individual pages of an application gradually as needed. You
may be able to get that done to some extent as well with some other open
source frameworks like recent versions of FuseBox, although the
front-controller may make it more of a challenge, because it may mean
changing a lot of the URLs in links and forms in your application or
creating mod-rewrite rules. The design of the onTap framework by
comparison will allow you to migrate to the framework without changing
any of the URLs in your application. That should help since you can't
afford to redesign your navigation or login. 

(I hear there's work on adding event beans(?) in an upcoming version
of Fusebox that will allow it to work more like the onTap framework and
make migrating to easier.)

The framework does have its own Application.cfc, which means you would
be moving up from your Application.cfm, however, the framework design
also supports a tiered onRequestStart event that should make it easy to
migrate your existing Application.cfm code structure into the framework.

You can download the latest onTap framework build from
http://ontap.riaforge.org 

With regard to accessing variables from another site that uses client
variables, there are a variety of options. Syncing the sessions between
sites like that is always a bit of a challenge. I might look into oAuth
(I believe there's a CF project for it on RIAForge). I'm hesitant to
offer more specific suggestions without knowing more about your
particular needs. :) 

Good luck! 
ike

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 817.385.0301

http://onTap.riaforge.org/blog



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320786
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Refresh coldfusion form

2009-03-20 Thread Nupur Gupta

Thanks for all your help.

Another problem - I have a coldfusion page, which uploads a file. Then the
code does some processing on this. I would like to reload my page (this will
display updated data). How can I do this? There is no button to be pressed
etc...
Thanks


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320787
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Refresh coldfusion form

2009-03-20 Thread Peter Boughton

Look at cflocation tag for redirecting back to the form.

To have the form pre-populated, set values of each field to #form.whatever#.
Use cfparam name=form.whatever default=/ to ensure variables exist before 
form is first submitted.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320788
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


How do you get motivated at work?

2009-03-20 Thread henry ho

After writing CFC's after CFC's, CFM's after CFM's, what are things that really 
motivate you at work?

my blog entry of the day: 
http://henrylearnstorock.blogspot.com/2009/03/how-do-you-get-motivated-at-work.html
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320789
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How do you get motivated at work?

2009-03-20 Thread Dave Watts

 After writing CFC's after CFC's, CFM's after CFM's, what are things that 
 really motivate you at work?

 my blog entry of the day: 
 http://henrylearnstorock.blogspot.com/2009/03/how-do-you-get-motivated-at-work.html

I find that posting off-topic messages to technical lists motivates me.

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

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

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320790
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How do you get motivated at work?

2009-03-20 Thread Gerald Guido

After writing CFC's after CFC's, CFM's after CFM's, what are things that
really motivate you at work?

Fear mostly.

Oh wait... You mean other than the fear of getting laid off during difficult
economic times?

In that case. Beer.

G!

On Fri, Mar 20, 2009 at 10:07 PM, henry ho henr...@doteasy.com wrote:

 After writing CFC's after CFC's, CFM's after CFM's, what are things that
 really motivate you at work?




-- 
Gerald Guido
http://www.myinternetisbroken.com


To invent, you need a good imagination and a pile of junk.
-- Thomas A. Edison


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320791
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4