Hopefully it will give you an idea of how I did it though, maybe enough to
do some testing...
Thanks for finding that Denny...I'm not familiar with that
BootstrapClassLoader, but I always enjoy having something new to play around
with.
--- Mary Jo
Denny,
I am glad to see my BootstrapClassLoader discovery is finding a
place in the world, but is this the only place you
found a good place to use it? Dan
~|
Introducing the Fusion Authority Quarterly Update. 80
I used it with JExcelApi until I added it to my class-path, and also with
the
FreeTTS example... generally wherever I want to load a class or jar real
quick like. Ah, I used it with the apache .htpassword file editor as well.
I've used the javaloader.cfc one or twice too... I like how your
Denny,
I looked at the java source and I don't any reason why you can't do
the whole thing in coldfusion. After all its just
arrays and boolean values.
Dan
On 9/9/06, Denny Valliant [EMAIL PROTECTED] wrote:
I used it with JExcelApi until I added it to my class-path, and also with
The java directory stuff might work quite well in this case. Yes,
you
can tell it to only grab directories, and so long as you don't need
file sizes and whatnot, it should be TONs faster than a cfdirectory
call... theoretically...
I went ahead and coded this so it would be available for
Try
isDirectory()
Example
cfset java_io_File = CreateObject(java, java.io.File
).init(C:/CFusionMX7/runtime/lib/cfusion.jar)
cfset listFiles = java_io_File.listFiles()
cfloop from=1 to=#arraylen(java_io_File.listFiles())# index=x
cfoutput#listFiles[x].getName()#
On 9/8/06, Dan Plesse [EMAIL PROTECTED] wrote:
Try
isDirectory()
You can also use a bit more java and create a directory filter.
I think Ben(?) blogged about it, and I managed to get one going
for some tests, so I'll see if the code is lying around.
I don't think it's really much faster
Try
isDirectory()
Yes, I know I can loop through the entire list of files and pull out just the
directories like this, which is basically what I am doing now...was just
looking for a more efficient way to do it. My one client is expecting 20,000+
images which *hopefully* we can get them to
I think Ben(?) blogged about it, and I managed to get one going
for some tests, so I'll see if the code is lying around.
I don't think it's really much faster than the isDirectory() looping
though... IIRC. Man, I really need to get more organizeder. [-=
I'd certainly be interested to see it and
On 9/8/06, Mary Jo Sminkey [EMAIL PROTECTED] wrote:
I think Ben(?) blogged about it, and I managed to get one going
for some tests, so I'll see if the code is lying around.
I don't think it's really much faster than the isDirectory() looping
though... IIRC. Man, I really need to get more
Hey all:
I am using a shopping cart that utilizes an image manager. Basically, this
image manager uses cfdirectory to list all contents of the images directory,
then cfoutputs the directory contents using the cfdirectory result query.
My problem is that now the client has uploaded so many
, Michael [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 2:12 PM
To: CF-Talk
Subject: RE: cfoutput timeout
Importance: High
cfsetting requesttimeout=300 would keep the request running for five
minutes.
On 9/7/06, Ray Champagne [EMAIL PROTECTED] wrote:
Hey all:
I am
Have you attempted using pagination? cf directroy returns a query result
which you can display x amount of records at a time from. There are many cf
techniques to create pagination.
Teddy
On 9/7/06, Ray Champagne [EMAIL PROTECTED] wrote:
Hey all:
I am using a shopping cart that utilizes
:53 PM
To: CF-Talk
Subject: RE: cfoutput timeout
Yea, that (cfsetting) was the first thing that I tried, but it didn't
make a difference. I am assuming since it is a timeout of the cfoutput
tag, not the request itself.
Pagination, while a good idea, would be a PITA to implement.
Any other
anywhere special.
Thanks,
Ray
-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 2:53 PM
To: CF-Talk
Subject: RE: cfoutput timeout
Importance: High
Yea, that (cfsetting) was the first thing that I tried, but it didn't
make
cfsetting requesttimeout=300 would keep the request running for five
minutes.
On 9/7/06, Ray Champagne [EMAIL PROTECTED] wrote:
Hey all:
I am using a shopping cart that utilizes an image manager. Basically,
this image manager uses cfdirectory to list all contents of the images
Other than that, I would somehow split the file names into manageable
lists. Not really paging, but something that shows all files that begin
with the letter A and so on.
There must be a way you can break up the list a bit.
I've run into this with a couple customers of CFWebstore, which I
On 9/7/06, Mary Jo Sminkey [EMAIL PROTECTED] wrote:
get the subdirectories...unless there is some way to use the filter to
*only* retrieve the subdirectories? I'd love to know if there are any
good work-arounds for this. In the meantime I'll just keep advising
people to try and be sure their
The java directory stuff might work quite well in this case. Yes, you
can tell it to only grab directories, and so long as you don't need
file sizes and whatnot, it should be TONs faster than a cfdirectory
call... theoretically...
Yes, it should be a lot faster. Two problems with using it in my
19 matches
Mail list logo