if support and service is important to you then stick with a smaller company
who charges more.
Everyone knows the BIG hosting companies don't have the same level of
support/service as they have 100 x more customers to support, so it is more
customer per support person and the support staff are
Hi Guys - im sure this has been asked before but after hours of searching
through books and google i cant find what im after.
I have created an coldfusion report (.cfr) and set the output to PDF now when i
browse to the report everything works perfectly.
I want to be able to save that report
Have you tried using cfreport and the name attribute to hold the report in a
variable, and then use cffile to save the report to the hard drive?
Regards,
Andrew Scott
http://www.andyscott.id.au/
-Original Message-
From: Anthony Doherty [mailto:anthony.dohe...@oakleafcontracts.com]
I did try that but cfreport displays the report.
I want to be able to just load the report on the sly send the email and then go
to a confirmation page saying the report has been sent
Have you tried using cfreport and the name attribute to hold the report in a
variable, and then use cffile to
Hi Andrew,
I got it sorted using your method - I had tried it before but was using the
wrong path:
See below;
cfreport format=pdf template=purchase_order_priced.cfr
name=purchasedreport /
cffile action=write file=DIRECTOY\priced_order_#url.id#.pdf
output=#purchasedreport# /
Cheers
Pulled
Hi all,
I've tried googling this and haven't had any luck.
Here is the history. I had cf9 multiserver installed on my test laptop. Then I
needed to upgrade from vista 64 to win7 64. So I uninstalled CF and jrun (along
with a bunch of other stuff) and did the upgrade.
Now when I try to install
Hi Folks =)
Trying to upload a file ( word doc ) that is concurrently OPEN in the OS.
Upon upload attempt via cffile coldfusion is seemingly returning a mime type
error:
The MIME type of the uploaded file application/octet-stream was not accepted
by the server.
is there a way to prevent
Hello,
Just a quick Best Practices question. I have a CFC, I call a method and
pass a slew of arguments to it. Internally it calls a private method using
argumentCollection=arguments. My question is, should I repeat the argument
definitions on the private method?
The arguments are
Presumably your private method is being called by multiple methods. It is
definitely much better - at least in terms of documentation - to have those
arguments clearly defined. :-)
If, however, multiple methods do not call that private method, then there is
no need for the private method to
If, however, multiple methods do not call that private method, then there is
no need for the private method to exist.
I wouldn't go as far as that. Private methods like this can serve the
same purpose as functions or subroutines anywhere else - to limit the
amount of code in the main method,
On Mon, Mar 7, 2011 at 11:21 AM, Dave Watts wrote:
If, however, multiple methods do not call that private method, then there
is
no need for the private method to exist.
I wouldn't go as far as that. Private methods like this can serve the
same purpose as functions or subroutines
Nevermind. I just missed one of the registry entries.
Sent from my iPhone
On Mar 7, 2011, at 11:08 AM, Steven Durette st...@durette.org wrote:
~|
Order the Adobe Coldfusion Anthology now!
If you have a lot of arguments, one way to refactor that is to make a
component that encompasses those arguments - essentially a bean, maybe a
couple of beans if the arguments are unrelated. In your first public method,
instantiate that bean with the arguments, then just pass that bean around.
On Mon, Mar 7, 2011 at 9:24 AM, Matt Quackenbush quackfu...@gmail.com wrote:
That's the beauty of refactoring, though. Unless you need to, don't. And
if no other method is calling it (or expected to call it), then it is not
needed. If it becomes needed, refactor and add it in. :-)
I
I generally agree with this notion but I think it starts to fall apart
with more complex methods. You might have a whole routine that only
gets called one place but is complex enough that there are benefits to
breaking it up into multiple methods that have single concerns. Doing
so makes it
On Mon, Mar 7, 2011 at 11:57 AM, Judah McAuley wrote:
On Mon, Mar 7, 2011 at 9:24 AM, Matt Quackenbush wrote:
That's the beauty of refactoring, though. Unless you need to, don't.
And
if no other method is calling it (or expected to call it), then it is not
needed. If it becomes
Hi,
I would like to retrieve the original path of the file upload for the purposes
of grabbing the initial file name and then checking to see how many full stops
(.) are in the original file.
I need this to happen before I process it via CFFILE. Right now the form data
posts back in a cfdump
I would like to retrieve the original path of the file upload for the
purposes of grabbing the initial file name and then checking to see how many
full
stops (.) are in the original file.
I need this to happen before I process it via CFFILE. Right now the form
data posts back in a
Why do you need to do this before you process it with CFFILE?
Because once its uploaded the server hacks off the last (.)
For example:
original file: somefile.mack.txt
renamed file on server: somefile.mack
I would like to retrieve the original path of the file upload for
the purposes
Hello all. Sorry if this is a dumb question but is there any way to align text
in html from top to bottom? In my searches, I found the block-progression
property http://fantasai.inkedblade.net/style/discuss/vertical-text/ but it is
not working.
Thanks
Why do you need to do this before you process it with CFFILE?
Because once its uploaded the server hacks off the last (.)
For example:
original file: somefile.mack.txt
renamed file on server: somefile.mack
By the time your server-side script runs, the file has already been
uploaded.
Please have a look at this post:
http://www.williamoncoldfusion.com/index.php/knowledgebase/file-uploading
If you are referring to the cffile.serverfilename key that is available after
the cffile upload command, that brings back somefile.mack, the extension is in
a different key off of cffile
Disregard - I found it :)
div style=-moz-transform: rotate(90deg); -moz-transform-origin: bottom
left;font-size:30px
This will be rotated 90 degrees.
/div
~|
Order the Adobe Coldfusion Anthology now!
On 3/7/2011 11:40 AM, Don wrote:
Why do you need to do this before you process it with CFFILE?
Because once its uploaded the server hacks off the last (.)
For example:
original file: somefile.mack.txt
renamed file on server: somefile.mack
Well, as Dave indicated, ColdFusion is not
On 3/7/2011 11:54 AM, Torrent Girl wrote:
Disregard - I found it :)
div style=-moz-transform: rotate(90deg); -moz-transform-origin: bottom
left;font-size:30px
This will be rotated 90 degrees.
/div
In Mozilla based browsers.
Thanks guys.
IAN this caught my attention:
The client reads the file from the user's file system and encrypts it
into the header of the request
I've been using fiddler to view the headers and see the data I want :
200
Content-Disposition: form-data; name=b_file; filename=C:\Documents and
William, Ah I get you.
since the extension will be cut off and placed within another variable all I
would have to do post file upload is search the server.filename for a(.). Easy.
Cheers.
Please have a look at this post: http://www.williamoncoldfusion.
On 3/7/2011 12:52 PM, Don wrote:
200
Content-Disposition: form-data; name=b_file; filename=C:\Documents and
Settings\dsdfsd\Desktop\clean up\test.docupload.doc
And that is different from the cffile.clientFile property? Do note that
cffile.clientFile is the full file name,
So here is what we ended up with.
java.args=-server -Xms4096m -Xmx8192m -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=1024m -Dsun.rmi.dgc.client.gcInterval=15
-Dsun.rmi.dgc.server.gcInterval=15 -XX:+UseParallelGC -Xbatch
We tried making max and min perm size the same, but for some
Hi,
I am trying to setup a failover environment for my web application. We are
using CF9 standard and LVS (Linux Virtual Server) as the load balancer (LB). My
web application uses session variables to remember form values posted in a
process (eg would work like a session web shopping cart).
30 matches
Mail list logo