Your code works alright. FYI it looks perfect in Outlook Express, but the
text ver that displays in my web mail has the funky string at the end.
That string is the result of CFMX/CFMAIL inserting its own boundary, which
it formerly did only on msgs using the MIMEATTACH parm. The body of your
mes
It's not quite the same thing as a simple html form, a form can't be
posted automatically by the server and the response processed in the
same thread for example.
Cfhttp is fine for occasional posts, but beware. It's slow, flaky and
basically crap under heavy load. Java is the way to go.
-Ori
All,
I have written a Webservice in .Net that produces an Object Collection, the
basic structure is
Journeys(Index).JourneyDetail.LegCount
.Duration
.Legs(Index).LegData
I would like to know how I can loop thro
Jason,
Have you tried CFDUMPing the variable journey to see what CF think it really
has there?
Regards
Stephen
- Original Message -
From: "Jason Lees (National Express)" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 10:39 AM
Subject: Webservices th
I have no idea how to solve this, but did you try to use ? It
should reflect how coldfudion *sees* the return.
-Original Message-
From: Jason Lees (National Express)
[mailto:[EMAIL PROTECTED]]
Sent: vrijdag 29 november 2002 11:39
To: CF-Talk
Subject: Webservices that return Collections
Hey,
do any of you guys know exactly what is going on right now with Microsoft
and SUN.
I heard microsoft will completely stop supporting SUN Java after 2004, as
they are
developing their own VM not compatible with SUN's.
Now maybe some might think this is a question for Community, but I want to
Is it a valid ColdFusion recognised structure? The others are correct, if
you use CFDUMP you should be able to find out if if the structure is valid
for CF to intepret etc...
I would assume though that this should get the values out (though it
probably wont, as its Friday and I am putting in lit
All,
Im not a full time CF Coder, This is just to enable me a proof of concept
for some external contractor who are sceptical about the use of webservices.
The CFDump tag works a treat, I can use this to get all the details I need.
Many thanks,
Jason Lees
Systems Developer
National Express Coa
I am using the following script to display next/previous records script based on
Selene's at Webtricks script shown at the link below.
http://www.webtricks.com/sourcecode/code.cfm?CodeID=7
However in my code below I am stating that there should be only 2 results shown on
each page, however all r
Hi John,
Under a court settlement with SUN, MS can't use java2 technology (1.3
and above + I think) in their own VM, as far as I recollect, MS dumped
supporting java directly in their OS's shortly after, although you can
still get a MS VM if you want, I believe it's akin to Sun's jre 1.2
(java1, b
Thanks Craig,
//however you do use java classes rather than VB dll's,
yea been thinking about that, the VB implementation started
at the beginning of the year with CF 5.0 but since using
CFMX and espeacially reading the documentation its java, java, java.
Certainly from what I,ve read java and XML
Anyone know of a PHP to CF converter???
WG
A PHP programmer?
-Original Message-
From: webguy [mailto:[EMAIL PROTECTED]]
Sent: 29 November 2002 12:19
To: CF-Talk
Subject: PHP -> CF
Anyone know of a PHP to CF converter???
WG
~|
Archives: http://www.houseoffusion.
Nah, it won't leave you with any incompatibilities, simply download and
install sun's jre's, don't even consider using an MS VM and you can't
really go wrong.
As far as COM goes, you can do pretty much anything that you can do with
com with java; either JNI (Java Native Interface) or EJB (Enterpri
Its SUN or IBM etc who creates the JVM for wintel platforms. So the JVM is
sitting on top of the WIn32 platform. The only way MS can break it, would be
to break the Win32 API, which would break any other programs using that API
(e.g. most programs)
Theoretically MS chould phase out the Win32 API,
I'm just lazy. LOL Are php programmers Open Source?
WG
> -Original Message-
> From: Robertson-Ravo, Neil (RX)
> [mailto:[EMAIL PROTECTED]]
> Sent: 29 November 2002 12:18
> To: CF-Talk
> Subject: RE: PHP -> CF
>
>
> A PHP programmer?
>
> -Original Message-
> From: webguy [mailto:[
//I've been trying to
//learn java for a few months on and off, some days I feel I'm actually
//starting to get there, others I feel like I'm nowhere near.
So Java is like golf,
damn and I hate golf,
Pleasure craig.
-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]]
Sent: 2
Lol, yes it is to me.
-Original Message-
From: John McCosker [mailto:[EMAIL PROTECTED]]
Sent: 29 November 2002 12:41
To: CF-Talk
Subject: RE: MS CF AND JAVA
//I've been trying to
//learn java for a few months on and off, some days I feel I'm actually
//starting to get there, others I fee
I didnt find a way to convert code over but I thought this was a cool CF
Studio hack :)
http://www.coztech.com/index.cfm?ID=94
Thanks,
Michael
- Original Message -
From: "webguy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 7:32 AM
Subject: RE: PHP
Yep :-) LOL, I hear ya!
-Original Message-
From: webguy [mailto:[EMAIL PROTECTED]]
Sent: 29 November 2002 12:32
To: CF-Talk
Subject: RE: PHP -> CF
I'm just lazy. LOL Are php programmers Open Source?
WG
> -Original Message-
> From: Robertson-Ravo, Neil (RX)
> [mailto:[EMAIL PR
Tell us, please...
Cutter
Bryan Stevenson wrote:
>Well...nobody responded, but I got it sorted out ;-)
>
>Bryan Stevenson B.Comm.
>VP & Director of E-Commerce Development
>Electric Edge Systems Group Inc.
>t. 250.920.8830
>e. [EMAIL PROTECTED]
>
>-
You guys are all seriously confused.
All MS is doing is *not* including an implementation of Java with their XP
OS. So what? Download the Java Runtime Environment from Sun and install
it. There, you have a full implementation of Java.
It is up to *Sun* to support any Microsoft OSs with Java, n
Is there a known Java component or tag I can use with CF 4.5 to make to type
of post reliably?
I'll look around the dev exchange.
- Original Message -
From: "Craig Dudley" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 5:22 AM
Subject: RE: Posting X
Hey Mark,
What I did with CFMX was exactly that.
cfhttp url="www.site.com" method="post" resolveurl="no">
and it seems to work. I'm still in the exporatory stage of this. I guess
ultimately I would need a Java solution.
Also, my client is running CF 4.5 so i don't know if it's work with that
have a look here ...
http://www.granularity.net/technologies/xml/Granularity-Sending_and_Recivein
g_XML_with_ColdFusion.pdf
WG
> -Original Message-
> From: Frank Mamone [mailto:[EMAIL PROTECTED]]
> Sent: 29 November 2002 15:13
> To: CF-Talk
> Subject: Re: Posting XML
>
>
> Is there a kno
//MS is doing is including an implementation of Java with their XP OS
Thats right,
XP is supporting the implementation of Java,
my query was after 2004 all MS OS will not, due to a leagal battle with SUN
and MS,
which resulted in MS telling lies, lies, lies...
Anyway, I'm just going to use my bett
Hey,
I've been offlist for a while,
has there been a fix to CFX_ZIP for MX yet.
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe
That's pretty much what I said, so how am I confused?
-Original Message-
From: Kwang Suh [mailto:[EMAIL PROTECTED]]
Sent: 29 November 2002 14:58
To: CF-Talk
Subject: RE: MS CF AND JAVA
You guys are all seriously confused.
All MS is doing is *not* including an implementation of Java with
Yep, v1.5 runs perfectly on CFMX.
--- Ben
-Original Message-
From: John McCosker [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 29, 2002 10:22 AM
To: CF-Talk
Subject: CFX_ZIP and MX
Hey,
I've been offlist for a while,
has there been a fix to CFX_ZIP for MX yet.
~
Wow. Thanks
- Original Message -
From: "webguy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 10:19 AM
Subject: RE: Posting XML
> have a look here ...
>
>
http://www.granularity.net/technologies/xml/Granularity-Sending_and_Recivein
> g_
Hi ben,
Ben I purchased CFX_ZIP from CFEXTRAS,
do I qualify for an upgrade, I also have the CD which I also ordered on
purchase.
Do I have to re-purchase, I hope you don't think I am a scruge.
-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]]
Sent: 29 November 2002 15:46
To:
Looks like their download site is down. Do you have their tag and can you
send it to me ?
Thanks
- Original Message -
From: "webguy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 10:19 AM
Subject: RE: Posting XML
> have a look here ...
>
>
http://w
Try this.
You will need to compile it, instruction on how to do that are in the
java CFX section of the cf documentation;
Save it as sendXMLData.java
And compile;
Javac -classpath cfx.jar sendXMLData.java
This should produce a class file, stick that in x:\cfusion\java\classes
and register it a
Kwang is correct regarding Sun's ability to provide a JVM. As long as
Sun maintains JVMs for Windows, it will always be possible to run Java
on Windows. The problem is that Microsoft stopped distributing a JVM
with Windows XP, which means users have to download and install a third
party JVM (
Free upgrade for existing users. I'll e-mail you offline.
--- Ben
-Original Message-
From: John McCosker [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 29, 2002 10:57 AM
To: CF-Talk
Subject: RE: CFX_ZIP and MX
Hi ben,
Ben I purchased CFX_ZIP from CFEXTRAS,
do I qualify for an upg
Ok, you're not confused, I am :)
- Original Message -
From: Craig Dudley <[EMAIL PROTECTED]>
Date: Friday, November 29, 2002 8:46 am
Subject: RE: MS CF AND JAVA
> That's pretty much what I said, so how am I confused?
>
> -Original Message-
> From: Kwang Suh [mailto:[EMAIL PROTECT
Sweeet!!!
Thanks!
- Original Message -
From: "Craig Dudley" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 11:17 AM
Subject: RE: Posting XML
> Try this.
>
> You will need to compile it, instruction on how to do that are in the
> java CFX section of
Hi,
I am about to set up a web application which has been developed in ColdFusion on
Linux using Microsoft SQL as the backend database.
This application is now ready to go live, and we need to decide whether to run the
ColdFusion server on Linux or Microsoft Windows 2000, as we have equal know
I have a comma delimited list of integer values. Is there a cf function
that will add all the values together?
Or do I have to loop through the list adding each value to get the sum?
Matthew P. Smith
Web Developer, Object Oriented
Naval Education & Training Professional
Development & Techno
Try
#ArraySum(ListToArray(myList))#
HTH
-Original Message-
From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 29, 2002 17:56
To: CF-Talk
Subject: sum values in list
I have a comma delimited list of integer values. Is there a cf function
that will a
Yeah, we are open source, but certainly not free! LOL
That would be the programming masterpiece to have a suite of utilities that
would translate code from one programming language to another.
In fact that could well be classified as the "Killer app of the century!" Not
to mention every software
This is the same as any Linux v's windows web hosting debate so you'll get
lots of opinions.
Here are the issues as I see it
a) do know the same amount about each, and you have the same amount of
people in house that do
b) do you are confident in your security knowledge on both (or you are
willin
I have CF 5.0 on my Linux box, and my SQL2000 database on another box running
Win2k. Using the ODBC driver that comes with CF, I am able to connect to the
SQL database and it works very well. I even set up a custom port which
side-steps all the port 1433 scans that seem to be the norm these days.
Thanks, Mike. It works(sorta).
Below is my original code:
I believe its fixed in MX, but other than that you will have to check
for the existance first...
Or just ya plain old
Or maybe change your SQL to include the SUM of your licences
HTH
Mikey
-Original Message-
From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PR
Why not just return the totals as a part of your query? Let the database do
it's job.
Ken
-Original Message-
From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 29, 2002 1:13 PM
To: CF-Talk
Subject: RE: sum values in list
Thanks, Mike. It works(sorta).
Because me dba is taking a 4 day holiday weekend, and I'm just trying a cf
solution.
;)
>>-Original Message-
>>From: Ken Wilson [mailto:[EMAIL PROTECTED]]
>>Sent: Friday, November 29, 2002 12:26 PM
>>To: CF-Talk
>>Subject: RE: sum values in list
>>
>>Why not just return the totals as a
So you're using Stored Procedures, not CFQUERY, and you can't change the
SPs?
Chris Lofback
Sr. Web Developer
TRX Integration
28051 US 19 N., Ste. C
Clearwater, FL 33761
www.trxi.com
> -Original Message-
> From: Smith, Matthew P -CONT(DYN)
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday,
Here's one that goes the other way. I haven't tested this out or anything,
but it makes you think :)
http://sourceforge.net/projects/cf2php/
Thanks,
Michael
- Original Message -
From: "samcfug" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 1:07 PM
Correct.
We will probably modify the root proc with an additional method to return
aggregates, but I'd like to wrap this up so it's ready to go Monday morning
and I don't have it hanging over me all weekend.
The loop works fine, I was just exploring additional options for personal
knowledge. The
Hi folks,
I'm very curious about performance issues regarding Java running under
Linux versus Java under Windows - with the same hardware config and JVM
version. Can we say, in terms of performance for CFMX (and JVM itself),
that one plataform is better than other? I'm not sure, but I've heard
pe
OK, I think this should solve your empty string problem:
Chris Lofback
Sr. Web Developer
TRX Integration
28051 US 19 N., Ste. C
Clearwater, FL 33761
www.trxi.com
> -Original Message-
> From: Smith, Matthew P -CONT(DYN)
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 29, 2002 1
The wrap makes this confusing. Don't miss the space in the parameters...
ArraySum(ListToArray(ListChangeDelims(ValueList(qMyQuery.MyColumn),",","
")))
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscr
**PLEASE RESPOND OFF LIST TO LEE @ P R I M E D N A . NET (sorry.. trying
to stop the spam email collectors). **
I thought this might be a great place to ask.. Has anyone installed
RedHat Linux 8.0 and WinXP Pro on the same box? Dual boot or otherwise?
TTAIA
G.
ListChangeDelims(ValueList(qMyQuery.MyColumn),","," ")
> -Original Message-
> From: Smith, Matthew P -CONT(DYN)
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 29, 2002 12:56 PM
> To: CF-Talk
> Subject: sum values in list
>
>
> I have a comma delimited list of integer valu
Nope, still getting the 2.12453679578E-314
Thanks though.
Matthew P. Smith
Web Developer, Object Oriented
Naval Education & Training Professional
Development & Technology Center
(NETPDTC)
(850)452-1001 ext. 1245
[EMAIL PROTECTED]
>>-Original Message-
>>From: Lofback, Chris [mailt
Hi folks,
I'm very curious about performance issues regarding Java running under Linux versus
Java under Windows - with
the same hardware config and JVM version. Can we say, in terms of performance for CFMX
(and JVM itself), that
one plataform is better than other? I'm not sure, but I've hear
CF4.5 actually was the last version before they hosed up cfhttp. It
still may be slow and flakey, but it doesn't encode.
--
jon
mailto:[EMAIL PROTECTED]
Friday, November 29, 2002, 10:12:41 AM, you wrote:
FM> Is there a known Java component or tag I can use with CF 4.5 to make to type
FM> of pos
Has anyone here integrated intuit products into their cold fusion based
ex/intranets via Intuit's developer network software...we are just
starting this, and had a few quick questions for someone who has been
down their SDK road before.
Thanks!
Regards,
Eric J Hoffman
DataStream Connexion
www.da
Hmm..
Does this mean I can write CFML code, test it on the CF server...and
then convert it to PHP and it will work the same?
Cuz that would be way cool for my clients that don't want to put out a
cent for database connectivity :)
^_^
-Gel
-Original Message-
From: Michael Greenberg [m
At 03:56 PM 11/29/02 -0400, Angel Stewart wrote:
>Does this mean I can write CFML code, test it on the CF server...and
>then convert it to PHP and it will work the same?
It would be nice, but it is an alpha product that hasn't been updated since
Sept of 2001 (at least, as far as I can tell.)
T
Hey Craig,
I'm getting this when compiling with 1.4:
D:\CFusionMX\wwwroot\WEB-INF\classes\sendXMLData.java:31: cannot resolve
symb
symbol : variable XMLData
location: class sendXMLData
String dataString = "XMLData=" + URLEncoder.encode(XMLData);
Any ideas?
- Original Message -
From: "
I figured out why you have those garbage chars at the end (the cf-generated
boundary).
Look at your last content boundary statement... see the extra two dashes at
the end? The boundaries should all be identical. Remove those and your
messages will no longer have the junk visible at the end.
Thi
The thing I question is how good the interpretation of code would be. I used
an asp to CF converter once and it wasn't even close, but who knows what
this will do.
If anybody out there is playing around with this please let the group know
what your results were.
Michael
- Original Message --
Nice work - thanks Matt!
At 12:46 PM 29/11/02 -0800, you wrote:
>I figured out why you have those garbage chars at the end (the cf-generated
>boundary).
>
>Look at your last content boundary statement... see the extra two dashes at
>the end? The boundaries should all be identical. Remove those
While we are on this topic. I ran into this PHP hack for CF Studio I thought
I would share.
http://www.coztech.com/index.cfm?ID=94
Michael
- Original Message -
From: "Michael Greenberg" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 3:48 PM
Subject:
The boundaries in a Mutlipart-MIME message are not really equal. The
last boundary is supposed to have two extra dashes in it.
>From RFC 1341:
The encapsulation boundary following the last body part is a
distinguished delimiter that indicates that no further body
parts will
I have a client that is in the process of splitting up his website into multiple
domains. My thought was to just use cflocation to repoint browsers to the new
location. Problem is that I believe cflocation returns an http response of 302, page
found - moved temporarily. I would like to send back
Y2K Internet - Administrator wrote:
> I have a client that is in the process of splitting up his website into multiple
>domains. My thought was to just use cflocation to repoint browsers to the new
>location. Problem is that I believe cflocation returns an http response of 302, page
>found - mov
Hi Jochem,
Thank you for such a speedy response. I tried your suggestion, but the
status code that comes back is still 200. I knocked up a test routine
http://www.the-best-in-town.com/http.cfm (just does a cfhttp using a weird
agent name and in the application.cfm I detect the weird agent name and
can u do the calculation on a calculator? i know, it sounds crazy
but it may be too large of an integer for cf to handle, 32 bit is the
highest ;)
tony.
X revolutionwebdesign.com X
-Original Message-
From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 29,
71 matches
Mail list logo