my previous reply got rather garbled during the posting somehow...
the 'close cfwindow' line that appears as first line of my reply was
actually part of one of my questions inside your quoted post, and was
NOT intended to be an answer to your question...
if i understand you correctly, you just
Hi,
thanks for your answer. But CF supports no UCS-2 encoding for pageencoding or
charsetencode/decoe.
UTF-16 is supportet, but it's not the same as i want.
Carsten
~|
Adobe® ColdFusion® 8 software 8 is the most important and
Yes it is:
Q: What is the difference between UCS-2 and UTF-16?
A: UCS-2 is what a Unicode implementation was up to Unicode 1.1,
*before* surrogate code points and UTF-16 were added as concepts to
Version 2.0 of the standard. This term should be now be avoided.
When interpreting what people have
Q: What is the difference between UCS-2 and UTF-16?
Thanks James. I wasn't aware they were the same format.
--
s. isaac dealey ^ new epoch
isn't it time for a change?
ph: 503.236.3691
http://onTap.riaforge.org/blog
good deal Nathan Ill have a look at the existing one for now.
On Dec 28, 2007 12:06 PM, Charlie Griefer [EMAIL PROTECTED] wrote:
hehe. now there's pressure :)
On Dec 28, 2007 9:01 AM, Nathan Strutz [EMAIL PROTECTED] wrote:
Thanks, Charlie.
I'm updating the API and creating
You can find some info on this at this post:
http://blog.cutterscrossing.com/index.cfm?mode=entryentry=924FD535-3048-71C2-1732C7C676604ABE
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
There's a problem with my xForm which causes it to output a ton of these in a
textarea.
#13;
I'm trying to do a replace on it so they won't show up.
#Replace(retProductInventory.prodlongdescription, ###13;,, All)#
Doesn't work.
One # throws an error. Two doesn't do anything. Three doesn't
ok, that was supposed to be ampersandPound13Semicolon being replaced.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Two #'s should do it. If it's not working, you might be replacing them in
the wrong place.
What's the code look like in context?
Adrian
http://www.adrianlynch.co.uk/
-Original Message-
From: Will Tomlinson
Sent: 30 December 2007 18:06
To: CF-Talk
Subject: Replacing these chars
Two #'s should do it. If it's not working, you might be replacing them in
the wrong place.
What's the code look like in context?
Adrian
cfset chartoReplace = ##13;
cftextarea name=prodlongdesc label=Long Description required=yes
validate=noblanks validateat=onserver,onsubmit
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 30, 2007 1:06 PM
To: CF-Talk
Subject: Replacing these chars
There's a problem with my xForm which causes it to output a ton of
these in a textarea.
#13;
Do you actually see this string?
Will Tomlinson wrote:
cfset chartoReplace = ##13;
cftextarea name=prodlongdesc label=Long Description required=yes
validate=noblanks validateat=onserver,onsubmit
value=#replace(retProductInventory.prodlongdescription, charToReplace, ,
All)# cols=70 rows=10/cftextarea
Do you actually see this string? That's the character entity for a Carriage
Return - like you get when you hit enter.
Yes. When I view the source, those characters are in there. Each time you save
the form, they keep building upon themselves.
I'm not using wrap here, I'll give that a shot!
cfset chartoReplace = ##13;
cftextarea name=prodlongdesc label=Long Description
required=yes validate=noblanks validateat=onserver,onsubmit
value=#replace(retProductInventory.prodlongdescription,
charToReplace, , All)# cols=70 rows=10/cftextarea
I had quotes around my variable name. It needed to be written like this:
#replace(retProductInventory.prodlongdescription, charToReplace, , All)#
Thanks to all...
Will
~|
Adobe® ColdFusion® 8 software 8 is the most important
If anyone is working on a Sunday like I am, I am having a problem with
custom tags that are ignoring CSS positioning. Below is an example of what
is going on.
When the screen is resized in IE, works fine is FF, the INFO Center
content does not change position as the window is enlarged /
View the source of both examples, using the custom tag and directly in the
page. Chances are something is different between the two. CF won't do
anything to your CSS.
The only thing I can see it might be is the # in the bgcolor attribute.
Adrian
http://www.adrianlynch.co.uk/
-Original
What Jim said and, do you get them if you just output
retProductInventory.prodlongdescription to screen?
Adrian
http://www.adrianlynch.co.uk/
-Original Message-
From: Jim Davis
Sent: 30 December 2007 19:03
To: CF-Talk
Subject: RE: Replacing these chars
-Original Message-
The solution will be determined by the output of the custom tag. CSS is
browser-based and therefore coldfusion should have no effect on it.
Check for output that has a defined background color in the generated output
from the custom tag.
William
--
William E. Seiter
Have you ever read a
I had quotes around my variable name. It needed to be written like this:
#replace(retProductInventory.prodlongdescription, charToReplace, , All)#
Thanks to all...
Just FYI, I'm not aware that htmleditformat() or xmlformat() replace
those characters with any kind of entities (I could be
Ok, I gotcha.
In this process there's nothin extra really goin on. It's a simple update.
It goes into the cfc like this:
prodlongdesc=#Trim(FORM.prodlongdesc)#
The cfc does this in the query:
prodlongdescription = cfqueryparam cfsqltype=cf_sql_longvarchar
value=#ARGUMENTS.prodlongdesc#
My
Azadi,
I appreciate your follow-up, yes, it's odd posting got twisted. I've taken
another approach instead of using sub template refresh function within a
cfwindow.
Thanks.
Don
my previous reply got rather garbled during the posting somehow...
the 'close cfwindow' line that appears as first
If anybody is interested I did find information on how to use
ColdFusion to access the CyberSource Credit Card Gateway. I'll be
happy to send you my sample code if you need it. Works like a charm.
~|
Adobe® ColdFusion® 8
Hi everybody...
Can anybody point me to information where I can learn how to fill
several form fields with query information returned from an
autosuggest query?
Basically, I want to enter an employees ID. When a match is selected
or found, I want to populate the name, address and phone
Michael-
I'm interested in this if you find a solution. I tried something like
that before finally giving up and taking the easy way out.
Phil
On Dec 29, 2007, at 2:22 PM, Michael Grove wrote:
I am trying to us a CFgrid, Format HTML using a CFC and Bind. The grid
renders fine, but I want
Carsten Klement wrote:
thanks for your answer. But CF supports no UCS-2 encoding for pageencoding or
charsetencode/decoe.
UTF-16 is supportet, but it's not the same as i want.
as james has said they are more or less the same for your purposes (in fact if
you look at the SMS gateway docs for
if the #productid# var you are trying to pass as url var is the same as
returned in the productid query column - do not pass your own url var then.
use the hrefkey attribute of cfgridcolumn instead (you have it in there
already as i see). but keep in mind that it adds a HREFKEY url var, not
Hi... I need help making this CF8 code work in CF7.
Can anyone help me with this? Here's the code:
cfset re1='.*?'
cfset re2='((?:[a-z][a-z\.\d]+)\.(?:[a-z\d]+))(?![\w\.])'
cfset re = #re1##re2#
!--- read the html file ---
cffile action=read
how is it not working?
On Dec 30, 2007 9:35 PM, Web Exp [EMAIL PROTECTED] wrote:
Hi... I need help making this CF8 code work in CF7.
Can anyone help me with this? Here's the code:
cfset re1='.*?'
cfset re2='((?:[a-z][a-z\.\d]+)\.(?:[a-z\d]+))(?![\w\.])'
cfset re = #re1##re2#
It can be done in any version of Coldfusion.
Just easier in CF8.
Ajax is the key here.
On 12/31/07, Philip L. Hayes [EMAIL PROTECTED] wrote:
Hi everybody...
Can anybody point me to information where I can learn how to fill
several form fields with query information returned from an
REMatch() is new to CF8, as is the array attribute in cfloop.
Change the cfloop to an indexed loop and use
http://www.cftagstore.com/tags/cfreextract.cfm or similar for the RegEx
extraction.
Adrian
http://www.adrianlynch.co.uk/
-Original Message-
From: Web Exp
Sent: 31 December 2007
31 matches
Mail list logo