might cause this?Are there certain settings in a browser that might cause this?
Thanks.
Donnie Carvajal
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
on the HTTP_REFERER value.
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
-Original Message-
From: Donnie Carvajal [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 11:41 AM
To: CF-Talk
Subject: CGI.HTTP_REFERER is blank
I have seen examples of the query attribute used in CFMail, but I have only seen it used to display data from a query in one email to be sent to one person.What is the syntax for providing a query attribute with a dynamic to attribute along with a customized welcome message.See below
cfmail
I have data in a table like this:
IDParentIDName
1 0 Top
2 1 Level1
3 1 Level2
4 2 Child1 Of Level2
5 2 Child2 Of Level2
6 3 Child1 Of Level2
So the tree would look
COUNT(DISTINCT [fieldName] is very important to remember when using JOINS. For
example, if you have the query...
SELECT COUNT(A.code) AS total
FROM TableA A INNER JOIN TableB ON A.code = B.code
And you wanted to know how many records in TableA have records in TableB.
If this query returns 10
The only way to get data into a query is to have data in a table. So there are
a couple of options.
1. Create a months table that has 12 records
2. Create a temp table with 12 records
You may also need to create a years table as well.
Then your query would be something like
SELECT year,
I have been trying to write my applications using the 3 tiered method of
development, presentation layer, business logic layer and data access layer. I
am having trouble coming up with an efficient method of displaying information
returned in a query that has multiple records. Correct me if
/6/20/IBO-20--Return-of-the-Iterating-Business-Object-Now-on-RIAForge
http://ibo.riaforge.org/
It is not without it's own problems, but it directly addresses your
problem.
~Brad
Original Message
Subject: Multiple Record Queries and CFCs
From: Donnie Carvajal
I am trying to write a CFC that will handle the population of an array of
components. The CFC is very simple, it has the following properties:
array //Will hold the array of components
componentType //Will hold the type of component the array will hold
Since the returnType for CFFunction and
argument
or the type argument. So I need to add a cfif somewhere to validate that the
object being passed in to be added to the array is the same type as my property
component. This way I can insure every element in the array is of the same
type.
type=any
On Wed, Apr 1, 2009 at 10:24 AM, Donnie
My applications are hosted on multiple servers and I am storing several DAO
components in the Application scope. Basically, whenever a change is made to
any component that is stored in the Application scope and we deploy to the
server farm, I have to restart the application on each server
Almost all of my applications are running on multiple machines and i would like
to use server variables to save things like IP addresses and server names that
can be used for CFHTTP requests or error reporting. These variables would
basically be static and would almost always have the same
Does anyone know how to set colors for the HTML tags in CF Builder? I have
been using HomeSite and I like how the HTML tags, anchor tags, table tags, form
tags, etc. are all different colors.
~|
Want to reach the ColdFusion
Hi Richard,
Thanks for the directions. I checked those settings out before and there does
not appear to be a place to set the tag colors. They come defaulted as a dark
red and there is not a color setting in the preferences that matches.
Were you successful in changing the colors of the
We have an application that excepts a CSV file for data imports, but as I am
sure you know, editing CSV files in notepad is a pain and since Excel loves to
change your data the process can be very cumbersome and painful. So, I was
thinking, if there was an Excel file parser that I could run
Hi Dan,
Yes. Currently I am reading the uploaded CSV file with CFHTTP which returns
the data in a query.
Thanks,
Donnie
The end goal is to convert the file into a query-like struct that you can
loop through taking action on the contents of each line?
On Fri, Aug 7, 2009 at 10:41 AM, Donnie
for this;
although, I think this may be my only choice.
Thanks,
Donnie Carvajal
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http
Hi,
I was looking for a function for encoding javascript output text that would be
similar to the URLEncodedFormat() built in function. I have an app that users
can type in javascript warning messages and there are several characters that
are causing the javascript to break (i.e. CR-LF,
jsstringformat()
Azadi Saryev
On 19/11/2009 00:16, Donnie Carvajal wrote:
Thanks Azadi. I was very confused that nobody wrote anything for this and
that's because they didn't have to.
Thanks again.
~|
Want to reach
I have a site-wide error handler setup for a CF 5 server. I also have one
setup for an MX7 server. The MX7 server will still display the standard debug
information even if the site-wide error handler is triggered. The CF 5 server
will not. Is this a limitation with CF 5 or am I missing a
The way the code is written, the cfif will never be true because it will always
have br in so the length will never be below 4.
Hi all, I understand the gist of cftransaction, but I've tried using
it with a conditional rollback on an action page in the below example
and it doesn't seem to
Nevermind, I read the cfif backwards. I was thinking it was looking for an
empty string. In that case, the cfif will always be true. This doesn't
explain the rollback issue, but once the rollback is fixed, it will always
rollback.
Do you have any commits in your stored procedure? If so,
The way the CFTransaction tag works is CF is putting the TRANSACTION statements
in the T-SQL it sends to the server. So the rollback tag will rollback any
transactions that haven't been committed. You could have 100's of queries
running with Inserts/deletes/updates and everything will
I wanted to repost this. See below. Any help is appreciated.
I have a site-wide error handler setup for a CF 5 server. I also have
one setup for an MX7 server. The MX7 server will still display the
standard debug information even if the site-wide error handler is
triggered. The CF 5
I have an app that is written in ColdFusion 5 and there are several places in
the app where CGI.query_string is used to set the query string on the href of
an anchor tag. I need a clean way to scrub the CGI.query_string variable. I
can't use URLEncodedFormat because all of the ampersands and
://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com
Donnie Carvajal wrote:
I have an app that is written in ColdFusion 5 and there are several
places in the app where CGI.query_string is used to set the query
string on the href of an anchor
We want to add single login access to Google Analytics from our Content
Management System for our clients. I know there is an API for grabbing the
Analytics data, but we are not interested in reproducing the reports. We like
the UI provided by Google. We just want to give our clients a link
I have a question about preferences for importing data and filtering the data
through CFCs. We have functionality in our app to upload a csv file to make
mass adds/updates. From the file, we are loading the data into a database
table. The app has many great CFCs that create beans and DAOs
Does anyone know where the session variables are stored if Coldfusion is
running in a distributed configuration? My assumption is the session variables
are stored on the server running ColdFusion and not the web server, but you
know what they say about assuming.
Thanks,
Donnie
We are setting up another server to add to the server farm for one of our apps
for load balancing. Needless to say, all of the configuration needs to be the
same as the current live servers. Is there a way to transfer the ColdFusion
Configuration from one of the current live servers to the
On Tue, May 18, 2010 at 4:47 PM, Donnie Carvajal wrote:
We are setting up another server to add to the server farm for one
of our apps for load balancing. Needless to say, all of the
configuration needs to be the same as the current live servers. Is
there a way to transfer
Does anyone know of a way to force SSL for all files in a web site? This
solution should handle non-Coldfusion pages such as PDF files as well. I am
using Windows 2003 with IIS.
Thanks,
Donnie
~|
Order the Adobe
I have a client that would like to send out URLs without .cfm. For example,
there is a page in the website called acme.cfm. To access the page, a visitor
would go to http://www.domain.com/acme.cfm. The client would like to also
access acme.cfm by the following URL:
When I loaded CF Builder this morning. All of my files are black and white
with no coloring at all. Does anyone know how to fix this? I've restarted my
computer and reloaded CF Builder. I have also reimported my color file and
still nothing.
Thanks,
Donnie
Thanks Adam,
I'm running a bought license of Version: 1.0.0.274293-8PAxQ5t6E8qAd8c6JDc85JD.
~|
Order the Adobe Coldfusion Anthology now!
I am trying to implement a single sign-on to NetSuite. The user will log into
my CF app and get access to the secure section of my app. There will be a link
to NetSuite that will automatically login to NetSuite. Has anyone ever dealt
with this before? I am using CF 5.5 and it the provided
We are getting rid of our internal email server and I will be losing my SMTP
relay that Coldfusion is using for the server attribute in the CFMAIL tag.
Rest assured, the CFMAIL tag is pulling the SMTP server from ColdFusion
Administrator. What is everyone using for SMTP relay if you aren't
I am trying to make my e-Commerce item links for efficient. For example, I
would like the link for an IPod Tocuh 32 GB to be
http://www.domain.com/ipod_touch_32_gb instead of
http://www.domain.com/store.cfm?i=123456s=789456p=654321. You get the point.
I'm assuming that the url
I am trying to CreateObject for the NetSuite WSDL
https://webservices.netsuite.com/wsdl/v2010_1_0/netsuite.wsdl and I am getting
the Error accessing 3rd Party Web Service.
Any ideas?
Thanks,
Donnie
~|
Order the Adobe
I am trying to CreateObject for the NetSuite WSDL https://webservices.
netsuite.com/wsdl/v2010_1_0/netsuite.wsdl and I am getting the Could not
generate stub objects for web service invocation. .
Any ideas?
Thanks,
Donnie
U
I've successfully created an object using CreateObject(webservice,
https://webservices.netsuite.com/wsdl/v2010_1_0/netsuite.wsdl;) for NetSuite.
There are a ton of classes that were created in the Stubs folder. The NetSuite
documentation indicates that I need some of these classes to create
Thanks Scott. I did dump the variable and the functions parameters are looking
for things like com.netsuite.webservices.platform.core_2010_1.Passport. When I
createObject(java, com.netsuite.webservices.platform.core_2010_1.Passport),
that's when I get the class can not be found error.
Hi Russ,
Thanks for the response. The problem that I am running into is that there is a
Login() method under the NSWS that accepts a parameter of dataType
com.netsuite.webservices.platform.core_2010_1.Passport. There is a class file
under the stubs directory for this dataType. Do I need to
I think I figured out setting up the objects correctly. The next issue that
I'm running into sending the Login request through the webservice which returns
com.netsuite.webservices.platform.messages_2010_1.SessionResponse. Obviously,
an object will not be passed back. The return values is
Does anyone know how to determine which version of Apache Axis an installation
of CF 9 is using?
Thanks,
Donnie
~|
Order the Adobe Coldfusion Anthology now!
Thanks. Exactly what I needed.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
I'm running CF 9 and the default version of Apache Axis is 1.2. I would like
to
upgrade Apache Axis to 1.4. Does anyone know of any potential issues with
upgrading the version of Apache Axis and CF 9?
Thanks,
Donnie
~|
I am having a problem with the NetSuite wsdl. There are stub class files that
are missing. I've seen some posts in some other forums indicating that when
the web service is setup through Coldfusion, there are class files missing, but
when wsdl2java is run from the command line, it works just
Are there any special intructions for upgrading Axis in ColdFusion? It seems
the webservices.jar file also has a wsdl2java class that maybe being called
over the class in the upgrades Axis jar files.
Thanks,
Donnie
~|
Which jar file are you talking about opening and what am I looking for? If
this determines that the webservices.jar has the wsdl2java class, how do I get
ColdFusion to use the upgraded Axis jar?
Thanks.
~|
Order the Adobe
The problem is that there are class files missing from the intitial generation.
I'm trying to figure out how to get either ColdFusion or Apache Axis to
generate all of the files.
~|
Order the Adobe Coldfusion Anthology now!
No. I never got it to work. When I run wsdl2java from the command line, it
times out trying to access the wsdl.
~|
Order the Adobe Coldfusion Anthology now!
OK. I finally got all of the files to generate. I had to run wsdl2java from a
command line and make sure the the flags -a and -w were included. The version
of Apache Axis that I ran from the command line create .java files instead of
.class files and now my CreateObject calls are returning
I had to run wsdl2java from a command line and make sure the
I looked up CreateOject and it does allow wsdl2java parameters to be passed.
I'm going to try it out. Thanks for the lead.
-Donnie
~|
Order the Adobe
When I run JavaCast to set a ColdFusion Array to an array of Netsuite Java
objects,
com.netsuite.webservices.lists.relationships_2010_1.CustomerAddressbook[], when
I dump the array and output the GetClass().GetName(), the array length is
correct and the GetClass().GetName() value is
My last post never showed up, so I am testing the system
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
In ColdFusion 9, when I JavaCast a Coldfusion array to an array of objects,
specifically
com.netsuite.webservices.lists.relationships_2010_1.CustomerAddressbook[], and
I dump the array, the correct number of elements is displayed; however, each
element has the followinf for a value...
I am working with a web service and have been working with the web service
support to try to work through some of the bugs. They asked what the SOAP
requests were. Can any instatiated object in ColdFusion be output as a SOAP
request or would this possibly be a built in method of the web
I have some Ajax running via jQuery and I also have a site-wide error handler
running for ColdFusion. When the coldfusion template is called via ajax and an
error is thrown via cfthrow, the ajax error handler is not triggered, instead
the ajax success handler is. If I remove the site-wide
Thanks Tony! Will the cfheader statusCode=500 work with the site-wide
error handler on? I tried adding this tag to my ajax code, but it is still
returning as success.
Thanks,
Donnie
~|
Order the Adobe Coldfusion Anthology
Hi Tony,
Thanks again. I should mention that I want the site-wide error handler to run.
It writes to log files, sends email notification as well as some other bug
tracking pieces we have in place. If I put a cfabort in the code, the
site-wide error handler won't run. Are you suggesting
Hi Tony,
I just realized you were intending for the code to go in the site-wide error
handler and not the custom error handling of the AJAX code. I got it working.
This was a great help!!
Thanks again,
Donnie
Check firebug (how many times do people say this?)
If you throw a 500 and
I have several CFCs that I am accessing for AJAX calls. Since the calls load a
method directly, what is the best practice for instantiating the object? For
example, I want to insure the user is logged in, so there are Client variables
to check, I don't want to pass user credentials in the
Has anyone tried setting up Client Variables though an ODBC datasource on 2
different servers running 2 different versions of ColdFusion and they both
point to the same datasource? Can this be done?
I have an app running CF 5.5 that needs changes before it can be upgraded to
any version of
I thought the onRequest method caused issues with calling CFCs remotely. I
heard CF 9 fixed, but I'm not using CF 9. I guess this would work in the
onRequestStart method though. Is this correct?
I would do user checks in a component from onRequest and then use a
proxy cfc for your ajax
I figured it was a typo. I get the credential check in the onRequestStart(),
makes sense.
The other issue I'm having is that I need to access the user object that would
be created in onRequestStart().
Basically, CF based objects can't be passed to remote methods, correct? So
either way, I
Is exists() more efficient than this?
Yes. I use it all of the time. Exists() will look for until it finds a record
and as soon as it finds it, it stops because the criteria is met. A normal
Select statement will look at all records and finish once all records have been
parsed. It's really
I am getting a new machine and we are installing all of the software. I am
running Builder as a plug-in now and it is very flaky and a lot of features
don't work (i.e. tag completion, code coloring is sporadic, etc.).
Would you suggest I do this new install standalone?
Thanks for the feedback. I decided to go with standalone and it seems very
solid so far. BTW, I figured out my problem with the tag completion. There
are 2 settings that need to be set to get this to work. If you go to
Preferences-ColdFusion-Editor Profiles-Editor, under Code Assist, you
I recently moved an app to a new server and for some reason, when I run a
CFHTTP post request to a page on the new server, the form fields are being
interpreted as one field and the value of the field is a query string. The
file that is running the CFHTTP is on a differnt server. For
Is the space and colon between FirstName and John a typo? Because if
not, that's your problem right there, it should be
FirstName=JohnMiddleName=JamesLastName=Smith.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a
Are you sure the form hasn't somehow changed method from POST to GET ?
On Mon, Mar 21, 2011 at 8:53 PM, Donnie Carvajal
donnie.carva...@transformyx.com wrote:
The code hasn't been touched in 4 years, besides, if the CFHTTP method was set
to Get, Form Variables wouldn't be available
There are two things I can think of off the top of my head, that you
might do.
First, you might just take a shot in the dark and play with encoding.
You can specify the appropriate encoding for your form post from
CFHTTP using the CHARSET attribute.
Second, you might want to compare a
If it is a charset issue, do you know how to configure CF for the correct
charset. I have clients that are hitting this page by posting straight to it.
It would be much easier to change my server since it is on my network.
Thanks.
Were CARs available in CF5? If so and the servers' configs are supposed to
be the same, id go that route first.
Maybe a setting was just missed somewhere in the cf admin.
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
Unfortunately, the last server is
Hi,
I recently installed an enterprise version of CF9 and the default directory is
c:\jrun4 and there is no CustomTags directory. I added my customtags directory
from my MX7 server and the custom tags calls are returning errors that they
can't be found. Does anyone know where the CustomTags
Thanks for the feedback.
The intention is to set up a multi-server instance. I did find the customtags
and the cfx directories for this instance; however, the customtags are more of
a library that we use across servers. Is there a generic place that i can put
these files so that all
I have an app that we are upgrading to CF9 from CF 5. We were using
CFX_PCRegEx instead of the built in regex functionality because it was way
faster. It is throwing errors in CF9. The exception.log entry states...
Something bad happened in CFX_PCRegEx.
Has anyone had any success running
Has anyone ever worked with a CDN like Akamai with Coldfusion where the actual
content is distributed, not just images and documents?
Thanks,
Donnie
~|
Order the Adobe Coldfusion Anthology now!
Hi,
Thanks for all of the responses. We are indeed trying to find another solution
for having mirrored sites that we would have to manage. We have 5,000 CMS
clients on the system and that is a ton of files (images, documents, css, etc.)
to mirror, so a CDN seems like a better fit, but then
Hi Steve,
I am having the same problem. Did you ever find a solution to this?
Donnie
Hey Guys,
I'm trying to resize images using the CFX_image tag.
Everything works great for GIFs and JPGs, but when I try and resize a
PNG image, all that is returned is a completely blank white image.
We are upgrading our system to CF9 64-bit and our CFX tags we use for image
resizing and info gathering are not working. We get an unable to load
library error. Since these tags have been in this application for over 10
years, I will assume that they were compiled for 16-bit and 64-bit CF on
I have the following query of queries query
SELECT code, title
FROM Nav
WHERE nav = 'Calendar'
AND order = ''
It has recently stopped returning results when upgrading to CF9. If I change
the where clause to the following it returns the record
WHERE nav = 'Calendar'
AND order IS NULL
Any
I have a ColdFusion template that is used for a form action using post method.
The page loads correctly except for my confirmation output and displays POST as
the CGI.request_method and displays all of the Form fields in the debug info
and displays all of the queries that are supposed to run;
Hi,
I have an application with a root application.cfc and a subfolder for IVR
access that also has an application.cfc which extends the root application.cfc.
There are certain Application variables that I only need in the IVR subfolder,
so I added an onApplicationStart method to the
a different application name ?
On Fri, Apr 11, 2014 at 5:58 PM, Donnie Carvajal
donnie.carva...@transformyx.com wrote:
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag
,
Currently, both application.cfc's have the same application name.
Donnie
does each of your application.cfc have a different application name
?
On Fri, Apr 11, 2014 at 5:58 PM, Donnie Carvajal
donnie.carva...@transformyx.com wrote
Thanks Cameron,
I would like to set different application names, but I've had issues in the
past. I don't remember exactly, but I think there were some application
variables not accessible. What are the pros and cons for using separate
application names? Are there any caveats I should be
this?
Thanks,
Donnie Carvajal
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid
the
progress. My log file indicates another thread has begun running the
same request at 1 minute after my request. Does anyone know what may
be causing this?
Thanks,
Donnie Carvajal
~|
Order the Adobe Coldfusion Anthology now
JVM. Try switching
back to the original jvm and see if it still occurs.
On Tue, Jul 15, 2014 at 9:40 PM, Donnie Carvajal
donnie.carva...@transformyx.com wrote:
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com
. I don't have
an html or head tag in the CF template, so I don't believe a cfheader tag will
work. Does anyone know how to prevent a CF template from returning a 304 http
status code?
Thanks,
Donnie Carvajal
~|
Order
Does anyone know if cfhttp can send a separate Host in the header from the
cfhttp url attribute?
Thanks,
Donnie Carvajal
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155
,
Donnie Carvajal
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359412
Hi Steve,
Thanks for the suggestion. I've never used Fiddler before. Are there any
special configurations to watch a cfhttp request?
Thanks,
Donnie Carvajal
If you are doing this on a developer machine, install fiddler. Then
you can watch everything the request and response and look
that are created. Am I
missing something?
Thanks,
Donnie Carvajal
It's just a program that when run will sit between the browser and the
world outside the computer (internet, intranet, etc). It displays
what is going in and out.
It's an easy install and adds piece to IE/Chrome/Firefox as well
. Does
anyone know how to get CFHTTP to include this in the POST request?
Thanks,
Donnie Carvajal
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Hi John,
Thanks for the quick response. I don't believe this is helpful. I have the
correct XML to send and it has been confirmed. The issue is with the web
service interpreting my request and processing the XML. I believe the issue is
in the header that CFHTTP creates.
Donnie Carvajal
Thanks for the quick response. I don't believe this is helpful. I
have the correct XML to send and it has
been confirmed. The issue is with the web service interpreting my
request and processing the XML. I
believe the issue is in the header that CFHTTP creates.
Actually, take a
Hi Dave,
Thanks for the response. I did add the /XMLRPC to the url in cfhttp and that
did the trick.
Donnie Carvajal
Thanks for the quick response. I don't believe this is helpful. I
have the correct XML to send and it has
been confirmed. The issue is with the web service
1 - 100 of 104 matches
Mail list logo