yes thats where query in the add to cart comes into play, from now on when they
add an item I check to see if it is active AND active = 'on' lol
anyhow again thank for the help :)
~|
Adobe® ColdFusion® 8 software 8 is the most
I'm stuck with this and I'm sure its easy but I need to extract
0.7025 from this result string.
i've got it as close as: 0.07025 with 2 re's I'm sure it can be
done in one any help is appreciated.
cfset string = ?xml version=1.0 encoding=utf-8? double
cfscript
string = '?xml version=1.0 encoding=utf-8?double xmlns=
http://www.webserviceX.NET/;0.7025/double';
dbl = reReplace(string, '(.*?double[^]+)([^]+)(.*)', '\2');
/cfscript
cfoutput
string: #htmlEditFormat(string)#br /
dbl: #dbl#br /
/cfoutput
On Thu, Jan 1, 2009 at 1:04 PM, Paul
Perfect Thank you very much.
On 01/01/2009, at 2:22 PM, Matt Quackenbush wrote:
cfscript
string = '?xml version=1.0 encoding=utf-8?double xmlns=
http://www.webserviceX.NET/;0.7025/double';
dbl = reReplace(string, '(.*?double[^]+)([^]+)(.*)', '\2');
/cfscript
cfoutput
string:
assuming your source is actual/valid XML, why not just use XMLParse()?
On Thu, Jan 1, 2009 at 11:29 AM, Paul Kukiel pkuk...@gmail.com wrote:
Perfect Thank you very much.
On 01/01/2009, at 2:22 PM, Matt Quackenbush wrote:
cfscript
string = '?xml version=1.0 encoding=utf-8?double
I guess I was over thinking it ;)
cfdump var=#xmlparse(string).double.XmlText# /
Worked fine aswell.
Paul
On 01/01/2009, at 2:34 PM, Charlie Griefer wrote:
assuming your source is actual/valid XML, why not just use XMLParse()?
On Thu, Jan 1, 2009 at 11:29 AM, Paul Kukiel pkuk...@gmail.com
Can I use cffile to append one file to another?
cffile action=append output=File2.txt file=File1.txt
Doesn't seem to work. (This is assuming File2.txt is too large to store in a
variable.)
My problem is running data through a loop to convert HTML to rtf. The process
times out after about
Can I use cffile to append one file to another?
cffile action=append output=File2.txt file=File1.txt
Doesn't seem to work. (This is assuming File2.txt is too large to store in a
variable.)
My problem is running data through a loop to convert HTML to rtf. The process
times out after
This isn't a direct answer to your question, but if your process involves
creating or concatenating a very large amount of strings you should look
into Java's StringBuffer class (or StringBuilder depending on your JVM).
They can dramatically help a ton of string manipulations. Also, using
Stephens, Larry V wrote:
Can I use cffile to append one file to another?
cffile action=append output=File2.txt file=File1.txt
Doesn't seem to work. (This is assuming File2.txt is too large to store in a
variable.)
Since you didn't mention a version, I assume you are on the latest?
yes thats where query in the add to cart comes into play, from now on
when they add an item I check to see if it is active AND active =
'on' lol
anyhow again thank for the help :)
I figured that was the case, but that still doesn't eliminate the race
condition. The cart lives for the
I figured that was the case, but that still doesn't eliminate the race
condition. The cart lives for the duration of their session, which is
like 20 minutes or so. So the item that was active when they added it to
their cart could become inactive at any time after it's added and before
they check
Happy New Year all,
I have a client who has asked me to 'mask' his directory structure.
I actually have two issues and I hope to find solutions to both.
environment:
Windows Server 2008
IIS7
CF 8
Issues:
1. I am using onMissingTemplate to translate a directory structure into local
variables
I need to use XSLT to transform one XML doc into another. because of
the size of the document, I cannot use the recursive parsing
techniques due to out of stack. So I want to use tokenize() and then
I can use for-each..
but when I copy the latest xalan, xerces, xml-apis jars into lib,
Yes, I have done this before.
You want to go into IIS and change the file that the 404 errors are pointing
to.
In IIS:
Right click on the website you want and go to properties. The go to the
Custom Errors Tab. Scroll down in the errors and you want to change 404,
404;2 and 404;3. Select one
Happy New Year, everyone...
I'm running this code:
cffile action=delete
file=e:\inetpub\webroot\fortstewart\user_images\#replace(fieldname,
'delete_image_', '')#
and getting this error:
File e:\inetpub\webroot\fortstewart\user_images\DELETE_IMAGE_0412_002_W200.JPG
specified in action delete
errata:
The last line of the message below should be isn't cutting off...
Duh...
Rick
-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com]
Sent: Thursday, January 01, 2009 9:16 PM
To: cf-talk
Subject: Why won't this code work?
Happy New Year, everyone...
Try using replaceNoCase. It's not finding the string do to
DELETE_IMAGE_ being upper case and your match string is lower case.
Wil Genovese
One man with courage makes a majority.
-Andrew Jackson
A fine is a tax for doing wrong. A tax is a fine for doing well.
On Jan 1, 2009, at 8:16 PM,
Bravo, Wil, bravo!
-Original Message-
From: Wil Genovese [mailto:jugg...@visi.com]
Sent: Thursday, January 01, 2009 9:22 PM
To: cf-talk
Subject: Re: Why won't this code work?
Try using replaceNoCase. It's not finding the string do to
DELETE_IMAGE_ being upper case and your
Marc --- I had left this account idle for a month or so, are you still
looking for help?
On Sat, Oct 25, 2008 at 8:39 AM, Marc Raber m...@prosplay.com wrote:
Brian - i am looking for some help. Please send me your resume.
thanks.
Good Afternoon,
Sending out a quick note to anyone on
20 matches
Mail list logo