I do not believe you can use cfinvoke to create instances of Java classes--
Only CFC's.
Try http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311779
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.c
Hello folks,
I'm converting a CFC to use instead of createObject becase of a
hosting provider's restrictions. When using cfinvoke, ColdFusion (v8 Developer
edition, under Windows 2003 Server) does not see standard Java classes;
however, when using createObject, there does not appear to be a p
Hello folks,
I'm converting a CFC to use instead of createObject becase of a
hosting provider's restrictions. When using cfinvoke, ColdFusion (v8 Developer
edition, under Windows 2003 Server) does not see standard Java classes;
however, when using createObject, there does not appear to be a p
Ah-ha! I knew it!
> -Original Message-
> From: Azadi Saryev [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2008 9:54 PM
> To: CF-Talk
> Subject: Re: Pre-filling FileField Values
>
> there are also commercial java applets out there that allow a user to
> select multiple files at o
Well, I just set up something that to say:
"You're about to upload xyz (file or folder).
Are you sure this is what you want to do?"
Yes No
Of course I don't want all that on my server,
so maybe I would have to limit the name of the folder
their uploading to a specific name.
Whatever...I'm ti
Is there a way to make the start of one thread
conditional upon the ending of a previous thread?
I want to keep only one thread at a time running
and would like to set up a series of threads to run,
but only one at a time.
I've been doing this with scheduled tasks and emailing
completion to mysel
there are also commercial java applets out there that allow a user to
select multiple files at once (though not just pointing to the folder
containing the files - actually selecting the files inside the folder,
but they can click on and select multiple files in one 'select files'
window, or in some
> How would the "one folder" method be more risky than the "one
> file" method?
If they're still clicking and selecting then it isn't more risk per se, but
creates issues in usability for the user. If they're not careful they could
theoretically upload their entire My Documents folder without re
I hear what you're saying. I just like to rail against the limitations some.
"Whether 'tis nobler in the mind to suffer the slings and arrows of outrageous
misfortune,
or to take arms against a sea of troubles and by opposing end them..."
> -Original Message-
> From: Brian Kotek [mail
Oh, Dave... I don't want to have to learn something new right now.
I'm trying too hard to keep CF8, CFEclipse, SVN, hand-coding everything,
and CSS-layout sites working correctly in my brain.
You're just trying to give me a migraine! :o)
Before I learn another app right now, my clients will have
> The hackers see it as a golden opportunity to do
> a drive-by upload of your entire hard drive.
But why is there more risk for a user to upload a single directory, and *only*
a single directory of their choosing than to upload single files. Is it just
to protect them from themselves? With the
Sounds like a good idea!
> -Original Message-
> From: Justin Scott [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2008 7:07 PM
> To: CF-Talk
> Subject: Re: Pre-filling FileField Values
>
> > Ha! Claude! Are you kidding! I'll bet if I asked all of my
> > clients to zip up a fold
On Thu, Aug 28, 2008 at 7:03 PM, Rick Faircloth <[EMAIL PROTECTED]>wrote:
> > the user still has to explicitly choose a file value to put into it
>
> And that's good...the user should know exactly what they're uploading
> and be able to control that.
>
> However, if I want to take responsibility t
> Ha! Claude! Are you kidding! I'll bet if I asked all of my
> clients to zip up a folder of folders, only 10% would know
> how to do it without in-depth instruction...
For those types I generally just deploy an FTP account and craft a URL
that they can click on such as:
ftp://user:[EMAIL PROT
> but at least for this application, it doesn't look like it
> is asking too much ;-)
Ha! Claude! Are you kidding! I'll bet if I asked all of my
clients to zip up a folder of folders, only 10% would know
how to do it without in-depth instruction...
> -Original Message-
> From: Claude S
> However, if I want to take responsibility to designate an entire folder
> of files for upload, I should be able to do that, too. Not just one file
> at a time, but choose the folder and all its contents.
>
> Why not?
I think you're completely missing the whole security issue that would be
cre
> However, if I want to take responsibility to designate an
> entire folder of files for upload, I should be able to do
> that, too. Not just one file at a time, but choose the
> folder and all its contents.
Because browsers weren't designed to allow you to do that. If you want to
escape the l
> the user still has to explicitly choose a file value to put into it
And that's good...the user should know exactly what they're uploading
and be able to control that.
However, if I want to take responsibility to designate an entire folder
of files for upload, I should be able to do that, too.
Yes, getting the basic standards which restrict functionality
would be another whole game...
> -Original Message-
> From: Ian Skinner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2008 6:05 PM
> To: CF-Talk
> Subject: Re: Pre-filling FileField Values
>
> Rick Faircloth wrote:
> >
The bottom line is that you cannot use JavaScript to set the value of a file
field. You just can't do it. The browser makers went out of their way to
make sure that this is impossible due to the devastating security issues
that would result if it were allowed.
There is absolutely no way to insert
Dave, thanks for your help but I finally got it to work. Just in case you are
interested:
http://#Variables.googleIP#:8000/EnterpriseController";>
Login Failed
Login Success
Rick Faircloth wrote:
> This issues just sounds like it could be addressed
> by placing limitations on what type of files are acceptable
> in the upload. Such as with cffile... I don't really know.
But the point is that would happily accept anything right
now. ColdFusion does not care and is *
>>Sometimes clients want to load 20 photos or more of a property
and they complain about having to select each photo individually.
Exact, one should be able to upload "every thing like *.jpg in a
directory, or select several files in it.
I've implemented another solution were clients can send a
> process them into your site. (if you resize/thumbnail/etc)
Oh, yes, definitely. The image processing of CF 8 is the main reason
why I upgraded from CF 4.5! I was s glad to see those capabilities!
> -Original Message-
> From: William Seiter [mailto:[EMAIL PROTECTED]
> Sent: Thur
Thanks for the suggestion, William. I'll keep that in my
notes as a solution next time I'm confronted with that issue.
Rick
> -Original Message-
> From: William Seiter [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2008 3:57 PM
> To: CF-Talk
> Subject: Re: Pre-filling FileField V
This issues just sounds like it could be addressed
by placing limitations on what type of files are acceptable
in the upload. Such as with cffile... I don't really know.
> -Original Message-
> From: Ian Skinner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2008 3:51 PM
> To: CF-T
> tool creates multiple file controls, then a user has to populate them
> with files, then the button submits them all.
Very well could be. Like I said, I don't understand the js stuff enough
to know. I did leave a comment for him, however, which was moderated, so
I hope to hear from him with a
> Why yes, yes there is a way to stop this. Add the following line to
> your XSLT code Ian.
>
>
Thanks for the follow up, google will be pleased :)
Dominic
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic
I believe the Zip functionality that was suggested to the CFnewbie poster would
be an ideal solution for your 20 photos.
You can instruct the client to zip all of the photos into a zip file and then
upload using the form.
You can check to see if it is a .zip file, if it is, you can unzip it to
Ian Skinner wrote:
> But I got to admit all that iframe and separate form stuff is an awful
> lot of work to do this rather simple functionality.
I just read through the post for that multiple file loader JavaScript.
The problem he is trying to get around using multiple forms is size
limits an
>
>There are javascript solutions for this, so why can't CF have one
>that doesn't pose a security risk, if the javascript solutions don't?
>
>Rick
It should be pointed out that CF is not involved in this limitation at all. If
you want to make a case for change it would need to be made with the
Well the way I read it, but I have not looked at the site. Is that this
tool creates multiple file controls, then a user has to populate them
with files, then the button submits them all.
But I got to admit all that iframe and separate form stuff is an awful
lot of work to do this rather simpl
> JavaScript can easily do this, I am
> unclear on what the benefit of making them all separate forms in iframes
> is, but I've done similar.
The iframes seems to be his method to allow triggering of
forms submission one-after-another.
I've got my cloning solution for easily creating additional f
> Just reading your posted description, this is a way to just create
> multiple file upload controls.
That's not the way I read it.
Again, the author's description:
The trick of my method is using multiple forms,
and using a hidden frame as the target of the form post.
I am creating multiple for
I wrote a multi uploader in flex / cf. If you need the source I could
probably help you out.
http://cfmu.riaforge.org
Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org
On Thu, Aug 28, 2008 at 3:03 PM, Ian Skinner <[EMAIL PROTECTED]> wrote:
> Rick Faircloth wrote:
> > (If I understand
> I thought perhaps there was a way to auto-fill with a
> cfdirectory-generated list and corresponding fields for
> each file that would be pre-filled, then all the user would
First, CFDIRECTORY only has access to the files and directories on the
server, not the client, so you wouldn't be able to
Vivio has been researching processors for the next few VPS platform
servers that we will be purchasing, and I was wondering if anyone knows
of any direct performance comparisons between Intel and AMD with regards
to CFML processing.
In Vivio's research, we found the following benchmark which illus
Rick Faircloth wrote:
> (If I understand it all with only a cursory review.)
Just reading your posted description, this is a way to just create
multiple file upload controls. JavaScript can easily do this, I am
unclear on what the benefit of making them all separate forms in iframes
is, but I'
> unique duplicates
???
> -Original Message-
> From: Will Tomlinson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2008 2:40 PM
> To: CF-Talk
> Subject: Re: Listing then Deleting Duplicates
>
> > I have a big table with duplicate entries. I would like to list the
> > unique dup
> I've never seen javascript that could do this
Now, I'm not a javascript code, and barely know how
to use jQuery, the most user-friendly js system I've seen.
However, after a little searching, I ran across this
script, which the author says will automatically generate
the needed number of filefie
> I have a big table with duplicate entries. I would like to list the
> unique duplicates onto the screen before deleting them. Then I would
> like to add a button to the bottom of the screen that allows me to
> start the dups deleting process. The table has an id column, patient
> chart number
Actually, I was just responding to someone's request
on the cf-newbie list for a way to upload an entire directory
at once.
I thought perhaps there was a way to auto-fill with a
cfdirectory-generated list and corresponding fields for
each file that would be pre-filled, then all the user would
have
Dan Vega wrote:
> I would be interested in your use case for this. As everyone has already
> pointed out this is a huge security risk but even from a user standpoint it
> doesn't make sense to me why you would want to do this?
I've run into this request when working with corporate web
application
>Can't we just all be nice? :o)
No. See the recent string of SQL Injection attacks for details.
:)
~Brad
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doub
Rick Faircloth wrote:
> I see your point.
>
> How do the multiple file uploaders in javascript or flash
> get around this problem?
I've never seen javascript that could do this, once a bug in I.E. that
allowed to was closed.
I did once read about an ActiveX that purported to allow this when used
>From a browser standpoint, your hands are tied. If you can convince your
users to install an ActiveX control or something then you can have free
reign.
I think Flash might give you more control, but I'm not too familiar.
Check out the code behind this to see:
http://www.asfusion.com/blog/entr
Sigh... security...wouldn't need so much of it if we could
all be trusted. Can't we just all be nice? :o)
> -Original Message-
> From: Claude Schneegans [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2008 1:45 PM
> To: CF-Talk
> Subject: Re: Pre-filling FileField Values
>
> >
Thanks for all suggestions.
After some fiddling around I found "Garamond 3" did it, but... Not in a
linked style sheet.
Seems to work OK if the styles are in a
This is extremely off topic but what is p with that email address Jessica!
ha :0
Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org
On Thu, Aug 28, 2008 at 12:10 PM, Jessica Kennedy <
[EMAIL PROTECTED]> wrote:
> THANK YOU! That worked perfectly!
>
> > > I need to write a .csv file wi
I would be interested in your use case for this. As everyone has already
pointed out this is a huge security risk but even from a user standpoint it
doesn't make sense to me why you would want to do this?
Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org
On Thu, Aug 28, 2008 at 1:46 P
I have a big table with duplicate entries. I would like to list the unique
duplicates onto the screen before deleting them. Then I would like to add a
button to the bottom of the screen that allows me to start the dups deleting
process. The table has an id column, patient chart number, first nam
I see your point.
How do the multiple file uploaders in javascript or flash
get around this problem?
> -Original Message-
> From: Brad Wood [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2008 1:46 PM
> To: CF-Talk
> Subject: Re: Pre-filling FileField Values
>
> No. It's a secur
Ian Skinner wrote:
> Is there a way to stop this code from producing an unnecessary XML
> declaration.
Why yes, yes there is a way to stop this. Add the following line to
your XSLT code Ian.
~|
Adobe® ColdFusion® 8 softwar
>>and all they would need
to do was submit the form.
Not even, this could be done in an onload event ;-)
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doublec
>>Is there some way to pre-fill a filefield value?
Forget it.
Imagine it was possible, then a page could get directly some very
sensitive files
like your system files, or address book...
~|
Adobe® ColdFusion® 8 software 8 is th
No. It's a security hole. Imagine being able to pre-fill it with C:\my
documents\sensitive file.doc and then hiding the form field so they never
even knew about it.
You could upload any file you wanted from your user and all they would need
to do was submit the form. Well, heck, you can autom
Is there some way to pre-fill a filefield value?
I'm trying this:
#i#
filenameList.recordcount =
#filenameList.recordcount#
And it gives me the correctly rendered HTML:
But when the filefields are displayed in the browser,
the
THANK YOU! That worked perfectly!
> > I need to write a .csv file with all data encased in quotation marks,
> the problem is that cffile output uses double quotes to define the
> data to input. How can I get around this?? Geez, i know it's got to
> be something easy...
>
> You can either d
what i did a while ago (before I discovered sIFR) a client was:
- create a separate image for each letter and punctuation mark in the
font they wanted to use, naming each image file according to what is in
it (A.png, B.png, ect).
NOTE: the font they used was uppercase-only, so i was spared creatin
2 things to look at...
1) the space might be an issue 'garamond 3' might work.
2)it might be a license issue regarding distribution of the font.. But I
have no idea how that works.
3) Is the font installed on the machine, I am not sure if by default the
font is embedded into the PDF or not.
-
try
font-family: "Garamond Three", serif
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Richard Meredith-Hardy wrote:
> Client wants to use the font "Garamond three" in CF8 generated PDF's
>
> The font is available in the CF8 administrator
> Font Family: garamond 3
> Font Face: Garamond
Client wants to use the font "Garamond three" in CF8 generated PDF's
The font is available in the CF8 administrator
Font Family: garamond 3
Font Face: Garamond Three
Postscript Name: GaramondThree
Font Type: TRUETYPE
Usable in: PDF/Flashpaper
This is in the style sheet
..despatchfmB {
font
LoL,
Sorry I did try not to imply you did, it was more a case of what could
happen if you do. And the dangers it poses.
--
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273
-Original Message-
From: Pete Ruckelshaus [mailto:[EMA
Is there a way to stop this code from producing an unnecessary XML
declaration. When I run the following code it produces an XML
declaration after the body tag.
Is there someway to control this, or do I just need to do some string parsing
after the transformation?
http://www.w3.org/199
That took care of it! Thanks Justin it's working like a charm, off to
storm the castle now ;)
Bob
-Original Message-
From: Justin Scott [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2008 9:59 AM
To: CF-Talk
Subject: Re: cfmail woes
> "Error","scheduler-2","08/27/08","13:39:08",
Yes sir ;)
Hello World!
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2008 9:58 AM
To: CF-Talk
Subject: Re: cfmail woes
Have you confirmed that the e-mail contains a proper e-mail address in
the "TO" property? That is what I see i
C Wrote:> Not to rule out other options, but try setting the background color
when the image object is created: > > Though, I do not think you want to create the images every time
the page loads.
That helps, but I still need help. It did do the trick, but is it the best
solution? I am not goin
Justin Scott wrote:
>> "Error","scheduler-2","08/27/08","13:39:08",,"Invalid Addresses; nested
>> exception is: class javax.mail.SendFailedException: 550 5.7.1 Unable to
>> relay for [EMAIL PROTECTED] "
>
> It sounds as though your SMTP server isn't configured to relay messages
> for your ColdFus
> "Error","scheduler-2","08/27/08","13:39:08",,"Invalid Addresses; nested
> exception is: class javax.mail.SendFailedException: 550 5.7.1 Unable to
> relay for [EMAIL PROTECTED] "
It sounds as though your SMTP server isn't configured to relay messages
for your ColdFusion server. If this SMTP rel
Have you confirmed that the e-mail contains a proper e-mail address in
the "TO" property? That is what I see in the error message.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Fre
Hi folks,
I've run into an issue I cannot seem to resolve with sending mail via
cfmail here. I'm trying to send a barebones test email and keep running
into the following after initially setting the mail server to 127.0.0.1
and then setting it to the actual IP
>From the cf mail log-
Inval
Hi,
I saw this issue was mentioned before, but there was not answered
I use IE7 and trying to create and download excel file
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-disposition","attachment; filename=Book.xls");
I get a yellow bar "To help protect your sec
Hi,
Did you manage to figure up this issue?
I use IE7 and
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-disposition","attachment; filename=Book.xls");
Like you I get a yellow bar "To help protect your security, IE has blocked this
site from downloading files...
Uh, I didn't replace or modify in any way the files in the core coldfusion
application code.
Thanks for playing, though, really. You're a winner no matter what.
Pete
On Thu, Aug 28, 2008 at 3:15 AM, Andrew Scott <[EMAIL PROTECTED]>wrote:
> Well the only thing I can say to this thread.
>
> That
I have a verity search faciaility on one of my sites, and we recently
moved the site to a new server box.Now, when i go to refresh the
indexes I get the following error:
"Unable to create temporary file"
And the error is pointing to the line containint the CFINDEX tag .
I guess this is somet
Randy Johnson - CFConcepts wrote:
> The one linux server Is on Central Time Zone, The other linux server is
> on pacific time zone.
>
> The windows server is on Eastern Time Zone.
you've fallen into timezone hell:
http://www.sustainablegis.com/blog/cfg11n/index.cfm?mode=entry&entry=77223B6A-20
You do realize of course that this is a Coldfusion mailing list and not a
Struts and/or JSP mailing list?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubl
Well the only thing I can say to this thread.
That is your fault (not you directly) for replacing files in the core
Coldfusion code application, mark this as a gentle reminder to everyone
else.
Play with fire and expect to be burnt..
Sorry couldn't resist.
--
Senior Coldfusion Developer
Aegeo
78 matches
Mail list logo