can you post the HTML code it generates?
- Original Message -
From: Russ [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 5:37 PM
Subject: RE: Linked Anchors
Yeah--
I've done that, actually. Looks well, works well, but when you click on
a link, it
are you sure ALL scheduled tasks are executed without an error or executed
at all, i.e. the correct url is called to execute it?
- Original Message -
From: Ryan Sabir [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 2:43 PM
Subject: Scheduled task issues
If you are using MS SQL you can convert the record set to XML with its XML
publishing tools..
- Original Message -
From: Andre Mohamed [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 12:50 AM
Subject: RE: Converting a recordset to XML
Brook,
If
http://www.url.com/blinkComments.cfm?blinkID=19#Comment42
Is an example of what's generated. Then, after a quick moment, IE (or
Opera) strips out the #Comment42, but the page still jumps
appropriately.
-Original Message-
From: Taco Fleur [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
Hi
I have just tried the following query
select * from
funding
Where ( orgname LIKE '%#Form.orgname#%' )
OR( funding LIKE '%#Form.funding#%' )
OR( commapproval LIKE '%#Form.commapproval#%' )
ORDER BY recordid
however whatever I type in the fields it returns all results ???
All 3
Taco,
The original post pointed out that they were still using SQL Server 7.0
which I don't believe has the XML publishing features of SQL Server 2000
Thanks,
André
-Original Message-
From: Taco Fleur [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 08:56
To: CF-Talk
Subject: Re:
oops...
- Original Message -
From: Andre Mohamed [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 7:33 PM
Subject: RE: Converting a recordset to XML
Taco,
The original post pointed out that they were still using SQL Server 7.0
which I don't believe
Didn't get much help on this I see
In terms of security, I do something like this in my Application.cfm
(comments included):
!--- this is the security to prevent unauthorised access ---
!--- make sure the session variable loggedin exists ---
CFIF #isDefined(session.loggedin)# is False
If one of your form variables is empty, it will always return all the records because
you match '%%' (which means anything). If you want to match one of the criteria you
entered, this should work:
SELECT *
FROM funding
WHERE 0=1
cfif Len(Trim(form.orgname))
OR UPPER(orgname) LIKE
Pascal
Thanks for your solution but it does not work, I am using CF 4.5 and Oracle
8. I am getting the following error when using your code, is it not
compatible with 4.5 ?
and what is the need for
cfqueryparam cfsqltype=CF_SQL_VARCHAR ??
Error Occurred While Processing Request
Error
You mispelled default in your second argument - therefore a default
value was not created.
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia
Email: [EMAIL PROTECTED]
Blog :
In MX, UDF arguments is an array and a structure.
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia
Email: [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM :
I should be more clear - the value of Arguments is both an array and a
struct, not the arguments themself. Hope that makes sense.
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia
Email:
So really it's a struct where the keys are integers, is that right?
- Original Message -
From: Raymond Camden [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 12:28 AM
Subject: RE:
cffunction_arguments_[undefined_struct_element]_--_archived_but_ not
This should work on ORACLE8/CF4.5.1 (I'm developping for that platform right now)
I can't make much of your error. Can you post your entire cfquery.
CFQUERYPARAM is used for parameterized sql. It is usually good for performence and it
helps to avoid sql hacks.
cfsqltype describes the datatype
How can I get server name in Coldfusion (MX)???
#CGI.Server_Name# doesn't give name of server but DNS which I am using
to access my website. By name of server I mean physical name (OR IP) of
machine where my CF server is sitting.
Shahzad Butt (Development Engineer)
JJ FastFood Distribution
I'm not sure how the underlying code works - array functions work on it
which means it's not _just_ a struct with numeric keys. In general, I
use it as an array in script based UDFs and as a struct in tag based
udfs.
===
Raymond
If your running on a win machine you could use cfregistry to look at
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveCompu
terName
Or maybe cfexecute ipconfig and parse the results..
HTH
Mikey
=
http://www.phonebin.com
From
On 2/25/03, Matt Robertson penned:
Good work, Bud. From what I hear hooking their stuff into a commercial
product is an extroardinarily complex and disgustingly expensive
process. oldtiredrantGawd only knows why they want to make it
difficult to use their services/oldtiredrant, but they do.
For
Nice one
thanks
-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 11:55
To: CF-Talk
Subject: RE: Get Server Name
If your running on a win machine you could use cfregistry to look at
we are experiencing errors while trying to connect to the cfadministrator.
The error below is what we encounter:
ODBC Error Code = IM002 (Data source not found and no default driver specified)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver
specified
Any
? Wierd, as I am not sure that CFIDE (back-end) requires a database to
run but have you ensured that all your CF databases are reachable and
running via ODBC Manager.
Neil
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 13:09
To: CF-Talk
Is this just connecting to the cfide or is this happening when trying to
view the datasources page?
Mikey
=
http://www.phonebin.com
From Phone to Web in minutes
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent:
Pascal
Here is my query
CFQUERY datasource=liv8 name=funding
cachedwithin=#CreateTimeSpan(0,6,0,0)# blockfactor=100
SELECT *
FROM funding
WHERE 0=1
cfif Len(Trim(form.orgname))
OR UPPER(orgname) LIKE UPPER(cfqueryparam cfsqltype=CF_SQL_VARCHAR
value=%#form.orgname#%)
/cfif
cfif
Does anyone know how to incorporate business rules into an XML Schema?
This is a screen generator and I only want to display Description1 if Food
and Food3 have the correct values. Any ideas on how to incorporate that
into an Schema?
suny_displayentity
suny_displayelement
originally happened on the ODBC page but now it is happening when just trying to
access the administrator.
is there a file in the cfide/administrator that can be manually edited to fix this
problem??
thoughts?
TIA,
Mike
-Original Message-
From: Mike Townend [mailto:[EMAIL
Try comparing the registry...
Check that if an entry exists in the CF Store of datasources (I don't have
cf5 or less installed on this machine so I cant remember the full path but
it will be somewhere in HKEY_LOCAL_MACHINE\SOFTWARE\Allaire section) that it
exists in the
Tangorre, Michael wrote:
we are experiencing errors while trying to connect to the cfadministrator.
The error below is what we encounter:
ODBC Error Code = IM002 (Data source not found and no default driver specified)
[Microsoft][ODBC Driver Manager] Data source name not found and no
Michael,
There may be some way to do this within XML, but as soon as you talk about display or
presentation, XSLT comes to mind. It is the technology to take XML structural data and
turn it into a presentation.
d
-Original Message-
From: Michael Hoffman [mailto:[EMAIL PROTECTED]
Sorry for the duplicate post... my posts weren't being delivered on
CFTALK yesterday.
*** *** ***
Folks... I'm not sure what I'm doing here, but I'm hoping somebody can
point me in the right direction (even if the right direction is just a
web resouce, I don't mind learning).
I've got this
Does anyone know how to create a string containing CF code without it being
evaluated? i.e. I want to create a file containing the text cfinclude
template-mytemplate.cfm
I have tried this by creating a straing containing cfinclude
template-mytemplate.cfm using the DE function but when I try to
Thanks to everyone who responded.
The DBAs rmoved a DB we were using for client store.
Thanks
Mike
-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 8:29 AM
To: CF-Talk
Subject: RE: cf admin 4.01 (screwed up)
Try comparing the
(Sent this Tuesday, but it never showed up on the list)
Want to be able to recognize a few users as site *administrators*, giving
them option to logon (creating session variables, user structure, etc.) if
they want when come to their site. Or choose not to logon, staying out of
administrative
cfset myCFstr = '#char(139)#cfinclude
template=mytemplate.cfm#char(155)#'
-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 13:53
To: CF-Talk
Subject: Writing CF to a string
Does anyone know how to create a string containing CF code
without
Escape the quotes...
cfset str = cfinclude template=mytemplate.cfm
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia
Email: [EMAIL PROTECTED]
Blog :
Hi List,
Need some help...
I'm experimenting with XML query statements in SQL 2000 and have run into a
problem that I can't figure out under CF 4.51.
Here's the query:
select top 2 name, city, state, zip
from [restfile] Restaurant
where city='rye'
for xml auto,elements
When I run the query in
Rich
But won't that still be evaluated?
Also aint it chr? - and I think is chr(60) (maybe wrong).
-Original Message-
From: Rich Wild [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 13:52
To: CF-Talk
Subject: RE: Writing CF to a string
cfset myCFstr = '#char(139)#cfinclude
I'm doing that already
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 14:01
To: CF-Talk
Subject: RE: Writing CF to a string
Escape the quotes...
cfset str = cfinclude template=mytemplate.cfm
Use the ASCII characters for and . this should do what you want because I
did this when I built my CF Code generator.
Clint
-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 8:37 AM
To: CF-Talk
Subject: RE: Writing CF to a string
I'm
sorry Andy, I'm not thinking straight, which is a requisite when answering
questions.
you don't even need that chr() bit.
cfset myCFStr = 'cfinclude template=myTemplate.cfm'
will work fine and doesn't get evaluated.
-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]
Did you install JRun 4 SP1a ? (it breaks CF)
http://www.macromedia.com/support/jrun/releasenotes/4/releasenotes_4_sp1a.html
Also, the Updaters are for CFMX standalone, not CFMX for J2EE - did you install those.
hth,
Chris Norloff
-- Original Message --
Yes. I registered, but that one function doesn't seem to have a web
service yet. I am talking to the people who run the site, but they aren't
being too helpful. I needed it quick:)
At 02:21 AM 2/26/2003, you wrote:
Al, have you checked out http://www.uspswebtools.com/ ??
A lot of good
thanks Rich
-Original Message-
From: Rich Wild [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 14:37
To: CF-Talk
Subject: RE: Writing CF to a string
sorry Andy, I'm not thinking straight, which is a requisite when answering
questions.
you don't even need that chr() bit.
cfset myCFStr
Dave Watts said:
Just because I have a lock on the door doesn't mean
I'll never need to use my shotgun.
I guess the surprise party at Dave's house is off!
Best regards,
Dennis Powers
UXB Internet - A Web Design and Hosting Company
tel: (203)879-2844 fax: (203)879-6254
You cannot use cfqueryparam with cached queries. Go back to
UPPER('%#Trim(form.var)#%')
-Oorspronkelijk bericht-
Van: Ian Vaughan [mailto:[EMAIL PROTECTED]
Verzonden: wo 26/02/2003 14:17
Aan: CF-Talk
CC:
Onderwerp: Re: Correct Syntax
When using CFFILE with the upload action the file gets saved with the time
the file was written to the server. I would like to maintain the original
file date.
Any help is appreciated.
~|
Archives:
I've been working on this for a while and I've created a test page
before I move this over to my full form.
How can I create a loop that will allow my insert to work?
This is what I have:
cfif IsDefined('form.action')
cfquery name=addorg datasource=#DSN#
INSERT INTO org_admin
Sean, quick response as I am on my way out. The reason we initially pursued
the replacement of Fuses with CFC's is that it makes very intuitive sense in
some sort of Segue from FB3 to whatever FBMX becomes using CFC's sooner or
later. Our view from here is from the standpoint of a company
note what they say about their web tool...
ZIP+4 Lookup is intended for interactive use, not automated script
processing. Although we do not intend to impose a limit on the number of
address inquiries we allow a customer to request in a given session. If
we determine that our open-access policy
Change:
cfinput type=checkbox value=1 name=org /#org_abbr#br
input type=hidden name=org_id value=#list.id#
To:
cfinput type=checkbox value=#list.id# name=org_id /#org_abbr#br
Then on your action page your Form.org_id field will be a comma-delimited
list of org_id's.
Then you can just do
Did you install JRun 4 SP1a ? (it breaks CF)
This only affects CFMX for J2EE, right? I hope there isn't a problem for
those of us running JRun separately alongside CFMX Pro?
Thanks
Nick
~|
Archives:
I am using version 5.0. All I did was change an image on our website
and it comes up in coldfusion viewer fine. Even after saving the file
and going to my website, it displays as an empty box like it can't find
the image.
Any suggestions.
Thanks.
It's got nothing to do with ColdFusion. Your web server can't find the file.
First, refresh the page to ensure you're not looking at cached data.
If it's still broken, right-click on the broken image box and select
Properties
The Address (URL) should begin http://
Ensure it's pointing to the
Pascal
I removed the cached feature so the query looks like what I have below.
However If I search for an entry in the orgname field it displays the result
as it should.
If I try to search in the other two fields it returns no results ???
CFQUERY datasource=liv8 name=funding
SELECT *
FROM
Hi, i used to have a COM object (Tarifa.dll) that connects to a .MDB database to
calculate shipping charges for my e-commerce. Both files were provided by the a the
govern shipping company (i have no idea how to say that in english).
Everything works fine with cf5, but when i migrate to cfmx,
Known Issues in this [Updater 2] Release:
Errors can occur with Oracle Reference Cursors when used with packages
containing multiple procedures. These errors are caused by a problem with
the updated JDBC driver provided with this Updater Release.
I seem to be running into this issue. I'm
I tried sending this last night, but it doesn't seem to have made it to the
list, so here it is again...
I've just spent hours trying to figure out what's causing some really
bizarre issues with SOME of the client-scoped variables set in an
application I'm running to disappear. We've been trying
I've seen teh schizo debugging issue you mentioned too on one of our test boxes.
Drove two of us nuts this past Monday. We have no idea why it occured either. We
actually went so far as to bounce the whole box.
Doug
-Original Message-
From: Steven Durette [mailto:[EMAIL PROTECTED]
ARRRGHHH i got the problem! That should be related how JAVA interprets numbers in
diferent locales.
Using Locale(portuguese(Brazilian)) in CF5, the number #DecimalFormat(14.57)# was
displayed as 14.57. In CFMX, it is displayed as 14,57 (note the coma).
So, in my COM object, when i try to
I know - they made it difficult, but there has to be a way:)
This is for a non profit brain cancer website.. so that people can look
up their senators and representatives.
Al
note what they say about their web tool...
ZIP+4 Lookup is intended for interactive use, not automated script
I have created an application that uses cfcontent to generate an Excel
spreadsheet of the user's query results. Believe it or not, we have a few
users who are still using Office 97, and they have encountered problems
opening these files when the file size is about 2MB and larger. We don't
Kevin Langevin wrote:
The weirdest part of it all is that we've narrowed the cause of this to four
lines of code in a page that you land on after logging in (which sets a
number of these client variables). These lines of code were four tds each
of which contains an img tag with an empty src
We ran into this issue. Our company standard is still Office97. It sucks. IIRC
Office 2000 has an upper limit too...but then when you dump in excess of 2 to 5 MBs to
a web browser, you can expect shite to happen. What we did to help alleviate this is
to create a temp CSV file on the server
Martin,
FYIA local ISP here recently upgraded (admittedly a live server) to CFMX
and had all kinds of troubles. They contacted MM and were told flat out
that CFMX is not considered stable enough for shared hosting. Now if
they're telling customers that it kinda makes you wonder why we
Good on ya Budanything to promote the good CF word ;-)
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
-
Macromedia Associate Partner
Well, I'm using comes of these variables to maintain state...I'm
timestamping each pageview with CLIENT.lastAccess, and testing to see how
long it's been since the last lastAccess. If it's more than 30 minutes,
then I delete CLIENT.isAuthenticated, and the user will then need to log in
again. In
I'm not sure. Check out the fine print at the bottom of
http://www.macromedia.com/support/jrun/releasenotes/4/releasenotes_4_sp1a.html
Chris Norloff
-- Original Message --
From: Nick de Voil [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Wed, 26 Feb
Hi
I've done this a 100 times, but now I have a problem...
I'm trying to escape the single quote
why am I getting this:
ODBC Error Code = 37000 (Syntax error or access violation)
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in
query expression
HELP! How can I get rid of the startup params I set in the cfadmin for the JVM
My Server will not start, and I am sure it is because of these settings.
Brook
~|
Archives:
You could convert the single quotes in the string to ASCII or
PreserveSingleQuotes() might work (been awhile so I'm not 100% sure on the
preserve)
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
Use cfqueryparam then you won't have to worry about it anymore.
Bryan F. Hogan
Director of Internet Development
Macromedia Certified ColdFusion MX Developer
Digital Bay Media, Inc.
1-877-72DIGITAL
Bryan Stevenson wrote:
FYIA local ISP here recently upgraded (admittedly a live server) to CFMX
and had all kinds of troubles. They contacted MM and were told flat out
that CFMX is not considered stable enough for shared hosting. Now if
they're telling customers that it kinda makes you
This is the error in my log file:
java.lang.NoClassDefFoundError: XX:MaxPermSize=128m
Exception in thread main java.lang.NoClassDefFoundError: XX:MaxPermSize=128m
At 08:25 AM 2/26/2003 -0800, you wrote:
HELP! How can I get rid of the startup params I set in the cfadmin for the JVM
My Server
I'm also embarking on a CFMX / Mas 90 project. Have anyone gotten CF to talk to Mas 90
via ODBC? If so how. Where do I start?
Justin Hansen
--
Uhlig Communications
Systems Engineer
--
[EMAIL PROTECTED]
913-754-4273 Office
816-695-4045 Mobile
And I added this string to the JVM startup params:
-XX:MaxPermSize=128m
But now the server will not start. Is there some where I can edit these
settings? I can't find it
Brook
At 08:34 AM 2/26/2003 -0800, you wrote:
This is the error in my log file:
java.lang.NoClassDefFoundError:
HELP! How can I get rid of the startup params I set in the
cfadmin for the JVM
My Server will not start, and I am sure it is because of
these settings.
You can manually edit the file \CFusionMX\runtime\bin\jvm.config. I think
that this file gets backed up when you change JVM options in
I have an odd problem that I did not see mentioned in the archives. I will
logon to my w2k server that runs my cf5. I start a performance monitor
session to watch queued and running request totals. After awhile I logoff -
this will cause CF to do its unknown errors reached threshold - restarting
see below
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
-
Macromedia Associate Partner
www.macromedia.com
cfargument name=no type=string defualt=New
cfargument name=yes type=string default=Edit
Is that not still a bug? Should the CF parser not throw an error on the
invalid property?
You mispelled default in your second argument - therefore
a default
value was not created.
I'm sorry Dave, your right it was in there and there was a backup also.
Thank you :) I've got the flu, and was home sick in bed - I can't think
straight. Thank you a million.
Brook
At 11:37 AM 2/26/2003 -0500, you wrote:
HELP! How can I get rid of the startup params I set in the
cfadmin
There are some array functions you can use on Arguments in MX but not all --
as a matter of fact, there are array functions which could be used on the
Arguments array in CF 5 that now can't be used on them in MX (imho this is a
bug), for instance, you can't use arrayprepend, arrayappend or
'The data buffer created for the ColdFusion MX Application Server
service in the C:\WINNT\system32\cfperfmon_mx.dll library is not
aligned on an 8-byte boundary. This may cause problems for
applications
that are trying to read the performance data buffer. Contact the
manufacturer of this library
I am trying to write files using CFFILE and I would like to have carriage
returns in the file to make it look something like below:
Workshop Registration Information
startDate: blah
endDate: blah
workshopID: blah
title: blah
...
Right now, I am creating a variable called orderInfo and writing
There are some array functions you can use on Arguments
in MX but not all -- as a matter of fact, there are array
functions which could be used on the Arguments array in
CF 5 that now can't be used on them in MX (imho this is a
bug), for instance, you can't use arrayprepend, arrayappend
Al,
Thanks! That gets me off on that part.
Next question:
I need to pull the values out so I have an 'update' form. You'll see
that I'm listing the variables to see if the right values are being
pulled from the db. Only the first one is pulled. Do I have to loop
through the list_org query
Thank you for your response! Finally an idea of what the problem is! I
haven't been able to find an answer anywhere else before now. I'm glad to
know my instinct that we might encounter this eventually in Office 2000 is
right, and we're working on generating a CSV file to help with this
use chr(13) in orderInfo for a new line.
w
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 17:01
To: CF-Talk
Subject: CFFILE and carriage returns
I am trying to write files using CFFILE and I would like to have carriage
returns in the file to
Yeah, I found that section in the release notes last night. You'd think
that the CF installer would mention that. After following the instructions,
the server still wouldn't load, so I'm not sure what's up. I uninstalled
JRun (no way to just uninstall CFMX that I could find) and reloaded JRun
Use #chr(10)# in your variable where you want line breaks. Or, you can just
create the file content using CFSAVECONTENT, which is probably easier if
there isn't a lot of complex logic, and you're using CF5+.
barneyb
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I assume you mean this comparison:
cfif list_org.org_id EQ list.id
You're not providing any sort of row reference for list_org, so you'll
always look at the first record.
This should give you what you want:
cfif ListFind(ValueList(list_org.org_id),list.id) NEQ 0
-Original Message-
You could:
cfset crlf=#chr(13)##chr(10)#
Then insert #crlf# wherever you need the carriage return/linefeed.
Or, you can just set the variable with the crlf in it:
cfset output=Workshop Registration Information
startDate: #var#
endDate: #var2#
..
Lastly, you could use CFSAVECONTENT..
HTH
Use: #chr(10)##chr(13)# anywhere you want a carriage return.
Ie: Start Date: #startDate##chr(10)##chr(13)# End Date:
#endDate##chr(10)##chr(13)# WorkshopID: #workshopID##chr(10)##chr(13)#
...
Joshua Miller
Head Programmer / IT Manager
Garrison Enterprises Inc.
www.garrisonenterprises.net
[EMAIL
I always use 'Chr(13) Chr(10)' (believing that covers me for Mac and Windows) is
that correct? If not what should you use?
-Original Message-
From: Will Swain [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 17:11
To: CF-Talk
Subject: RE: CFFILE and carriage returns
use chr(13) in
Create a carriage-return line-feed pair
CFSET CRLF = #CHR(13)# #CHR(10)#
and append it to the string wherever you want a new line to start
cfset mystring = mystring #CRLF#
HTH
DavidB
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26,
no, I think you are right.
w
-Original Message-
From: David Collie (itndac) [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 17:24
To: CF-Talk
Subject: RE: CFFILE and carriage returns
I always use 'Chr(13) Chr(10)' (believing that covers me for Mac and
Windows) is that correct? If
you can also use the addnewline attribute in the CFFILE tag (i.e. if you're
outputting records from a query to your file)
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
Mac OS9 and less uses #chr(13)#
Mac OSX, Unix and Linux use #chr(10)#
Windows uses #chr(13)##chr(10)#
Using the windows line ending will absolutely cover all the bases, but I've
yet to run into a program (excepting notepad) that doesn't understand line
breaks from other systems.
barneyb
On Tuesday, February 25, 2003, at 09:59 AM, Leonardo Crespo - Cftop.COM
wrote:
I'm just complaining here, but i think it is a bug, since if your
using CFMX FOR J2EE and map you context root as /, you CAN'T make
cfform work.
I will let them know about it.
I was able to get it to work
Me too Christian, but that means i will have to change all the cfform tags in my
application...
Well, to be honest, i would do that in a few minutes, but anyway.
I am considering CFMX standalone much easier to work. Not to mention it is more stable
to me, as i have already problems with
When it comes to cfcomponent, function, and argument, mx allows random
crap that gets appended to the metadata. So, you can do stuff like:
cffunction
name=foo
returnType=array
weather=sunny
use=theforce
1 - 100 of 170 matches
Mail list logo