I finally got somewhere with this. It was most confusing because I didnât
appreciate the complex data types were not just, for example, coldfusion arrays
but java classes specific to this web service which happened to be an array.
So, what I did, was run the wsdl2java program against the web
Hi
I posted a question a few weeks ago regarding looping through form results, and
someone posted the code below for me to try, however no records are updated
when the form is submited. In fact nothing is happening between the cfif
findnocase(field, '_') statement. Any pointers?
Thanks
The parameters to FindNoCase are back-to-front.
Adrian
-Original Message-
From: Jason Congerton [mailto:[EMAIL PROTECTED]
Sent: 15 May 2008 11:18
To: CF-Talk
Subject: looping through a form
Hi
I posted a question a few weeks ago regarding looping through form results,
and someone
Thank you all for your replies.
The problem was caused (believe it or not) by the ColdFusion monitor in CF8,
and more specifically the Memory Tracking.
When I stopped the memory tracking, the issue does not occur anymore. I stopped
it yesterday and the application is now running fine for over
Change
findnocase(field, _)
To
findnocase(_, field)
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Jason Congerton [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 6:18 AM
To: CF-Talk
Subject: looping through a form
And to be very anal, I don't think there is a uppercase version of _. ;)
You also want to use cfqueryparam with your sql.
On Thu, May 15, 2008 at 6:09 AM, Bobby Hartsfield [EMAIL PROTECTED] wrote:
Change
findnocase(field, _)
To
findnocase(_, field)
--
Hello All,
I know there are many ways to validate a US social security number, but is
there any way to verify that it is actually a real ssn number? For example,
the current validation used for cfinput would return 111-11- as a valid
ssn. I guess it could be valid, but I don't think it
thank you.it worked a treat.
The parameters to FindNoCase are back-to-front.
Adrian
Hi
I posted a question a few weeks ago regarding looping through form results,
and someone posted the code below for me to try, however no records are
updated when the form is submited. In fact nothing is
Sure there is, it's called an overscore...
:OD
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: 15 May 2008 12:53
To: CF-Talk
Subject: Re: looping through a form
And to be very anal, I don't think there is a uppercase version of _. ;)
You also want to use
Jason,
Ah... Since it chokes on object creation this looks like it could be the
class loader issue that everyone yammers about with JVM 1.6. Try rollling
back to 1.5.
-Mark
Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-Original
I stumbled across some months ago, but I can not find it again.
Can anybody point me in the direction where I can create a single
'tiled' page in Visio. I swear I remember accessing some feature where
I could grab the sides of the 'page' and drag it in and out, and Visio
would show the number
Honestly, I don't think there is any other validator, and I'd be quite
surprised if there was any kind of service that validated SSNs as real or
otherwise.
On Thu, May 15, 2008 at 8:06 AM, Greg Edmonds [EMAIL PROTECTED] wrote:
Hello All,
I know there are many ways to validate a US social
From looking around, it seems that I cannot rename a file on upload
(other than MakeUnique). I want to cleanse a name of a file that's
being uploaded. So I want to use the cleansed name when I upload.
Is it true that I cannot do both an upload an rename at once?
If not, I suppose I can
You'll need to rename it after it is on the server.
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Daniel Kessler [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 9:41 AM
To: CF-Talk
Subject: rename file on upload
I swear my mail client is out to embarrass me by re-directing my emails
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Hi all,
i'm using cfpop tag to retrieve e-mail messages from a Lotus Notes mail server
(Lotus
Domino Release 6.5.4).
First of all I use CFPOP to retrieve messages header informations
(action=GETHEADERONLY), then I loop on message headers query to retrieve each
message
body (action=GETALL
You'll need to rename it after it is on the server.
ok, I suspected so - thank you.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
Thanks for the suggestion however James Holmes beat you to it.
Unfortunately, running on 1.5_13 and 1.5_14 has the same results. Jrun
hovers around 400MB until I try to initialize my first app.
-Original Message-
From: Mark Kruger [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008
Since the 70's, the first section of the number has been based on zipcodes
where issued but before that it represented general location such as
west/east coast and even the SSN office numbers so it's not too reliable
just yet since there are plenty of both still floating around :-/
There are
Looks like CF's IsValid() will accept a type of SSN (
http://www.houseoffusion.com/documentation/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=0534.htm),
which would suggest that there is some sort of check-sum or other algorithm
available, which will give
Hi Wim,
I think there is a hotfix for the same issue that we have built. I will check
on the same.
Thanks,
Hemant
Adobe ColdFusion Team
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
I have a form with a field where the user specifies the name of a student. I've
specified autosuggest on that box. I would like the form to auto-submit after
the user specifies the name. Is there any way to do this? If this were a normal
non-autosuggest field, I'd have no problem adding an
Hi Everyone,
I have a great ajax/cfgrid mockup working. Sorting, filtering etc.. all working
very well. Client has just asked if I can extend it a little more.
Gridrow 1 = Title
they would like the words NEW to be prefixed to the title (and stand out in a
bold, coloured font) if the item has a
ok i have a query
SELECT TOP 100 PERCENT LEFT(dbo.NavTitle.titleName, PATINDEX('%[_]%',
dbo.NavTitle.titleName) - 1) AS title, dbo.NavAccessory.specs_partnum
FROM dbo.NavAccessory INNER JOIN
dbo.NavTitle ON dbo.NavAccessory.titleID =
dbo.NavTitle.titleID
WHERE
nm, got it.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
Forgive me... I pulled an all-nighter and my brain is scrambled
Here is my problem:
When a customer submits an order, I am requesting additional info for certain
products on the checkout page. So for these products, so I have a variable
called:
comments#loopcount#
When I write the order
#form['comments' loopcount]#
OR
#variables['comments' loopcount]#
Or whatever type of variable 'commentsX' is.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
FORM[comments#loopCount#]
Or whatever scope the variable is in.
Adrian
http://www.adrianlynch.co.uk/
-Original Message-
From: megan cytron [mailto:[EMAIL PROTECTED]
Sent: 15 May 2008 16:32
To: CF-Talk
Subject: loopcounts and pound sign madness
Forgive me... I pulled an all-nighter and
Try the format:
#variables['comments' loopcount]#
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: megan cytron [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 11:32 AM
To: CF-Talk
Subject: loopcounts and pound sign
Hi Matts,
I would suggest the following:
cfloop query=rs_resource
cfif rs_resource.create_d NEQ
cfset this_date_diff = dateDiff(M,now(),rs_resource.create_d)
cfif this_date_diff GTE -3
cfset really_new_title = span style='font-weight:bold;
color:##CA6526;'NEW/span
Hey, I am also looking for a hosting company in the VT or New England area.
Someone who's servers are actually IN Vermont or a bordering state. My new
client insists on going local, which is great -- I just don't know of any.
Mik
All:
Does anyone know of any companies in Vermont (preferably
#form['comments' loopcount]#
Thanks to everyone for your lightning-fast responses! You're the absolute best.
#form['comments' loopcount]# was exactly what did the trick this time. Thanks
again!
~|
Adobe® ColdFusion® 8
Check the CF logs around the time the instances stopped. Are their
errors being reported?
Also, can I assume this is CF Enterprise deployed as separate J2EE
instances on JRUN?
~Brad
-Original Message-
From: Steve Avey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 7:46 AM
To:
Two things
This may sound arcane, but are you sure the code is not stuck in an
endless loop? What if you put in some debugging to see what it is
doing?
Also, can you confirm what changes you made to downgrade your JVM for
us. In addition in installing the lower version, you must edit your
Good morning all,
I am finishing the set up for my mirroring server and the witness server
so I can have automatic failover on my SQL boxes. Once I get this all
set up, is there anything on my CF Admin side I have to do to ensure
that this works properly? I googled the hell out of this and
I've been having a problem with the scheduled jobs since yesterday. I
have various jobs set up at different times of the day. Yesterday when
we restarted the cf server, a couple of the jobs that fired off 2-3 hrs
before ran again (jobs fully completed, emails sent and in the scheduler
log)?! We
I'd need someting like
IF create_d between 3 months ago and now
Then
INSERT(title,0,0,'span
style=font-style:bold;color:#00;NEW/span') AS new_title
Check if you can use the IIf function in your database, ie:
SELECT IIF (create_d 3 months ago, 'span
I have this booked marked just for your reason...
http://www.bealearts.co.uk/blog/2007/06/17/coldfusion-and-sql-2005-mirroring
/
But, I may go with Clustering instead.
-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 9:14 AM
To: CF-Talk
There is a service at SSA that allows you to validate Employees via a web
interface 10 at a time. I wonder if it could be consumed.
*http://www.ssa.gov/employer/ssnv.htm*http://www.ssa.gov/employer/ssnv.htm
While the service is available to all employers and third-party submitters,
it can only be
Anyone have an idea what is going on with the RIAForge site? I cant connect
get the site to load and I want to look into the Canvas Wiki app.
--
Phil
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic
Cool. Thanks Jacob.
Bruce
Jacob wrote:
I have this booked marked just for your reason...
http://www.bealearts.co.uk/blog/2007/06/17/coldfusion-and-sql-2005-mirroring
/
But, I may go with Clustering instead.
~|
Adobe®
Read Ray's blog this morning?
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
Phill B wrote:
Anyone have an idea what is going on with the RIAForge site? I cant connect
get the site to
I forgot that it was Ray's. Just read it so now I understand. Thanks
On Thu, May 15, 2008 at 11:57 AM, Cutter (CFRelated) wrote:
Read Ray's blog this morning?
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
I first assumed it was my code so I moved any new code out of the web
root. Jrun is at 400MB when my computer first boots. I've also
commented out the contents of my App.cfc file (about a dozen objects are
instantiated on appStart). I'm going to blow away the box and rebuild
it. I *hope* it's
BTW, yes. I did modify the jvm.config file and verified in CFAdmin that
1.5_13 and 1.5_14 were running.
-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 11:07 AM
To: CF-Talk
Subject: RE: JRun 600MB+ shortly after boot up
Two things
This may
Has anyone connect to a word document via COM with CF 8 yet? If so, did
you have any problems with it? I am trying to connect and it WILL NOT
work. It is driving me nuts because I do not see any reason why it
should not. Just doing a simple connect/open file just hangs or I get
an error
I can't speak for what is the best solution, but we've had fairly good
experiences using my custom Apache connector that connects to only a single
cluster instance, and having 2 front end Apache servers (which are load
balanced using a hardware load balancer) and 2 backend Apache/CF servers
which
Jason,
Ok... Maybe your heap size isn't big enough to instantiate the ap... It must
be a real whopper :)
Try editing your jvm.config file. Add
-Xms512m -Xmx756m
To the server args and restart... See if increasing the heap will help you
bring it up.
It's not 64 bit is it?
-Mark
Mark A.
Even when the number is localized by the first numbers, the number is not based
on birth locals, it is based on 'issued' locals. People can receive their ssn
at any age and any location. Plus, don't forget, validating against a pattern
of 3-2-4 won't account for TINs with a pattern of 2-7.
Nice!
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Richard Dillman [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 12:49 PM
To: CF-Talk
Subject: Re: SSN
There is a service at SSA that allows you to validate
, it is based on 'issued' locals
I believe that's what I said.
No clue what TINs are but 2 + 7 = 9 and can be converted to 3-2-4 just as
easily.
So changing cfset SSNNUMBER = 555-55- /
To cfset SSNNUMBER = 555-55 /
Would still work in the example code
..:.:.:.:.:.:.:.:.:.:.:.:.
Even when the number is localized by the first numbers, the number is not based
on birth locals, it is based on 'issued' locals. People can receive their ssn
at any age and any location. Plus, don't forget, validating against a pattern
of 3-2-4 won't account for TINs with a pattern of 2-7.
Just so folks know - it crashed both this morning, and while I was at
lunch. This was after some tuning by some Adobe folks, so something is
DEFINITELY up. Unfortunately, my day job has to take priority for a
bit so there isn't a lot I can do. I _think_ the issue is related to
the SVN code we use
I didn't think people in Springfield, Missouri could even access the
internet :)
-Original Message-
From: Phill B [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 12:55 PM
To: CF-Talk
Subject: RIAForge down for the count?
Anyone have an idea what is going on with the RIAForge
I ran into a problem inserting records into a MySQL 5.0 database when
there's a backslash as the final character of a string value. I never
noticed this until I began working with some randomly generated character
strings.
INSERT INTO users (
name,
email,
username,
salt,
password
Can somebody point me to a good tutorial to build a small radio button
matrix (just 3 x 3)
So far, I've not turned up anything that seems to work well cross
browser (all javascript so far...)
TIA
~|
Adobe® ColdFusion® 8
Probably been covered before...
How do I take a word like, apple and loop through each letter? I'd like to
end up with a.p.p.l.e.
Thanks, Che
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
hi
you showed me the way to add specific cell formats below, but i was just
wondering whether anyone knew how to set full column formats using this jexcel
thanks
richard
~|
Adobe® ColdFusion® 8 software 8 is the most
Probably been covered before...
How do I take a word like, apple and loop through each letter? I'd like to
end up with a.p.p.l.e.
Thanks, Che
loop through the length of the string using len(currentString)
then use the mid function to get each character:
mid(currentString,loopCounter,1)
Hi
I am building a shopping cart which calculates shipping charges, some products
also have an additional surcharge. Which is where i am stuck,
The additional surcharge is stored within the product table.
What i thought was to loop through the products in the cart, query the
products
when i say below, there seems to have been 2 threads for this one subject...
the other is
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56346
hi
you showed me the way to add specific cell formats below, but i was
just wondering whether anyone knew how to set full column
How do I take a word like, apple and loop through each letter?
Try this:
CFSET word = apple
CFLOOP INDEX=c FROM=1 TO=#len(word)#
CFSET currentChar = mid(word,c,1)
CFOUTPUTcurrentChar = #currentChar#BR/CFOUTPUT
/CFLOOP
--
___
REUSE CODE! Use custom tags;
You can't treat a word as a list of letters, because there's no delimiter.
Use something like:
cfset s = apple
cfset t =
cfloop index=i from=1 to=#len(s)#
cfset t = mid(s, i, 1) .
/cfloop
cfoutput#t#/cfoutput
- Original Message -
From: Che Vilnonis [EMAIL PROTECTED]
To: CF-Talk
Thanks Richard... It was the len(string) statement that I was forgetting.
-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 4:11 PM
To: CF-Talk
Subject: Re: Simple List Question
Probably been covered before...
How do I take a word like, apple
i think the best way would be to do this is directly through sql in one query.
you can build a list with the ids of all the products the customer has
selected, then in 1 query...
select surcharge from products
where productid in(cfqueryparam value=theListOfProductIds# list=yes
if there isnt a function in sql that can do that then there is a function on
cflib to get a columntotal
http://cflib.org/udf.cfm?ID=887
so you can run that one query then pass the resulting column into the
columnTotal udf and thats it, you will have the total surcharge...
i think the best
Your request is kinda' light on the details... maybe links to the javascript
ones so we can see what you mean?
On Thu, May 15, 2008 at 3:59 PM, Les Mizzell [EMAIL PROTECTED] wrote:
Can somebody point me to a good tutorial to build a small radio button
matrix (just 3 x 3)
So far, I've not
sorry i must be half asleep, you can use the sum function. so the full function
would be
select sum(surcharge) from products
where productid in(cfqueryparam value=theListOfProductIds#
list=yes cfsqltype=cf_sql_varchar)
and surcharge
i think the best way would be to do this is directly
Hello all,
Does anyone have any experience with CF8 ActiveMQ integration?
I was attempting to set up activeMQ 5.1 and leverage the ActiveMQ event
gateway, and when starting the example, received a class not found error for
the connection factory. Based upon this, I added the activeMQ jars
My app is pretty small in the grand scheme of things (~12 objects are
initialized in App.cfc). I have already wiped the machine clean and am
in the process of reloading my web tools. *crosses fingers*
Thanks for your help.
-J
-Original Message-
From: Mark Kruger [mailto:[EMAIL
Do you already have a query with your shopping cart? If so, just use a
query-of-query (with SUM()). You don't mention if the surcharge is by product
or by each item, but you may need to also be sure to factor in the product
quantity.
--- Mary Jo
The surcharge is for each product, you can only buy one main product at at time
(multiple purchases are treated as trade), you can also add multiple
accessories (which have no delivery charge) Shopping cart items are stored in
the session. I am exploring the sum route at the moment.
Thank you
You can carry a variable through your cfloop/cfoutput query to hold the running
total of the surcharges.
You can also hit the database with a new call for the sum, as other have
mentioned.
You can also do:
cfset allsurcharges = ArraySum(ListToArray(ValueList([querycolumnname])))
William
hi
my laptop has begun to slow down and takes ages to do some simple tasks, same
with my colleagues. i thought it was something to do with our laptops not being
formatted for a year!!! however, having seen someone else posting about jrun i
thought i would analyse the processing power it was
Can somebody point me to a good tutorial to build a small radio button
matrix (just 3 x 3)
What I need is a matrix like:
1st 2nd 3rd
Tom O O O
Bob O O O
Mom O O O
where you can have only one button checked in a row *or* column.
How's that?
Richard,
First... When you say 'all our computers' - It seems like you might be
talking about the client side (how your app performs in the browser) which
honestly has literally nothing to do with Jrun. If you are talking about
running CF on a whole bunch of laptops then I would say you need to
hi mark,
yes the problem we are having is on our localhost on our laptops which we use
for the testing environment. basically each of us have the same application on
our localhost testing servers. we access it, as you said, through our browsers.
we feel there has to be something not right,
When you say 'all our computers' - It seems like you might be
talking about the client side (how your app performs in the browser) which
honestly has literally nothing to do with Jrun.
i know what you mean but because it is our localhost then this is why the jrun
is causing us to have problems
oh i see what your saying. so this is quite normal its just that we have to
get laptops that can handle the sort of memory it actually uses?
our laptops have 1gb of memory and your saying thats fine if it is on a vps as
it is only dealing with cf, but seeing as it is our laptops and we are
our laptops have 1gb of memory and your saying thats fine if
it is on a vps as it is only dealing with cf, but seeing as
it is our laptops and we are using it for various things then
we need to invest in laptops with more ram...
You have two options. You can limit the amount of memory that
excellent, very understandable, thanks dave
our laptops have 1gb of memory and your saying thats fine if
it is on a vps as it is only dealing with cf, but seeing as
it is our laptops and we are using it for various things then
we need to invest in laptops with more ram...
You have two
I'm looking for a tabbing component that will work in CF 6.1 and does NOT
require javascript to assign click functions and such when the page loads.
(The latter rules out Massimo Foti's tmt:tab module). See I'm actually
loading the html for the tabs via ajax and so the method that massimo uses
in
Just to clarify Russ,
You still have a (JRun) cluster,
even though you are connecting directly to a CF instance?
On Fri, May 16, 2008 at 1:47 AM, Russ [EMAIL PROTECTED] wrote:
I can't speak for what is the best solution, but we've had fairly good
experiences using my custom Apache connector
Encapsulate the value in a cfqueryparam tag, which you should always
be doing anyway.
On Fri, May 16, 2008 at 3:58 AM, Jim McAtee [EMAIL PROTECTED] wrote:
I ran into a problem inserting records into a MySQL 5.0 database when
there's a backslash as the final character of a string value. I never
you can run MySQL in NO_BACKSLASH_ESCAPES mode: see chapter 5.2.6 in
MySQL ref manual
there's more in the Appedixes:
This SQL mode also can be enabled automatically when the server starts
by using the command-line option --sql-mode=NO_BACKSLASH_ESCAPESor by
setting sql-mode=NO_BACKSLASH_ESCAPES
Hey all,
I'm running Vista Ultimate 64 bit. I installed IIS 7, which seems to work
fine, then I installed ColdFusion 8, the new 64 bit version. Installation
seemed to go fine, but when it tried to run the CF Admin setup program - you
know, when it runs it for the first time it takes a couple
just fyi, i am running both cfmx7 and cf8.01 on my 1-year-ld win xp sp2
acer aspire 5583 with Intel Core 2 Duo T5500 and 1GB RAM, plus mysql 5
server, and a whole bunch of other stuff.
my jruns (one for each cf version) right now are at around 128,000 and
40,000 and go up to 400,000+ at times...
Just a quick note, this bug is fixed in CF 8.0.1.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
88 matches
Mail list logo