RE: Debugging jquery post to coldfusion

2009-10-01 Thread Craig Dudley

Firebug is cool but I also use a reverse proxy called Charles which is 
extremely useful (http://www.charlesproxy.com/)

-Original Message-
From: Andy Matthews [mailto:li...@commadelimited.com] 
Sent: Thursday, October 01, 2009 2:39 PM
To: cf-talk
Subject: RE: Debugging jquery post to coldfusion


A really good way to debug jQuery to CF mechanics is to use Firefox and
Firebug. In Firebug you can see AJAX calls. Right click on that line in FB
then select copy with parameters, and paste that into a new tab. It'll store
all of your passed in vars, and let you see what CF is doing.


andy

-Original Message-
From: Doug Hyde [mailto:deve...@fusesite.com] 
Sent: Thursday, October 01, 2009 6:32 AM
To: cf-talk
Subject: Debugging jquery post to coldfusion


I am having trouble processing a post to a cf template using a jquery post.
I have set up a template to dynamically evaluate the form fields being
posted - it isn't working, however it uses the following basic syntax:

cfloop list=#FieldNames# index=i
cfif i does not contain 'fieldnames'
cfset value = evaluate(i)
#i# #value#
/cfif
/cfloop

One of the challenges I find with debugging coldfusion and jquery/ajax
interactions is seeing what is going on. To address this, and as a way to
debug what is going on with the jquery post, I decided to place the above
code in a cfmail tag as follows:

cfmail to=myem...@someaddress.com from=myem...@someaddress.com
server=localhost subject=Test jquery form post

cfloop list=#FieldNames# index=i
cfif i does not contain 'fieldnames'
cfset value = form[i]
#i# #value#
/cfif
/cfloop

/cfmail

When I post to this template, I find that this doesn't work either? Huh? Can
anyone explain why? The code below does work (I get a message with the
fieldnames and values) so jquery is posting...

cfmail to=myem...@someaddress.com from=myem...@someaddress.com
server=localhost subject=Test jquery form post

cfloop collection=#form# item=i
cfif i does not contain 'fieldnames'
cfset value = form[i]
#i# #value#
/cfif
/cfloop

/cfmail

Any explanation why the first cfmail example wouldn't work? In the meantime,
I am going to start recoding my template to use the second method. 


 





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326802
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Cold Fusion Enterprise or Standard Installed?

2009-09-28 Thread Craig Dudley

I think the 'CED' at the beginning of the serial stands for ColdFusion 
Enterprise Edition, perhaps not a great idea posting the whole serial though ;-)

Anyway, you can prove it by logging into the administration web page and going 
to the system information page, though I'm not sure if it's called that in CF7, 
I think it's linked form the top menu as in Cf8 though.

Craig.

-Original Message-
From: Robert Kelso [mailto:robert.ke...@forensicpursuit.com] 
Sent: Monday, September 28, 2009 9:17 PM
To: cf-talk
Subject: Re: Cold Fusion Enterprise or Standard Installed?


Mark,

Since the server.log didn't seem to give me what I was looking for, I started 
down the road of your idea of replacing the S/N into an existing installation 
of ColdFusion.  Of course, I had no such thing since I am a computer forensics 
guy, not a developer and I've never used ColdFusion.  Regardless, I downladed 
and installed a trial version of Cold Fusion and replaced the serial number 
into my own license.properties file.  Not sure where to go from here though.  
I'm sure look at the server settings makes perfect sense to all the 
ColdFusion developers out there, but I don't really know what that means.  By 
the way, the serial number I extracted is CED700-53365-17253-87902.  If it 
would be really fast for you pop this serial number into one of your ColdFusion 
installations and see what information you can gather, I would dearly 
appreciate it.  I could probably even arrange for some compensation for your 
efforts.  Let me know if you'd to give it a try.  Thanks!



 Hi Brad,
 
 Thanks for that (Thanks to Mark as well).  I have looked through the 
 server log but see no reference to either Enterprise or Standard.  
 Do you think the absence of the line Enterprise Edition enabled 
 means that non-Enterprise edition was installed, or could it be 
 something else?
 
 Here's an excerpt from my log:
 
 Information,main,05/14/07,19:46:55,,D:\CFusionMX7\logs\server.
 log initialized
 
 Information,main,05/14/07,19:46:55,,Starting logging...
 
 Information,main,05/14/07,19:46:55,,Starting crypto...
 
 Information,main,05/14/07,19:46:56,,Starting license...
 
 Information,main,05/14/07,19:46:56,,Starting License server ...
 
 
 Information,main,05/14/07,19:46:58,,Starting scheduler...
 
 Information,main,05/14/07,19:46:58,,Starting WatchService...
 
 
 Information,main,05/14/07,19:46:58,,Starting debugging...
 
 Information,main,05/14/07,19:46:58,,Starting sql...
 
 Information,main,05/14/07,19:46:58,,Starting mail...
 
 Information,main,05/14/07,19:46:58,,CORBA Configuration not 
 enabled
 
 Information,main,05/14/07,19:46:58,,Starting cron...
 
 Information,main,05/14/07,19:46:58,,Starting registry...
 
 Information,main,05/14/07,19:46:58,,Starting client...
 
 Information,main,05/14/07,19:46:58,,Starting xmlrpc...
 
 Information,main,05/14/07,19:46:58,,Starting graphing...
 
 Information,main,05/14/07,19:46:58,,Starting verity...
 
 Information,main,05/14/07,19:46:58,,Starting archive...
 
 Information,main,05/14/07,19:46:58,,Starting document...
 
 Information,main,05/14/07,19:46:59,,Starting eventgateway...
 
 
 Information,main,05/14/07,19:46:59,,Starting FlexAssembler...
 
 
 Information,main,05/14/07,19:46:59,,ColdFusion started
 
 Information,main,05/14/07,19:50:07,,Starting logging...
 
 Information,main,05/14/07,19:50:07,,Starting crypto...
 
 Information,main,05/14/07,19:50:07,,Starting license...
 
 Information,main,05/14/07,19:50:07,,Starting License server ...
 
 
 Information,main,05/14/07,19:50:08,,Starting scheduler...
 
 Information,main,05/14/07,19:50:08,,Starting WatchService...
 
 
 
 
 Better yet-- if you have access to the server.log file, crack it 
 open
 and look at its last restart:
 
 Information,main,09/04/09,15:24:12,,Starting logging...
 Information,main,09/04/09,15:24:12,,Starting license...
 Information,main,09/04/09,15:24:14,,Enterprise Edition 
 enabled
 
 It should tell you what version was enabled after the starting 
 license
 part.
 
 ~Brad
 
 Robert,
 
 Find the serial number (in license.properties) and go to an existing 
 CF
 installation - even one on your dev box - and update the serial 
 number.
 Then
 look at the server settings.
 
 -Mark 




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326705
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Just checking

2009-01-30 Thread Craig Dudley

W, it's alive! hof that is, not you Adrian ;-)

-Original Message-
From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk] 
Sent: Thursday, January 29, 2009 12:59 PM
To: cf-talk
Subject: Just checking


Not heard a peep from CF-Talk in a while. Is anybody there? :O.




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318658
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Generating graphs

2009-01-15 Thread Craig Dudley
Indeed, if you really want flash charts you could try using ...

http://www.maani.us/xml_charts/

I've been meaning to try it myself for ages, you generate the XML and the flash 
handles thest I think, no server side stuff invovled.

Craig.

-Original Message-
From: Barney Boisvert [mailto:bboisv...@gmail.com] 
Sent: Thursday, January 15, 2009 8:05 PM
To: cf-talk
Subject: Re: Generating graphs

CFCHART can emit PNG and JPG.  Google Charts does everything with PNG.
 Some Flash-based engines can export an PNG version of their content
view, and others accept static XML files to create the display.  In
short, there are a lot of options that don't require any sort of
server-side component at runtime.

cheers,
barneyb

On Thu, Jan 15, 2009 at 11:59 AM, Claude Schneegans
schneeg...@internetique.com wrote:
 Hi,

 I'm working on an application that will generate result pages containing
 graphs like bars or pie charts.
 Once the pages are generated,  I must install a static html version on
 customers servers with no CF.
 So Java or CFGRAPH is not an option, I need some tag that will create
 plain GIF, JPEG or PNG files.

 Any hint about such a product ?


 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318009
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 2005

2008-12-20 Thread Craig Dudley
Do you have a DHCP server on your network? It's not something as simple as the 
XP guest OS has a different IP now is it?

-Original Message-
From: Anne Porosoff [mailto:an...@redfamiliar.com] 
Sent: Saturday, December 20, 2008 7:00 AM
To: cf-talk
Subject: Re: CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 
2005

I played some more with VMWare this evening and it looks like I can't access 
the guest from the host at all. At this point I'm out of ideas and it seems 
like it might be easier just to reinstall VMWare and XP.  Although I'm hoping I 
have an epiphany before it comes to that (grin)

 Dave,
 
 You reminded me of a couple of things I forgot to mention.  I did turn 
 off the Windows Firewall and Windows Defender to make sure they 
 weren't the culprit and that did not solve the issue.  I also tried to 
 access the localhost on the guest from the Mac but was unable to get 
 to the localhost, nevertheless, an error was not thrown. That last 
 part I need to revisit because I really should have gotten some sort 
 of an error about the server not being found.
 
 Thanks,
 --Anne
 
   So I have encountered a rather interesting and frustrating problem 
 
  with my CF/VMWare/SQL
   Server setup on my mac this week.  Everything had been working 
  beautifully until sometime
   around December 14/15.  Below is the error I receive:
  
   [Macromedia][SQLServer JDBC Driver]Error establishing socket to 
 host 
  and port:
   xxx.xxx.xxx.xxx:1433. Reason: Network is down
  
   I've gone through and checked my SQL Server settings and TCP/IP is 
 
  indeed enabled and it
   doesn't appear any of the other settings have been changed.  I did 
 
  notice, however, that a Windows
   update was applied around that time so I rolled back those updates.  
 
  Alas, I still can't get a connection.
   I can successfully connect to the db via SQL Server Management 
  Studio within VM and I can
   access my localhost on my Mac from VM as well.  Needless to say, 
  this is truly puzzling. Any ideas?
  
  My guess is that this is a VMware problem, or a problem with the
  Windows firewall you're running within the VM guest. Can you 
 connect
  using any other tools from the host to the guest's TCP/1433? Can 
 you
  connect in any way from the host to the guest?
  
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  
  Fig Leaf Software provides the highest caliber vendor-authorized
  instruction at our training centers in Washington DC, Atlanta,
  Chicago, Baltimore, Northern Virginia, or on-site at your location.
  Visit http://training.figleaf.com/ for more 
 information! 




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317019
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 2005

2008-12-19 Thread Craig Dudley
Have the VMWare network settings for that VM changed from bridged to NAT or 
vice versa?

-Original Message-
From: Anne Porosoff [mailto:an...@redfamiliar.com] 
Sent: Friday, December 19, 2008 2:44 PM
To: cf-talk
Subject: CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 2005

So I have encountered a rather interesting and frustrating problem with my 
CF/VMWare/SQL Server setup on my mac this week.  Everything had been working 
beautifully until sometime around December 14/15.  Below is the error I receive:

[Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: 
xxx.xxx.xxx.xxx:1433. Reason: Network is down

I've gone through and checked my SQL Server settings and TCP/IP is indeed 
enabled and it doesn't appear any of the other settings have been changed.  I 
did notice, however, that a Windows update was applied around that time so I 
rolled back those updates.  Alas, I still can't get a connection.  I can 
successfully connect to the db via SQL Server Management Studio within VM and I 
can access my localhost on my Mac from VM as well.  Needless to say, this is 
truly puzzling. Any ideas?

Thanks in advance,
--Anne 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316970
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CF8, IIS7 and M$ Windows 2008

2008-12-12 Thread Craig Dudley
It runs fine on Vista's IIS7 if that's any indication.

-Original Message-
From: Che Vilnonis [mailto:ch...@asitv.com] 
Sent: Friday, December 12, 2008 4:22 PM
To: cf-talk
Subject: CF8, IIS7 and M$ Windows 2008

Just wondering, does anyone have CF8 installed on M$ Windows 2008? Does it
play nice with IIS7? Also, which version of the OS are you using? The Adobe
website does not list the 2008 Web edition as an OS that will work. Any,
other issues that I might want to know?

Thanks, Che





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316704
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: What IDEs are folks using?

2008-12-09 Thread Craig Dudley
Yes, also still use CF Studio 5.

-Original Message-
From: Duane Boudreau [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 09, 2008 2:39 PM
To: cf-talk
Subject: RE: What IDEs are folks using?

Anyone running Eclipse on vista out there?

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 09, 2008 10:16 AM
To: cf-talk
Subject: RE: What IDEs are folks using?

Eclipse here with Editplus for my quick text editor (and also for regex). 

-Original Message-
From: Neil Ross [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2008 5:06 PM
To: cf-talk
Subject: What IDEs are folks using?

I'm curious as to what people are using for IDE of choice these days. I'm
sure some folks have moved toward the Eclipse-based IDE but are any of you
using the IBM Rational IDE? 







~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316472
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: IDE announced: IDE/Compiler Business Model

2008-11-19 Thread Craig Dudley
That would be me :p

Persoanlly I don't care whether they charge me for the server or the IDE, or 
perhaps even both as long as it's only roughly the same amount in total. I'm in 
the rather unique position of having one server licence and need of only one 
IDE.

My point regarding cfeclipse is that it works really, REALLY well. So why 
should we I pay for something which seems at first glance to be very similar 
(at least in my mind). It's going to have to have some awesome extra features 
to make me part with my hard earned cash, I ssupect many other cfeclipse users 
feel the same.

Craig.



-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 19, 2008 8:50 PM
To: cf-talk
Subject: Re: IDE announced: IDE/Compiler Business Model

On Wed, Nov 19, 2008 at 12:37 PM, Robert Harrison 
[EMAIL PROTECTED] wrote:

  If anything they should charge $500 for an IDE and give away ColdFusion
 for free

 That is so much better of a business model. The main problem selling CF web
 sites is the cost to deploy a site. Too much of the burden is going to the
 site owners or hosts.

 What they should do is give away a free CFSERVER runtime that only runs
 compiled code and sell the IDE/compiler to developers. The whole business
 model is backwards the way it is now, and it's definitely hurting sales.
 Developers are always willing to pay for an IDE/compiler. And that would
 also solve the whole issue the need to encrypt CFcode before deploying to
 an
 unfamiliar ISP's server.

 I love CF and would really like to see Adobe fix this business model. It
 would definitely be better for the whole CF community and would make CF a
 more competitive solution.


I'm always curious when people make such definitive statements...

- it's definitely hurting sales

Do people really think that a corporation as large as Adobe makes decisions
in a vacuum?  I'm not saying a big corporation is always right, but I'd tend
to think that the people making the decisions have more information at their
disposal and do take the information into consideration.

- Developers are always willing to pay for an IDE/compiler

Really?  In the thread on the recently-announced CF IDE (the thread that
spawned this one), one developer unequivocally stated, if it's more than
$0, i'll stick with CFEclipse.

As developers, we're passionate people.  We make statements based more on
emotion than fact.  I believe there's less emotion in the board rooms where
these decisions are made, and the decision-makers have a wealth of
information at their disposal that we as outsiders are simply not aware of.

It's easy for us to look at specific decisions as they affect us as
developers and/or business owners and lose sight of the fact that there's a
bigger picture out there.

-- 
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315622
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: IDE announced: IDE/Compiler Business Model

2008-11-19 Thread Craig Dudley
Well you really have to take quotes in context ;-) The English language is so 
inaccurate at times.

I was to be honest talking exclusively about cfeclipse, bolt being based on 
eclipse too is quite likely to be similar in many ways, hence my attitude of 
disinterest.

I'm notoriously fickle though and one or two killers features will have me sold

-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 19, 2008 9:55 PM
To: cf-talk
Subject: Re: IDE announced: IDE/Compiler Business Model

On Wed, Nov 19, 2008 at 1:47 PM, Craig Dudley [EMAIL PROTECTED] wrote:

 That would be me :p

 Persoanlly I don't care whether they charge me for the server or the IDE,
 or perhaps even both as long as it's only roughly the same amount in total.
 I'm in the rather unique position of having one server licence and need of
 only one IDE.

 My point regarding cfeclipse is that it works really, REALLY well. So why
 should we I pay for something which seems at first glance to be very similar
 (at least in my mind). It's going to have to have some awesome extra
 features to make me part with my hard earned cash, I ssupect many other
 cfeclipse users feel the same.


But... you didn't say, unless it offers compelling features over and above
what CFEclipse offer, I can't see paying for it.  You simply said (and I
paraphrase), If it costs more than $0, count me out.

From that statement, it's not a stretch to deduce that regardless of the
features, you were simply not interested in paying for an IDE.

If you intended to suggest that it's not worth paying for unless it's got
features that aren't in CFEclipse, I'd agree with that :)


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315632
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Official ColdFusion IDE announced

2008-11-18 Thread Craig Dudley
If it costs more than $0 I'll carry on using cfeclipse, as will most people I 
suspect.

-Original Message-
From: Matthew Williams [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 18, 2008 8:38 PM
To: cf-talk
Subject: Re: Official ColdFusion IDE announced

I wonder just how much the commercial release is going to cost?  I 
can't see spending more than $50 for a new IDE.


Matthew Williams
Geodesic GraFX



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315456
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Official ColdFusion IDE announced

2008-11-18 Thread Craig Dudley
I only switched to Eclipse earlier this year, hell I was still using an ancient 
copy of CF-Studio 5. I've always hated Dreamweaver for writing code and never 
switched despite actually having a licensed copy on my machine for years 
(though not any more).

I'm VERY glad I did finally make the switch though and it didn't take long to 
get used to, a few weeks at most. Any official IDE that's based on top of 
Eclipse is going to be similar in many ways, being similar in price is the only 
way I'll switch to be honest.

As you say Wil, it's also great to be able to use a PC or a Mac and swap 
between the two often, as I do.

Craig.

-Original Message-
From: Wil Genovese [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 18, 2008 10:02 PM
To: cf-talk
Subject: Re: Official ColdFusion IDE announced

I know what you mean Michael.  It took me a long while to get comfy in
CFEclipse.  Now I use it all the time.  It was the switch to CFEclipse that
freed me from Windows.


Wil Genovese



On Tue, Nov 18, 2008 at 3:42 PM, Michael Dinowitz 
[EMAIL PROTECTED] wrote:

 I don't think most people are using cfeclipse. It's not a very comfortable
 environment for a lot of people, myself included. I'd love to see
 statistics, but I'm betting less than a third of the community is on it.
 Free is nice, but comfort is better.

 If it costs more than $0 I'll carry on using cfeclipse, as will most
 people I suspect.
 
 I wonder just how much the commercial release is going to cost?  I
 can't see spending more than $50 for a new IDE.
 
 
 Matthew Williams
 Geodesic GraFX

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315478
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Official ColdFusion IDE announced

2008-11-18 Thread Craig Dudley
Strangely your the second person who's misinterpreted what I said.

I didn't actually say most people use CFEclipse at all. I merely intimated that 
anyone already using CFEclipse, would probably carry on if Bolt costs any 
money, they are both based on Eclipse after all so will quite likely have many 
similarities.

As for the new features, none of them jumped out as being that time saving for 
me, I'll keep an open mind as ever but at present I'm not excited.

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 19, 2008 12:09 AM
To: cf-talk
Subject: Re: Official ColdFusion IDE announced

 If it costs more than $0 I'll carry on using cfeclipse, as will most people I 
 suspect.

First, most people don't use CFEclipse. Second, is your time really
that worthless to you, assuming this has compelling features? The MAX
general session demo looked pretty interesting to me. Third, Adobe
hasn't released any pricing info for this yet, and I wouldn't be
surprised if they haven't even figured that out for themselves yet.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315491
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Rember DOS?

2008-11-08 Thread Craig Dudley
Doesn't Windows include a way of truncating things with ~ in order to maintain 
dos 8.3 file names?

i.e. program files = progra~1

So Documents and Settings could be Documen~1 ??

Not sure if that will help but it might.

-Original Message-
From: Don L [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 08, 2008 6:46 PM
To: cf-talk
Subject: Rember DOS?

I'm having a hard time with some string manipulation with DOS for the last half 
an hour or so including googling to no avail.

Here's the deal.
DOS/Window batch process does not like white space, hence, I need to replace 
the following directories that including white space with quotes prefix and 
sufix.  So,
Documents and Settings would be replaced with Documents and Settings etc.

REM %appdata% maybe = C:\Documents and Settings\aUser\Application Data\
REM Here's the problem area, I don't see anything wrong below
REM however, it's not working
for /f tokens=1,2,3,4 delims=\ %%a in (%appdata%) do set a=%%aset 
b=%%bset c=%%cset d=%%d
set a = %a%
set b = %b%
echo %a% 
REM expect to see C: for var a
echo %b%
REM expect to see Documents and Settings for var b

Anyone?  Thanks.




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314992
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Random record identifiers in MySQL 5.0

2008-10-28 Thread Craig Dudley
 *nods* I do. But the extra layer of UUID is better then using auto increase.

Personally I strongly disagree with that but hey ho, each to their own


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314459
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfimage - resize then force download?

2008-10-19 Thread Craig Dudley
Think you'll have to force the download of the resized image but can't you use 
cfcontent to delete it with deletefile=true ?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 19, 2008 3:23 AM
To: cf-talk
Subject: cfimage - resize then force download?

I am sure I am probably not the first person to want to do this but I can't 
find the answer anywhere.

I am writing an image library and would like to do the following:
- load the full size image using CFFILE
- resize it
- force it to download

I know I can force a download with cfheader/cfcontent but can I combine that 
with cfimage, or will I need to save the file after resizing, and then point to 
that one? Just trying to keep it tidy.

Thanks,
Mark King





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314103
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: setting div visibility with javascript

2008-10-10 Thread Craig Dudley
You shouldn't do. 

What's going wrong in your example?

-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: 10 October 2008 15:19
To: cf-talk
Subject: SOT: setting div visibility with javascript

Hey all,

If I'm setting the visibility for a div (display:none or display:block 
in this case), do also need to set visibility for anything inside the 
div. IE:

div id=a style=display:none;
span class=whatever
   blah
/span
/div

If I wanted this to not display, and behave properly, do I need to set 
the display property for the span tag as well?

-- 
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research amp; Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: [EMAIL PROTECTED]





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313715
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: setting div visibility with javascript

2008-10-10 Thread Craig Dudley
Umm, it might be as simple as the JS not setting the display property
correctly?

e.g.

document.getElementById(COMMENTB).style.display = none;
document.getElementById(COMMENTC).style.display = '';
document.getElementById(FRMSUBMIT).style.display = '';

Shouldn't the empty quotes be 'block' ? I could be wrong though.

-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: 10 October 2008 15:59
To: cf-talk
Subject: Re: setting div visibility with javascript

It's complicated:

here's the template:
http://cfm.pastebin.com/m549bfe76

what I'm specifically dealing with is function Q4Chk(i), which sets 
display settings based on the input from a set of radio buttons
(note: I didn't write this, but I'm trying to get it to work properly)

The business logic states that each question in the section has three 
possible answers, yes, no or I don't know.
Yes and I don't know should respond exactly the same way, no 
responds differently., However if the user answers yes, or I don't 
know to any question, that overrides the behavior triggered by any no 
answers.

There it isclear as mud

Craig Dudley wrote:
 You shouldn't do. 

 What's going wrong in your example?

 -Original Message-
 From: Scott Stewart [mailto:[EMAIL PROTECTED] 
 Sent: 10 October 2008 15:19
 To: cf-talk
 Subject: SOT: setting div visibility with javascript

 Hey all,

 If I'm setting the visibility for a div (display:none or display:block 
 in this case), do also need to set visibility for anything inside the 
 div. IE:

 div id=a style=display:none;
 span class=whatever
blah
 /span
 /div

 If I wanted this to not display, and behave properly, do I need to set 
 the display property for the span tag as well?

   

-- 
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research amp; Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: [EMAIL PROTECTED]





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313722
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CF8 Webservice returnType=array

2008-09-02 Thread Craig Dudley
I'm trying to return a 2 dimensional array from a Coldfusion web service and
it just won't work, the CFC's will return the correct array if I access them
locally, but as soon as I try to access them via a web service I get the
following error 

 

---snip---

The fault returned when invoking the web service operation is:

 

'' java.lang.NullPointerException

---snip---

 

The CFC code is fine as all the actions work perfectly, I can even cfdump
the return array in a cfmail right before cfreturn and it's the correct
array. I have a feeling that the web service is indeed returning the correct
array but CF's web services client isn't interpreting it properly, WSDL
issues maybe?

 

Has anyone come across this and found a work-around in the past?

 

Cheers,

 

Craig.

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311909
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFC Best Practices

2008-08-19 Thread Craig Dudley
Rob, if you are using MSSQL why don't you use @@IDENTITY?

e.g. this crappy example...

cfquery name=insertLocation datasource=#mydsn#
INSERT INTO tblLocations (
address1, address2, address3, town
)
VALUES (
cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#trim(form.address1)#,
cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#trim(form.address2)#,
cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#trim(form.address3)#,
cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#trim(form.town)#,

)
SELECT @@IDENTITY AS locationID
/cfquery

#insertLocation.locationID# is then your last inserted item. (assuming
tblLocations has an identity column that is)

Cheers,

Craig.


-Original Message-
From: RobG [mailto:[EMAIL PROTECTED] 
Sent: 19 August 2008 16:26
To: CF-Talk
Subject: Re: CFC Best Practices

James Holmes wrote:
 You can generally avoid the problem with a cftransaction tag if you're
 doing the MAX(id) thing, but the other solutions are better
 (especially the new CF8 goodies which, for example, are a life saver
 for Oracle).

I've tried using the result.identitycol trick with CF8 and MSSQL and for 
me, it doesn't work.  I just get an error.

So what I've stuck to is this...

Before the first insert, I do cfset now = Now()

Then in the insert, for my date_added value, I use #now#.

Then after that, when I do my select MAX(id), I also add where 
date_added = '#now#'

AND I also wrap the whole thing in a cftransaction...

Rob



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311264
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFC Best Practices

2008-08-19 Thread Craig Dudley
Interesting, never had a problem with @@IDENTITY though. It seems to me that
unless you're using triggers, it's pretty much impossible for it to return
the wrong value in a query like the example below.

SCOPE_IDENTITY() certainly looks a little safer but I'm not worried about
all my old code.

Craig.

-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: 19 August 2008 16:57
To: CF-Talk
Subject: Re: CFC Best Practices

On Tue, Aug 19, 2008 at 10:44 AM, Craig Dudley [EMAIL PROTECTED] wrote:
 Rob, if you are using MSSQL why don't you use @@IDENTITY?

Just to be clear, @@identity returns the most recent inserted id of
all tables. So if you had a trigger that when a table gets an insert,
another table also gets an insert, @@identity would return the
triggered table ID.

For SQL 2000 +, look at SELECT SCOPE_IDENTITY() or SELECT
IDENT_CURRENT('tablename').

http://www.sqlteam.com/article/alternatives-to-identity-in-sql-server-2000

I've seen other good blog entries / articles about this, but couldn't
locate them at the moment.

-- 
Matt Williams
It's the question that drives us.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311269
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfqueryparam and bit field (was:Re: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3 Driver)

2008-08-12 Thread Craig Dudley
Set your queryparam to sqltype 'CF_SQL_TINYINT' ?

It's cheating I know, but should work.

To be honest I have a bad habit of using tinyint's in the database too
instead of bit fields, just so I can group by that field if I really have
to.

Hope that helps.

Craig.

-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: 11 August 2008 19:14
To: CF-Talk
Subject: cfqueryparam and bit field (was:Re: CF 8 Built in SQL Server
drivers vs. MS SQL Server 2000 SP3 Driver)

The cfqueryparam tags work fine with the character fields, but they're 
returning true or false as opposed to 1 or 0, even though 1 or 0 is 
passed to it from the form.

Any ideas?

Scott Stewart wrote:
 That's cool, I appreciate the input.

 thanks

 sas

 Craig Dudley wrote:
   
 Had a good look but can't find the examples, it's fairly easy to set up
 anyway.

 The MS SQL Server JDBC driver is three/jar fiels I think? Just drop them
 into \ColdFusion8\runtime\jre\lib\ext and restart CF, the .jar should
then
 appear in the big CF Server Java Class Path box in settings summary in CF
 Admin.

 When you add a datasource, elect other from the driver dropdown it will
ask
 you for a JDBC URL, Driver Class and Driver Name. All of which is
standard
 JDBC stuff but there are docs in the MS download package I think, it's
not
 complex either way but sorry I couldn't find my examples as it might have
 saved some time.

 Craig.

 -Original Message-
 From: Scott Stewart [mailto:[EMAIL PROTECTED] 
 Sent: 11 August 2008 17:14
 To: CF-Talk
 Subject: Re: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3
 Driver

 Thanks Craig

 The higher ups have deemed this a last resort... so if it comes to 
 this I'll put up some results.
 I'm pursuing what could be an issue with cfqueryparam

 Craig Dudley wrote:
   
 
 Not for a while, from memory you just drop the three MS .jar's somewhere
 
   
 in
   
 
 CF's classpath and restart CF to install and creating datasources
becomes
 
   
 a
   
 
 bit more dificult, I'll see if I can dig up an example for you.

 I seem to remember that performance wasn't all that great, in fact,
CF7's
 built in drivers were faster in most of my test cases. Sorry I haven't
 
   
 tried
   
 
 them on CF8.

 The MS drivers don't cause any issues with CF's built in drivers though
so
 why not give it a try on your dev box?

 Craig.

 -Original Message-
 From: Scott Stewart [mailto:[EMAIL PROTECTED] 
 Sent: 11 August 2008 15:10
 To: CF-Talk
 Subject: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3
 
   
 Driver
   
 
 Hey all,

 I've run into an issue that I need opinions on. We've run into some SQL 
 server issues, where MS is saying patch the driver.
 Has anyone used the MS SQL Server 2000 SP3 JDBC driver in place of the 
 one shipped with CF8?
 Has it cleared up 8180 errors?
 Any performance gains/losses?
 Any gotchas?

 thanks

 sas

   
 
   
   
 

   

-- 
--
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research amp; Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: [EMAIL PROTECTED]





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310850
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Is CF logged in as a service or a user?


-Original Message-
From: Marcus Goedeker [mailto:[EMAIL PROTECTED] 
Sent: 12 August 2008 14:42
To: CF-Talk
Subject: Re: cfexecute batch file not working

 Try:
 cfexecute name=c:\windows\system32\cmd.exe
   
 arguments=c:\test.bat
   
 outputfile=c:\output.txt /
 
Jochem

Thanks for the reply.  I tried it and it doesn't work.  It doesn't output
anything in the file either.

Marcus 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310865
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Did you try it logged in as Admin?


-Original Message-
From: Marcus Goedeker [mailto:[EMAIL PROTECTED] 
Sent: 12 August 2008 15:25
To: CF-Talk
Subject: Re: cfexecute batch file not working

Is CF logged in as a service or a user?



Thanks for the reply.  I tried it and it doesn't work.  It doesn't output
anything in the file either.

Marcus

A service. 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310873
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Umm, just to be clear, I meant with Coldfusion logged in as Administrator,
not sure if it will help but it certainly might.


-Original Message-
From: Marcus Goedeker [mailto:[EMAIL PROTECTED] 
Sent: 12 August 2008 16:20
To: CF-Talk
Subject: Re: cfexecute batch file not working

Did you try it logged in as Admin?



A service.

Yes, i am the admin. 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310880
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3 Driver

2008-08-11 Thread Craig Dudley
Not for a while, from memory you just drop the three MS .jar's somewhere in
CF's classpath and restart CF to install and creating datasources becomes a
bit more dificult, I'll see if I can dig up an example for you.

I seem to remember that performance wasn't all that great, in fact, CF7's
built in drivers were faster in most of my test cases. Sorry I haven't tried
them on CF8.

The MS drivers don't cause any issues with CF's built in drivers though so
why not give it a try on your dev box?

Craig.

-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: 11 August 2008 15:10
To: CF-Talk
Subject: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3 Driver

Hey all,

I've run into an issue that I need opinions on. We've run into some SQL 
server issues, where MS is saying patch the driver.
Has anyone used the MS SQL Server 2000 SP3 JDBC driver in place of the 
one shipped with CF8?
Has it cleared up 8180 errors?
Any performance gains/losses?
Any gotchas?

thanks

sas

-- 
--
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research amp; Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: [EMAIL PROTECTED]





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310725
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3 Driver

2008-08-11 Thread Craig Dudley
Had a good look but can't find the examples, it's fairly easy to set up
anyway.

The MS SQL Server JDBC driver is three/jar fiels I think? Just drop them
into \ColdFusion8\runtime\jre\lib\ext and restart CF, the .jar should then
appear in the big CF Server Java Class Path box in settings summary in CF
Admin.

When you add a datasource, elect other from the driver dropdown it will ask
you for a JDBC URL, Driver Class and Driver Name. All of which is standard
JDBC stuff but there are docs in the MS download package I think, it's not
complex either way but sorry I couldn't find my examples as it might have
saved some time.

Craig.

-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: 11 August 2008 17:14
To: CF-Talk
Subject: Re: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3
Driver

Thanks Craig

The higher ups have deemed this a last resort... so if it comes to 
this I'll put up some results.
I'm pursuing what could be an issue with cfqueryparam

Craig Dudley wrote:
 Not for a while, from memory you just drop the three MS .jar's somewhere
in
 CF's classpath and restart CF to install and creating datasources becomes
a
 bit more dificult, I'll see if I can dig up an example for you.

 I seem to remember that performance wasn't all that great, in fact, CF7's
 built in drivers were faster in most of my test cases. Sorry I haven't
tried
 them on CF8.

 The MS drivers don't cause any issues with CF's built in drivers though so
 why not give it a try on your dev box?

 Craig.

 -Original Message-
 From: Scott Stewart [mailto:[EMAIL PROTECTED] 
 Sent: 11 August 2008 15:10
 To: CF-Talk
 Subject: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3
Driver

 Hey all,

 I've run into an issue that I need opinions on. We've run into some SQL 
 server issues, where MS is saying patch the driver.
 Has anyone used the MS SQL Server 2000 SP3 JDBC driver in place of the 
 one shipped with CF8?
 Has it cleared up 8180 errors?
 Any performance gains/losses?
 Any gotchas?

 thanks

 sas

   

-- 
--
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research amp; Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: [EMAIL PROTECTED]





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310734
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: HELP! SQL Injection Attack!

2008-08-07 Thread Craig Dudley
I'm a little bermused as to why you'd create such a response guys.

A bot is attempting the injection attacks yes? It's not likely to be visible
to the host computer's owner as far as I can imagine.

I suppose it would help **IF** a legitimate user came to your site at a
later date from a banned IP, but that's all, or is that why you are doing
it?

Craig.

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: 07 August 2008 16:42
To: CF-Talk
Subject: Re: HELP! SQL Injection Attack!

 Your system appears to be infect with a bot and it is
currently banned from access this site...

The cherry on the sundae ;-)
In this page, I even have a form so the user can give his address and
claim his innocence ;-)

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310377
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Using iMS with CF 8.0.1

2008-08-04 Thread Craig Dudley
Hello All,

 

Have asked this on the iMS support site and as yet got no reply but
hopefully someone on here can help, is anyone successfully using iMs Mail
server with Coldfusion 8.0.1?

 

I've recently done a clean install of iMS 2.8.4 and CF 8.0.1 on a new server
and iMS will not talk to Coldfusion at all, the InFusion DLL mapping don't
appear to work. Originally this issue seems to have been with the iMS
installer not recognising CF8 but a revised connector patch was supposed to
have fixed it (CFML_Connector_Installer.exe version 1.2) this indeed DOES
detect CF8 but sets the infusion DLL to
'C:\ColdFusion8\runtime\lib\wsconfig\iEng\jrun.dll'

 

This produces the following error when trying to process any server
templates;

 

WARNING: inFusionEngine error:
C:\ColdFusion8\runtime\lib\wsconfig\iEng\jrun.dll was not registered.
Please configur inFusionEngine DLL mappings.

 

Setting this DLL mapping to C:\ColdFusion8\runtime\lib\wsconfig\
jrun_iis6.dll or C:\ColdFusion8\runtime\lib\wsconfig\1\
jrun_iis6_wildcard.dll as I'd expect it to be from previous installations
produces the following error...

 

WARNING: inFusionEngine error: JRun ISAPI Application Extension Stub failed
(HSE_STATUS_ERROR)

 

Anyone got any ideas? I'm stumped.

 

Craig.

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310142
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Using iMS with CF 8.0.1

2008-08-04 Thread Craig Dudley
In the interests of being complete.

Support have now solved this..

It seems the CF connector is extracting the windows 64 jrun.dll on CF 8.0.1,
so extracting the 32bit one manually from..

\ColdFusion8\runtime\lib\wsconfig.jar
(connectors\isapi\intel-win\prebuilt\jrun.dll)

And using it to overwrite \ColdFusion8\runtime\lib\wsconfig\iEng\jrun.dll
fixes the problem.

Craig.


-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED] 
Sent: 04 August 2008 15:49
To: CF-Talk
Subject: Using iMS with CF 8.0.1

Hello All,

 

Have asked this on the iMS support site and as yet got no reply but
hopefully someone on here can help, is anyone successfully using iMs Mail
server with Coldfusion 8.0.1?

 

I've recently done a clean install of iMS 2.8.4 and CF 8.0.1 on a new server
and iMS will not talk to Coldfusion at all, the InFusion DLL mapping don't
appear to work. Originally this issue seems to have been with the iMS
installer not recognising CF8 but a revised connector patch was supposed to
have fixed it (CFML_Connector_Installer.exe version 1.2) this indeed DOES
detect CF8 but sets the infusion DLL to
'C:\ColdFusion8\runtime\lib\wsconfig\iEng\jrun.dll'

 

This produces the following error when trying to process any server
templates;

 

WARNING: inFusionEngine error:
C:\ColdFusion8\runtime\lib\wsconfig\iEng\jrun.dll was not registered.
Please configur inFusionEngine DLL mappings.

 

Setting this DLL mapping to C:\ColdFusion8\runtime\lib\wsconfig\
jrun_iis6.dll or C:\ColdFusion8\runtime\lib\wsconfig\1\
jrun_iis6_wildcard.dll as I'd expect it to be from previous installations
produces the following error...

 

WARNING: inFusionEngine error: JRun ISAPI Application Extension Stub failed
(HSE_STATUS_ERROR)

 

Anyone got any ideas? I'm stumped.

 

Craig.

 





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310176
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Unknown JS error when doing AJAX.

2008-07-30 Thread Craig Dudley
I assume you're having issue debugging? 

Install the reverse proxy called 'Charles' in Firefox and you can watch the
calls themselves, that and Firebug are invaluable tools for doing stuff like
Ajax and remoting.

Craig.


-Original Message-
From: Phillip M. Vector [mailto:[EMAIL PROTECTED] 
Sent: 30 July 2008 16:40
To: CF-Talk
Subject: Re: Unknown JS error when doing AJAX.

Does anyone know what I can use to show something other then innerHTML 
to show html from a ajax call?

Phillip M. Vector wrote:
 Brad Wood wrote:
 Also, what kind of element is character?  IE doesn't like it when you 
 attempt to innerHTML a table after page load.
 
 It's an area surrounded with div
 
 div id=character name=character
   Please select an option
 /div
 
 I changed it from innerHTML to value, but now it doesn't pop up the 
 results in either firefox or IE. What do I need to change it to so that 
 it populates that area with html?
 
 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309953
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: SES URL handling

2007-04-23 Thread Craig Dudley
Paul,

I totally gave up on using CF managed SES url's a while back, although
it might not be 100% useful for you, I'm using a windows mod_rewrite
equivalent called Linkfreeze.

http://www.helicontech.com/linkfreeze/

It dynamically re-writes all internal links in your source code as it
delivers content via IIS, well worth checking out but there are many
other tools to do the same thing.

As for 404 handling, it's just as it would be on any normal site. So far
it's a much simpler solution.

Craig.

-Original Message-
From: Paul Vernon [mailto:[EMAIL PROTECTED] 
Sent: 22 April 2007 00:53
To: CF-Talk
Subject: SES URL handling

How do you guys handle misspellings in SES urls? Or do you even worry
about
it?

At the moment, I'm handling this using a CF 404 error handler that
queries a
mappings table using the SQL Server DIFFERENCE function and if multiple
records are returned, I run the records through a levenshtein distance
algorithm to find the closest SES url to that which was entered into the
browser. It is looking to be very effective but I can't help wondering
if
there is a better way to handle it...

If anyone has any better ideas, I'd love to hear them :)

Paul





~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275996
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: SES URL handling

2007-04-23 Thread Craig Dudley
Paul,

I fully understood what you were asking but quite frankly thought it was
massive overkill to be honest. I personally wouldn't do it for a number
of reasons, the main one being Google and splitting page rank and/or it
thinking you have pages with duplicate content.

Still, to accomplish what your trying to do you have what looks like a
solid solution, although how about simply showing a 404 but showing a
list of possible urls that are like the mistyped url on the 404 handling
page?

Cheers,

Craig.

-Original Message-
From: Paul Vernon [mailto:[EMAIL PROTECTED] 
Sent: 23 April 2007 14:21
To: CF-Talk
Subject: RE: SES URL handling

Hi Craig,

 I totally gave up on using CF managed SES url's a while back, although
 it might not be 100% useful for you, I'm using a windows mod_rewrite
 equivalent called Linkfreeze.
 
 http://www.helicontech.com/linkfreeze/
 
 It dynamically re-writes all internal links in your source code as it
 delivers content via IIS, well worth checking out but there are many
 other tools to do the same thing.

I wasn't asking about URL rewriting in the traditional sense, I was
asking
about how you handle typos in the URLs...

Eg 

http://www.myserver.com/thisiscorrect/  --- this is ok

http://www.myserver.com/thisiscorect/   --- this has a typo

Personally, I'd want them both to work with the incorrect one being
detected
and corrected so that rather than serving the 404 handler, it redirects
to
the relevant content.

This example is a naive one as it could be done with URL re-write but I
want
(and have developed) something more generic that could handle pretty
much
any old rubbish and have a good guess as what is should point at. I'm
just
not sure if there is a better way to do it.

 As for 404 handling, it's just as it would be on any normal site. So
 far
 it's a much simpler solution.

So in your case, am I to understand that if someone entered the second
URL
in my example your server would simply serve the 404? If so then again,
this
is not what I am talking about. 

For me, the server should have a modicum of intelligence when it is
looking
at the URLs and be able to provide a closest match to the mistyped URL.
This
is especially useful when you consider the spelling of certain common
words
changes between countries that use the same language where maybe z is
used
instead of s. There are a few exceptions where the words are too far
away
from each other for this to work for instance, Fawcett and Tap, Wrench
and
Spanner, Fender and Wing, Hood and Bonnet but in these cases the
standard
URL rewrite stuff will work just fine It's the fuzzy logic cases I'm
wondering about...

As I said, my solution to this is in the 404 handler and uses the SQL
DIFFERENCE function and a levenshtein distance algorithm to determine
which
content in the DB is the closest match to that which was typed. The
DIFFERENCE function pulls out a subset of the links that are reasonably
close matches and the levenshtein algorithm then picks the closest one. 

It seems to be effective, I was simply asking if anyone knows if there
is a
better solution?

Paul





~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276029
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: css n00b question

2007-03-23 Thread Craig Dudley
Assuming your three columns above are all floated to the left, try 

div style=clear: both;margin-top: 20px;/div

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 23 March 2007 13:11
To: CF-Talk
Subject: OT: css n00b question

I am trying my first css design and was wondering how to accomplish
something. Say I have a container div which contains left, right and
center
columns and then below those three columns I want another div with
spacing
between the three columns above it, how would I accomplish this
correctly?
Would I use padding-top on the bottom div? I have tried using margin-top
but
that moves all the divs down and not just that one div.

 

 

 

 

 

 

 

 

 

Any help appreciated

 

 

 

Doug





~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273550
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Java 6 JRE?

2006-12-13 Thread Craig Dudley
Can you not contact Adobe and extend your maintenance agreement?

Pretty sure you can.

Craig.

-Original Message-
From: DURETTE, STEVEN J (ASI-AIT) [mailto:[EMAIL PROTECTED] 
Sent: 12 December 2006 19:03
To: CF-Talk
Subject: RE: Java 6 JRE?

Well, since someone threw it out there, Scorpio hasn't been released
yet...  You think Adobe might test with 6 JRE and make it work with
Scorpio?

Then again I'm a little ticked at Adobe for Scorpio...  My maintenance
agreement ends in March and Scorpio won't be released until after that
(or so I've read on the net I could be wrong).  Now I have to come up
with a new business case to try and get the upgrade and upper management
is going to want to know if a new maintenance agreement is worth it
since we didn't get anything from the last one.

Steve


-Original Message-
From: Peterson, Chris [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 12, 2006 1:51 PM
To: CF-Talk
Subject: Java 6 JRE?


I KNOW it wont be supported, but has anyone tested the Java 6 JRE with
CF?  I was gonna toss it on a dev server and was just wondering if
anyone else has tried it.

Chris





~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263905
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Inches

2006-03-13 Thread Craig Dudley
Can you not ust ask people to enter integers and store them as such? 

-Original Message-
From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED] 
Sent: 13 March 2006 11:33
To: CF-Talk
Subject: Inches

Hi all,

Got a form to enter product size info that needs to take inches, ie 22

How do I get this value into MSQL and then display it please?

Thanks, Jenny

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date:
10/03/2006





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235175
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting CFHTTP to REALLY act like a form submission

2006-01-19 Thread Craig Dudley
A little flawed, using CFHTTP will make coldfusion server do a post, NOT
the user's browser.

-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] 
Sent: 19 January 2006 15:42
To: CF-Talk
Subject: Getting CFHTTP to REALLY act like a form submission

I was using cflocation to redirect to another page to display a list of
items.  CFLOCATION works except when there are too many items in the
#dclist# variable (this is a list of document ID's and is in a few cases
very long).  Here is how I was doing things, but it failed when the URL
was too long:

cflocation url=/admin/datacards/?dclist=#dclist#status=0
addtoken=No

So, I figured I'd try CFHTTP to get it to act more or less like a form
submission, which would allow me to skirt the URL length issue. 
Problem is, it doesn't redirect to /admin/datacards/ like it should. 
Is there something wrong with my code, or is my understanding of how
CFHTTP works when using this method flawed?

cfhttp method=POST url=/admin/datacards/ redirect=Yes
cfhttpparam type=FORMFIELD name=status value=0
cfhttpparam type=FORMFIELD name=dclist value=#dclist#
/cfhttp

Thanks,

Pete



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229973
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Purchasing CF MX Enterprise...

2006-01-16 Thread Craig Dudley
I think so, developer edition is Enterprise edition that falls back to
single IP after all.

-Original Message-
From: Protoculture [mailto:[EMAIL PROTECTED] 
Sent: 16 January 2006 13:24
To: CF-Talk
Subject: Purchasing CF MX Enterprise...

Our company is considering purchasing an old license of CFMX Enterprise.
My question is does Macromedia (Adobe) still offer support. IE
downloadable versions of CF MX 6.1 Enterpise that we can install?

I noticed on the Macromedia site all they have left is the CFMX 6.1
developer edition. Providing we have the proper license for CFMX
enterprise, will this expand into the full blown enterprise edition?




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229664
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Numbers to Words

2005-11-16 Thread Craig Dudley
I'm sure I've seen a CFC or UDF before that translates numbers into
words, eg;

103 -- One hundred and three

Can anyone remember where it was?

Craig Dudley
Senior Developer
Netstep Corporate Communications Ltd
Direct Line: +44(0) 1422 319712
Phone: +44(0) 1422 200308
Fax: +44(0) 1422 200306
e-mail: [EMAIL PROTECTED]
MS Messenger: [EMAIL PROTECTED]
www: www.netstep.co.uk

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224307
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Numbers to Words

2005-11-16 Thread Craig Dudley
Cheers Paul,

I'll have a play with that.

Craig.

-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: 16 November 2005 12:13
To: CF-Talk
Subject: Re: Numbers to Words

Craig Dudley wrote:
 I'm sure I've seen a CFC or UDF before that translates numbers into 
 words, eg;

we used to have a c++ cfx tag for that but quite a while ago we switched
to using icu4j's  RuleBasedNumberFormat (since we use it for so much
else). besides spellout it also gives you duration (time)  ordinal
(1st, 2nd, etc.) formatting per locale. see:
 
http://icu.sourceforge.net/apiref/icu4j/com/ibm/icu/text/RuleBasedNumber
Format.html

for details. it requires a small wrapper class for cf to talk to it,
drop me a line if you want the java class/code.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224309
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Numbers to Words

2005-11-16 Thread Craig Dudley
Just incase anyone else is interested in a version of working code... 

Copy/Install the icu4j jar file from
http://www-306.ibm.com/software/globalization/icu/downloads.jsp to
CFusionMX/runtime/servers/lib

And then

!--- Create and instance of the formatter using spellout  ---
cfset formatter =
createObject(java,com.ibm.icu.text.RuleBasedNumberFormat).init(javac
ast(int,1))

!--- Format the number as words using the default ruleSet ---
cfset finalString = formatter.format(javacast(long,
inNumber),%default)

Works a treat, thanks Paul

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224318
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Numbers to Words

2005-11-16 Thread Craig Dudley
I did look on cflib but didn't find it, eheh

But anyway, list seems a bit slow today and by the time your reply came
I'd gone down the java route.

Thanks very much all.

-Original Message-
From: Brian Peddle [mailto:[EMAIL PROTECTED] 
Sent: 16 November 2005 14:41
To: CF-Talk
Subject: RE: Numbers to Words

http://www.cflib.org/udf.cfm?ID=40

-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 16, 2005 6:33 AM
To: CF-Talk
Subject: Numbers to Words

I'm sure I've seen a CFC or UDF before that translates numbers into
words, eg;

103 -- One hundred and three

Can anyone remember where it was?

Craig Dudley
Senior Developer
Netstep Corporate Communications Ltd
Direct Line: +44(0) 1422 319712
Phone: +44(0) 1422 200308
Fax: +44(0) 1422 200306
e-mail: [EMAIL PROTECTED]
MS Messenger: [EMAIL PROTECTED]
www: www.netstep.co.uk





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224340
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Weird Database Issue with Memo field

2005-11-07 Thread Craig Dudley
Does the access db setup in coldfusion have an enable CLOB option? Not
got time to check, if so, try that.

-Original Message-
From: Jim Louis [mailto:[EMAIL PROTECTED] 
Sent: 07 November 2005 15:37
To: CF-Talk
Subject: Weird Database Issue with Memo field

Hello,

I have a Access 2000 Database that when I display a record it will not
display a field that is a memo field.  It reports it as a null.  Also
the Database does not lock or get the db.ldb file with it.  This is on
Microsoft-IIS/5.0 Coldfusion 5.  I have tried

1. Deleting the ODBC. And Reinstalling it.
2. Compacting and repairing the DB.
3. Deleting out the table and reimporting it from Excel file.
4. Use an old copy of the database.
5. Pulled out all of my hair.
6. contacted my Hosting Company.

Anything else to try? 

Thank you in advance,

Jim Louis   



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223434
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Should we support Access?

2005-06-07 Thread Craig Dudley
Drop it imho.

PostgreSQL, MySQL and SQL Server should be more than enough for a forum
app. 

-Original Message-
From: Stan Winchester [mailto:[EMAIL PROTECTED] 
Sent: 07 June 2005 17:13
To: CF-Talk
Subject: Should we support Access?

As many of you know from my previous posts we have had a forums
application in beta testing for a while. It was developed primarily
using SQL Server and MySQL, but wanted to offer support for Access 
PostgreSQL, but have found Access a pain to support. The problem is with
cfqueryparam throws errors with Access because the cfsqltype in many
cases is not the same for Access as it is for the other databases. For
example:

 

Using a data type: number field size: Long Integer throws an error
Database reported: [Microsoft][ODBC Microsoft Access Driver]Optional
feature not implemented if the cfsqltype is CF_SQL_INTEGER. If I
change the cfsqltype to CF_SQL_NUMERIC it works fine.

 

Another example:

A SQL Server, MySQL, ect. field data type varchar(500) with cfqueryparam
set as follows: cfqueryparam value=#Comments#
cfsqltype=CF_SQL_VARCHAR
maxlength=500 works fine in SQL Server, MySQL, ect., but breaks in
Access. If I remove the maxlength=500 it works.

 

I know most will agree Access is from the database of choice, so my
question is should we support Access considering the challenge, or drop
support? To be honest, I cannot imagine a forum actually being used in a
production environment using Access.

 

Thank you,

Aftershock Web Design, Inc.

by: Stan Winchester

President/Developer

[EMAIL PROTECTED]  

http://www.aftershockweb.com/   

Phone 503-244-3440

Fax 503-244-3454

 






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208824
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Internet Explorer 7 (no really!)

2005-02-16 Thread Craig Dudley
Full PNG support would be nice, it's only been about 6 years since they
promised it. 

-Original Message-
From: Dave Carabetta [mailto:[EMAIL PROTECTED] 
Sent: 16 February 2005 15:01
To: CF-Talk
Subject: Re: Internet Explorer 7 (no really!)

On Wed, 16 Feb 2005 06:55:38 -0500, Calvin Ward [EMAIL PROTECTED] wrote:
 Just heard this on another list:
 
 http://news.zdnet.com/2100-9588_22-5577263.html?tag=nl.e589
 
 http://www.microsoft.com/presspass/press/2005/feb05/02-15RSA05KeynoteP
 R.asp
 

I wouldn't get your hopes up as a developer for anything special. If you
read the article, here are the parameters of the next version:

1) Will run only on Windows XP with SP2 installed
2) Will be security-focused (which will probably mean messing with
ActiveX or something) with zero guarantee that any standards compliance
features would make it in to the final release

The XP/SP2 requirement is comparatively such a small demographic (MS
says it's 50%, but I believe that number is a bit inflated) vs. non-XP
Windows users that it'll be interesting to see just how much market
penetration (and how much of a difference) the browser makes.

Regards,
Dave.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194964
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Can I get Hex value for something in ColdFusion?

2005-02-08 Thread Craig Dudley
Coldfusion, it's a udf, source is viewable.

-Original Message-
From: Troy Simpson [mailto:[EMAIL PROTECTED] 
Sent: 08 February 2005 15:37
To: CF-Talk
Subject: Re: Can I get Hex value for something in ColdFusion?

What this library written in C/C++ or JAVA?

Troy

--
Troy Simpson
  Applications Analyst/Programmer, OCPDBA, MCSE, SCSA North Carolina
State University Libraries Campus Box 7111 | Raleigh | North Carolina
ph.919.515.3855 | fax.919.513.3330
E-mail: [EMAIL PROTECTED]



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193615
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Coldfusion VS ASP.NET use

2005-02-04 Thread Craig Dudley
And the fact the asp uses Default.asp a lot of the time.

-Original Message-
From: Calvin Ward [mailto:[EMAIL PROTECTED] 
Sent: 04 February 2005 13:51
To: CF-Talk
Subject: RE: Coldfusion VS ASP.NET use

How about .aspx?

-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005 8:48 AM
To: CF-Talk
Subject: RE: Coldfusion VS ASP.NET use

And keep in mind that over 80% of CF use is internal stuff, behind
firewalls, stuff Google will never see.

--- Ben
 

-Original Message-
From: Bert Dawson [mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005 8:43 AM
To: CF-Talk
Subject: Re: Coldfusion VS ASP.NET use

index.cfm: about 17,600,000
index.asp: about 16,600,000

Looks like an open and shut case.
:)

Cheers
Bert

ps and after a quick check (google on site:www.mysite.com) i reckon
about 4% of those 17 million are mine!

On Fri, 4 Feb 2005 10:59:48 +, Mark Drew [EMAIL PROTECTED]
wrote:
 I found this graph a while back, and I am looking to see if there are 
 any other sites that show the graph of technology use that is more up 
 to date?
 http://news.netcraft.com/archives/2004/03/23/aspnet_overtakes_jsp_and_
 java_servlets.html
 
 I am trying to get some figures on overall usage of CF on websites.
 Anybody got something like that knocking round?
 
 --
 Mark Drew
 
 coldfusion and cfeclipse blogged:
 http://cybersonic.blogspot.com/
 fusebox plugin for cfeclipse:
 http://cfopen.org/projects/fusebox3cfe/
 
 







~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193070
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: grabbing the id of a newly created item..

2005-01-31 Thread Craig Dudley
Which DB are you using? 

-Original Message-
From: Protoculture [mailto:[EMAIL PROTECTED] 
Sent: 31 January 2005 15:10
To: CF-Talk
Subject: grabbing the id of a newly created item..

How would I modify an insert query to grab the id ( autonum, primary key
) of the item that I just inserted?



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192334
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: grabbing the id of a newly created item..

2005-01-31 Thread Craig Dudley
I don't think there's a neat way of doing it for Access, I could be
wrong though.

So, I suggest just doing a select for max(your_autonum_ID) in another
cfquery directly after the insert, probably safer to wrap both the
queries in a cftransaction too.

-Original Message-
From: Protoculture [mailto:[EMAIL PROTECTED] 
Sent: 31 January 2005 15:17
To: CF-Talk
Subject: Re: grabbing the id of a newly created item..

ACCESS



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192340
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: grabbing the id of a newly created item..

2005-01-31 Thread Craig Dudley
More like;

 Select Max(ID) as MyNewID FROM yourtablename

-Original Message-
From: Protoculture [mailto:[EMAIL PROTECTED] 
Sent: 31 January 2005 15:34
To: CF-Talk
Subject: Re: grabbing the id of a newly created item..

Thanks Craig. Just to confirm that code..

Select For Max(ID)



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192342
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Can we use CFFILE for this?

2005-01-19 Thread Craig Dudley
This will store the file as a base64 representation of the file.

cffile action=READBINARY file=yourfile variable=blobData
cfset blobBase64 = toBase64(blobData)

Then just insert blobBase64 to an nText field in your db.


To get the file out...

cfset blobBinary = toBinary(queryname.blobBase64)
cffile action=WRITE file=yourfile output=#blobBinary#
addnewline=No nameconflict=OVERWRITE

Works for me.


-Original Message-
From: Discover Antartica [mailto:[EMAIL PROTECTED] 
Sent: 19 January 2005 16:55
To: CF-Talk
Subject: Can we use CFFILE for this?

Does anyone know how to upload a file into a column in a database table
using Coldfusion? Can we use CFFILE?


-
Do you Yahoo!?
 Take Yahoo! Mail with you! Get it on your mobile phone.



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191073
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: divide and conquer (how to deploy cf, db, ftp, iis, etc over 2 boxes)

2005-01-11 Thread Craig Dudley
Since livestats can be configured to use your MSSQL box, I'd stick those
on the same machine from an operational point of view anyway, but this
does mean your database box will need to be web accessible so people can
view their stats. It usually preferable (for us anyway) that the
database box is not accessible from the internet for anythgin but
management.

Everything else I'd put on the other machine. Personally I wouldn't do
any backup SQL replication with only 2 boxes, I wouldn't spread the web
site over the 2 machines either.

-Original Message-
From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] 
Sent: 11 January 2005 12:22
To: CF-Talk
Subject: divide and conquer (how to deploy cf, db, ftp, iis, etc over 2
boxes)


Assuming you have the following to run:
 
MSSQL2k,
LiveStats, 
IIS, 
CFMX6.1 (maybe eventually  7) , 
IMail (or some other mail server with POP, SMTP and webmail access) 
FTP services.
 
And you have 2 identical adjacent machines each with:
 
Dual 2.8 Ghz Xeon processors, 
4 GB RAM, 
3x73GB SCSI 10K rpm disks, in RAID (5?) array
Win2k server OS
 
The machines each have a dedicated NIC for talking to each other, and
then a separate public NIC card 
 
Here's what I was thinking:
 
Box 1)  CF, Backup MSSQL (via mssql automatic replication), and IIS just
for CFM pages at www.domain.com, and backup SMTP Box 2)  primary MSSQL,
IIS for images/static at img.domain.com  , and primary SMTP server
 
Boxes would have shared drive so Box 1 can upload static images to
Box2...   Box 2 would run a backup instance of CF, and have a copy of
the code in case it needs to be activated.  Static images which have
changed would be copied from Box 2 to Box 1 every X hours.
 
I was thinking of having IIS on img.domain.com redirect empty requests
to the real www.domain.com and set up domain.com to have DNS of IP1,
IP2, and img.domain.com = IP2, IP1
 
What would you do, and is this overengineering?   What would you do if
one box goes down? 

 
NOTICE: If received in error, please destroy and notify sender.  Sender
does not waive confidentiality or privilege, and use is prohibited. 
 




~|
Sams Teach Yourself Regular Expressions in 10 Minutes  by Ben Forta 
http://www.houseoffusion.com/banners/view.cfm?bannerid=40

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189897
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Regex again

2005-01-07 Thread Craig Dudley
OK, a regular expressions is doing my head in again, can anyone help?

What I'm trying to do is, match and replace all new line characters with
br that are not inside html such as tables or lists, e.g. in the
following string I would not want to add a br while I'm inside the
ordered list.

cfset testString = 

A test string

with lots of line

breaks
ol
li1/li
li2/li
li3/li
/ol
on several 

lines


Sounds fairly simple?

The \n bit for finding line breaks is at least ;D

Craig Dudley
Senior Developer
Netstep Corporate Communications Ltd
Direct Line: +44(0) 1422 319712
Phone: +44(0) 1422 200308
Fax: +44(0) 1422 200306
e-mail: [EMAIL PROTECTED]
MS Messenger: [EMAIL PROTECTED]
www: www.netstep.co.uk

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189622
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Regex again

2005-01-07 Thread Craig Dudley
Thanks Ben, I'm coming to the same conclusion, only after hours of head
scratching.

-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED] 
Sent: 07 January 2005 15:08
To: CF-Talk
Subject: Re: Regex again


Actually, this isn't simple.  Offhand, I don't see a way to do this with

regex that isn't more complicated than other methods.  What you are 
really asking to do is parse an HTML page and selectivly replace tokens.

The easiest way I see to do it -- and this isn't particularly robust -- 
is to remove the head and the foot from the page, find tables and lists,

and split up what's left where the tables and lists where.  Then, do 
your replace.

I know that's not the answer you wanted, but it's the answer I got. 
Hopefully, someone smarter (and with more caffiene in their system) has 
a better suggestion.

--Ben

Craig Dudley wrote:
 OK, a regular expressions is doing my head in again, can anyone help?
 
 What I'm trying to do is, match and replace all new line characters 
 with br that are not inside html such as tables or lists, e.g. in 
 the following string I would not want to add a br while I'm inside 
 the ordered list.
 
 cfset testString = 
 
 A test string
 
 with lots of line
 
 breaks
 ol
   li1/li
   li2/li
   li3/li
 /ol
 on several
 
 lines
 
 
 Sounds fairly simple?
 
 The \n bit for finding line breaks is at least ;D
 
 Craig Dudley
 Senior Developer
 Netstep Corporate Communications Ltd
 Direct Line: +44(0) 1422 319712
 Phone: +44(0) 1422 200308
 Fax: +44(0) 1422 200306
 e-mail: [EMAIL PROTECTED]
 MS Messenger: [EMAIL PROTECTED]
 www: www.netstep.co.uk
 
 



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189646
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cfmailpart problems

2005-01-06 Thread Craig Dudley
The standards aren't all that clear but they do strongly suggest that
the 1st part of a multipart email should be the simplest, e.g. the text
part, you a specifying html 1st, this will work fine in most cases, but
some mail clients are more strict than others, I know of several which
will just show the text part form the mail below.

Flip the text/html parts round so text is first and try again, you might
be pleasantly suprised.

-Original Message-
From: Marcus Whitworth [mailto:[EMAIL PROTECTED] 
Sent: 05 January 2005 22:30
To: CF-Talk
Subject: Re: cfmailpart problems


Ok, not sure why that didn't display in the forum... I'll try again.



cfmail from=[EMAIL PROTECTED] to=[EMAIL PROTECTED]
subject=Test Mail
cfmailpart charset=utf-8 type=html
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
InvalidTag http-equiv=Content-Type
content=text/html; charset=utf-8 /
titleUntitled Document/title
/head 
body
bThis is the html version.../b
/body
/html 
/cfmailpart
cfmailpart charset=utf-8 type=text
This is the text version...
/cfmailpart
/cfmail

--

From - Thu Jan 06 09:18:38 2005
X-Account-Key: account2
X-UIDL: 96f8e99f49eec938d0ad11e22bb2f7bc
X-Mozilla-Status: 0001
X-Mozilla-Status2: 
X-Auth-No: 
Return-Path: [EMAIL PROTECTED]
Received: from hummer.testserver.com.au not authenticated [203.13.2.9]
by smtp-send.testserver.com with NetMail SMTP Agent $Revision:
1.4 $ on Linux;
Wed, 05 Jan 2005 16:18:20 -0700
Received: from dev (testserver.com.au [203.133.10.41])
by hummer.testserver.com.au (Postfix) with ESMTP id 41B9E19FDAF
for [EMAIL PROTECTED]; Thu,  6 Jan 2005 09:18:15 +1000
(EST)
Message-ID: [EMAIL PROTECTED]
Date: Thu, 6 Jan 2005 09:18:23 +1000 (GMT+10:00)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Test Mail
Mime-Version: 1.0
Content-Type: multipart/alternative; 
boundary==_Part_2_22403307.1104967103343
X-Mailer: ColdFusion MX Application Server

--=_Part_2_22403307.1104967103343
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
InvalidTag http-equiv=Content-Type
content=text/html; charset=utf-8 /
titleUntitled Document/title
/head 
body
bThis is the html version.../b
/body
/html 

--=_Part_2_22403307.1104967103343
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

This is the text version...

--=_Part_2_22403307.1104967103343--





~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189493
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: ActiveEdit4.0 demands money from firefox users

2004-11-10 Thread Craig Dudley
You need to put your licence key in the call the the cf tag, it's not
neededd for IE as that uses DHTML, not the java applet.

-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: 10 November 2004 05:34
To: CF-Talk
Subject: ActiveEdit4.0 demands money from firefox users


Is anyone else finding this?  We have fully licensed ActivEdit4.0 but
FireFox users calling the page with the ActivEdit control get a messages
saying they've tried to use an unlicensed copy of ActivEdit.

If they click away the warning, they go back to the page and have the
control there, but can't edit.

If they click OK, they are taken to the ActivEdit page and asked to
pay money.

huh?  I thought it was US -the site owners who had to pay, not the site
users.

-- 
Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183841
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Email Client Stats..?

2004-11-02 Thread Craig Dudley
It can't be measured in the same way as web browser use, so I guess
most, if not all evidence is going to be anecdotal.

-Original Message-
From: David K [mailto:[EMAIL PROTECTED] 
Sent: 01 November 2004 20:24
To: CF-Talk
Subject: Email Client Stats..?


I'm looking for some usage stats for email clients.
Looked in the obvious places, then Googled, but turned up nuthin...

Anyone..?



~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=36

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183102
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: AOL and spam filtering

2004-10-25 Thread Craig Dudley
Reverse DNS would seem to be the most important factor, make sure your
mail server has RDNS setup.

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 24 October 2004 01:28
To: CF-Talk
Subject: AOL and spam filtering


I use the CFMX cfmail tag to send emails from a database query. Alot of
AOL users are reporting that they are not receiving them. Most of the
time this is due to AOL recogniging the emails from the cfmail tag as
spam and it ends up in the persons spam folder. Many people are not
computer savvy enough to check their spam settings or folder and just
end up complaining that they are not getting their emails. 

Is there some code that I can include that would minimize AOL seeing my
email as spam?

Sebastian



~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=36

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182477
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Running tasks in a console window?

2004-10-20 Thread Craig Dudley
Might be your cfexecute syntax, have you tried passing in any arguments
as an array?

-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED] 
Sent: 20 October 2004 11:01
To: CF-Talk
Subject: Running tasks in a console window?


I have a problem.  I am using cURL to upload a file with https (cfhttp
didn't work before someone suggests that).  When I run cURL from the
command line, it works perfectly in about 3 seconds.  If I run cURL from
a batch file it runs fine in about 3 seconds.

If I use cfexecute to run either cURL or the batch file then the process
fails, cURL hangs, it all goes wrong.  I can even use cffile to write
the batch file and it works from a command line but not from cfexecute.

It even works fine from schtasks.

Is there any way to cause cfm to open a new cmd window and run the batch
file in that instead of running it as a background process?

--
James Smith
[EMAIL PROTECTED]




~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=37

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181975
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Running tasks in a console window?

2004-10-20 Thread Craig Dudley
So you haven't tried an arguments array then. Try this..

cfscript
args = arraynew(1);
args[1] = file;
args[2] = url;
args[3] = etc;
/cfscript

cfexecute name=c:\path\curl.exe arguments=#args#
timeout=30/cfexecute

Might not make a difference, but its worth a try.


-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED] 
Sent: 20 October 2004 13:42
To: CF-Talk
Subject: RE: Running tasks in a console window?


I have tried...
cfexecute name=c:\path\curl.exe --arguments . someurl/
cfexecute name=c:\path\curl.exe arguments=--arguments
.someurl/

Both with and without timeout variables.  I have even tried...
cfexecute name=c:\windows\system32\cmd.exe arguments=/c
c:\path\curl.exe .../

And all produce the same result.

--
Jay

~|
Sams Teach Yourself Regular Expressions in 10 Minutes  by Ben Forta 
http://www.houseoffusion.com/banners/view.cfm?bannerid=40

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181991
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Add watermark to image

2004-10-14 Thread Craig Dudley
We do that with imnagemagick, code below (part of a larger cfc);

 cffunction name=watermark access=public output=No
returntype=any hint=Composites and image with a supplied watermark
cfargument name=left type=numeric required=true
cfargument name=top type=numeric required=true
cfargument name=infile type=string required=true
cfargument name=watermark type=string required=true
cfargument name=outfile type=string required=true
cfargument name=quality type=numeric required=false
default=100
cfscript
args = arraynew(1);
args[1] = -geometry +#left#+#top#;
args[2] = -quality #quality#;
args[3] = #watermark#;
args[4] = #infile#;
args[5] = #outfile#;
textArgs = '';
/cfscript
cfloop from=1 to=#arrayLen(args)# index=i
cfset textArgs= textArgs args[i]
/cfloop
cfexecute name=#magickpath#composite.exe arguments=#textArgs#
timeout=10/cfexecute
 /cffunction

-Original Message-
From: Hugo Ahlenius [mailto:[EMAIL PROTECTED] 
Sent: 14 October 2004 08:22
To: CF-Talk
Subject: RE: Add watermark to image

probably possible using something like imagemagkick (just one cfexecute
call away)

--
Hugo Ahlenius

-
Hugo AhleniusE-Mail: [EMAIL PROTECTED]
Project Officer Phone:+46 8 230460
UNEP GRID-ArendalFax:+46 8 230441
Stockholm OfficeMobile:+46 733 467111
 WWW: http://www.grida.no
- 

| -Original Message-
| From: Paul Wilson [mailto:[EMAIL PROTECTED]
| Sent: Thursday, October 14, 2004 09:22
| To: CF-Talk
| Subject: Add watermark to image
|
| Is it possible to add a watermark to an image dynamically
| using CF? I've had a quick search but couldn't find anything.
|
| Thanks
|
|
|
|
|
| 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Add watermark to image

2004-10-14 Thread Craig Dudley
Performance is a none issue for us, if the image component gets used 5
to 6 times a day in total across our 100 or so clients, I'd be very
suprised. It's acceptably quick anyway.

 
As for changing syntax, that's not really an issue either, we've been
using the same version of Imagemagik for over a year and have zero need
to upgrade.

 
Should the amount of image processing we do massivley increase, we might
have to consider something commercial, until then we'll stick to the
free and very versatile imagemagik.

-Original Message-
From: Doug Hughes [mailto:[EMAIL PROTECTED] 
Sent: 14 October 2004 13:18
To: CF-Talk
Subject: Re: Add watermark to image

I just wanted to say that Image Magick is great (I wrote a custom tag
for it at one point).The problem with it is performance and the fact
that the command syntax changes with annoying frequency.It's not a
consistent platform.

Just my 2 cents.

Doug

On Thu, 14 Oct 2004 12:50:11 +0100, Craig Dudley [EMAIL PROTECTED]
wrote:
 We do that with imnagemagick, code below (part of a larger cfc);
 
 cffunction name=watermark access=public output=No
 returntype=any hint=Composites and image with a supplied
watermark
cfargument name=left type=numeric required=true
cfargument name=top type=numeric required=true
cfargument name=infile type=string required=true
cfargument name=watermark type=string required=true
cfargument name=outfile type=string required=true
cfargument name=quality type=numeric required=false
 default=100
cfscript
args = arraynew(1);
args[1] = -geometry +#left#+#top#;
args[2] = -quality #quality#;
args[3] = #watermark#;
args[4] = #infile#;
args[5] = #outfile#;
textArgs = '';
/cfscript
cfloop from=1 to=#arrayLen(args)# index=i
cfset textArgs= textArgs args[i]
/cfloop
cfexecute name=#magickpath#composite.exe arguments=#textArgs#
 timeout=10/cfexecute
 /cffunction
 
 -Original Message-
 From: Hugo Ahlenius [mailto:[EMAIL PROTECTED]
 Sent: 14 October 2004 08:22
 To: CF-Talk
 Subject: RE: Add watermark to image
 
 probably possible using something like imagemagkick (just one
cfexecute
 call away)
 
 --
 Hugo Ahlenius
 
 -
 Hugo AhleniusE-Mail: [EMAIL PROTECTED]
 Project Officer Phone:+46 8 230460
 UNEP GRID-ArendalFax:+46 8 230441
 Stockholm OfficeMobile:+46 733 467111
 WWW: http://www.grida.no
 -
 
 | -Original Message-
 | From: Paul Wilson [mailto:[EMAIL PROTECTED]
 | Sent: Thursday, October 14, 2004 09:22
 | To: CF-Talk
 | Subject: Add watermark to image
 |
 | Is it possible to add a watermark to an image dynamically
 | using CF? I've had a quick search but couldn't find anything.
 |
 | Thanks
 |
 |
 |
 |
 |
 | 
_
 
 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Slightly OT, load testing CF Applications.

2004-10-11 Thread Craig Dudley
What do people you to test their CF Applications/Sites?

Any advice on what to avoid/try?

Thanks

Craig Dudley
Senior Developer
Netstep Corporate Communications Ltd
Direct Line: +44(0) 1422 319712
Phone: +44(0) 1422 200308
Fax: +44(0) 1422 200306
e-mail: [EMAIL PROTECTED]
MS Messenger: [EMAIL PROTECTED]
www: www.netstep.co.uk
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Need FAST XML to CF Tag

2004-10-08 Thread Craig Dudley
This should give you enoguh to go on...

cfhttp method=GET
url="">
1mxrw=50/cfhttp
cfset myXMLDocument=XmlParse(cfhttp.filecontent)

cfdump var=#myXMLDocument.ResidentialProperty#

hr

cfloop
from=#myXMLDocument.ResidentialProperty.QueryStatistics.startRow.xmlTex
t#
to=#myXMLDocument.ResidentialProperty.QueryStatistics.TotalResults.xmlT
ext# index=i
 cfoutput

 
#myXMLDocument.ResidentialProperty.listing[i].streetAddress.xmlText#br

 
#myXMLDocument.ResidentialProperty.listing[i].ListingData.ListPrice.xmlT
ext#br

 
#myXMLDocument.ResidentialProperty.listing[i].ListingData.ListingType.xm
lText#br

 
#myXMLDocument.ResidentialProperty.listing[i].ListingData.remarks.xmlTex
t#br
 img border=0
src="">

 /cfoutput
 hr
/cfloop

-Original Message-
From: Britta Bennett [mailto:[EMAIL PROTECTED] 
Sent: 07 October 2004 17:19
To: CF-Talk
Subject: Re: Need FAST XML to CF Tag

Hi Craig, 

Thanks for your reply. I think the problem I'm having is not with the
parsing aspect of it, but the loop that goes through the data for each
listing, converting the xml to cfvariables, being too slow.

Does the XMLParse run as fast as the CFX_XMLParser?
My server's running MX, but I had never heard of it till now as the
manual sitting on my desk is Ben's good old CF 4.0.. 

Would you be as good as to tell me how to parse the following string:

http://mlsr.realtylink.org/mlsr_xml/res_sale_result.cfm?agentid=4001mxr
w=50 

Would this work?
cffile action="">
file=http://mlsr.realtylink.org/mlsr_xml/res_sale_result.cfm?agentid=40
01mxrw=50 variable=XMLFileText
cfset myXMLDocument=XmlParse(XMLFileText)

Then once I've done that, how to I refer to the content? 
For instance,
cfoutput#Listing.ListingDetails.HomeAddress#/cfoutput??
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Need FAST XML to CF Tag

2004-10-07 Thread Craig Dudley
We used CFX_XMLParser extensively for CF5. It uses the xerces java xml
parser if my memory serves me correctly. It's very fast and very stable,
look no further if your'e on CF5.

However, if your'e running CFMX, why not just use the xmlParse()
function?

-Original Message-
From: Britta Bennett [mailto:[EMAIL PROTECTED] 
Sent: 07 October 2004 06:56
To: CF-Talk
Subject: Re: Need FAST XML to CF Tag

I've got that one downloaded.. I'll try it in the morning and see if it
works.The other one I'm going to try out is the CFX_XMLParser by
CFDEV.COM .. have you used either of them?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Com Object

2004-10-06 Thread Craig Dudley
Just playing devils advocate here but...

 
Have registered the dll on the server? If so, have you changed it since
you did? If you have, re-registering it might help.

-Original Message-
From: Andy Jarrett [mailto:[EMAIL PROTECTED] 
Sent: 06 October 2004 11:17
To: CF-Talk
Subject: Re: Com Object

Sorry, my head is totally shot away today with Flu.

CFMX 6.1 - fully updated - but without most Hotfixes
WinXP pro w/IIS 5.1 w/SP2

On Wed, 6 Oct 2004 10:49:01 +0100, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 So you have a Firewall such as ZoneAlarm installed? Try
 uninstalling/disabling and see what happens.
 
 
 
 _
 
 From: Andy Jarrett [mailto:[EMAIL PROTECTED] 
 Sent: 06 October 2004 10:43
 To: CF-Talk
 Subject: Re: Com Object
 
 Opps.
 
 Sorry running cfmx 6.1
 
 On Wed, 6 Oct 2004 10:26:24 +0100, Robertson-Ravo, Neil (RX)
 [EMAIL PROTECTED] wrote:
  What version of CF?
  
  
  
  _
  
  From: Andy Jarrett [mailto:[EMAIL PROTECTED] 
  Sent: 06 October 2004 10:24
  To: CF-Talk
  Subject: Com Object
  
  
  
  Hi there,
  
  I have a com object installed on my development machine which was
  developed by another developer. When it is tested via a small VB app
  it all works fine.
  
  When i make a call and execute with CF i get the following error in
my
 logs,
  # Created by JRun on 06/10 09:47:32 
  06/10 09:47:32 error socket closed 
  java.net.SocketException: socket closed 
  at java.net.PlainSocketImpl.socketAccept(Native Method) 
  at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353) 
  at java.net.ServerSocket.implAccept(ServerSocket.java:448) 
  at java.net.ServerSocket.accept(ServerSocket.java:419) 
  at
jrun.servlet.network.NetworkService.accept(NetworkService.java:368) 
  at
jrun.servlet.jrpp.JRunProxyService.accept(JRunProxyService.java:104)
 
  at
 

jrun.servlet.jrpp.JRunProxyService.createRunnable(JRunProxyService.java:
120)
  at
 

jrunx.scheduler.ThreadPool$ThreadThrottle.createRunnable(ThreadPool.java
:377
  )
  at jrunx.scheduler.WorkerThread.run(WorkerThread.java:62) 
  
  The component checks a load of fields then send a small text file on
  port 22 to another server. What i cannot understand is i cannot get
  this working via ColdFusion?
  
  Anyone had a similar problem??
  
  Andy
  
  _
 
 
 _
 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Pgp signing email with cf

2004-10-06 Thread Craig Dudley
Is anyone currently doing this succesfully?

If so, which version of pgp are you using? Any recommendations for one
of the available cf pgp tags?

Thx

Craig Dudley
Senior Developer
Netstep Corporate Communications Ltd
Direct Line: +44(0) 1422 319712
Phone: +44(0) 1422 200308
Fax: +44(0) 1422 200306
e-mail: [EMAIL PROTECTED]
MS Messenger: [EMAIL PROTECTED]
www: www.netstep.co.uk
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Pgp signing email with cf

2004-10-06 Thread Craig Dudley
Thanks andrew

-Original Message-
From: Andrew Dixon [mailto:[EMAIL PROTECTED] 
Sent: 06 October 2004 13:24
To: CF-Talk
Subject: Re: Pgp signing email with cf

Hi.

We use the following CFC with CFMX6.1 and PGP8.03:

http://tamuri.cfdeveloper.co.uk/

Andrew.

On Wed, 6 Oct 2004 13:11:55 +0100, Craig Dudley [EMAIL PROTECTED]
wrote:
 Is anyone currently doing this succesfully?
 
 If so, which version of pgp are you using? Any recommendations for one
 of the available cf pgp tags?
 
 Thx
 
 Craig Dudley
 Senior Developer
 Netstep Corporate Communications Ltd
 Direct Line: +44(0) 1422 319712
 Phone: +44(0) 1422 200308
 Fax: +44(0) 1422 200306
 e-mail: [EMAIL PROTECTED]
 MS Messenger: [EMAIL PROTECTED]
 www: www.netstep.co.uk
 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Com Object

2004-10-06 Thread Craig Dudley
Indeed I did, just a thought as I'd had a few com issues with objects
that has been changed and needed to be re-registered in order to work
right.

 
My only other suggestion would be to run the latest cfmx updater, I
believe it does include some com fixes.

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: 06 October 2004 13:56
To: CF-Talk
Subject: RE: Com Object

I think he meant register it as a COM Object - using regsvr23 - which
you
certainly have to do.

_

From: Andy Jarrett [mailto:[EMAIL PROTECTED] 
Sent: 06 October 2004 13:51
To: CF-Talk
Subject: Re: Com Object

Its definately a CF/jRun issue.

Craig, in regards to registering it - i shouldnt need to as its a COM
object and not a CFX. Thats what i thought. I havent need to in the
past for other COM's

On Wed, 6 Oct 2004 13:25:21 +0100, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 From what I can tell from the email it seems that its all working with
VB
 just not with CF...its obviously a CF/jRun issue...
 
 
 
 _
 
 From: Craig Dudley [mailto:[EMAIL PROTECTED] 
 Sent: 06 October 2004 13:09
 To: CF-Talk
 Subject: RE: Com Object
 
 
 
 Just playing devils advocate here but...
 
 Have registered the dll on the server? If so, have you changed it
since
 you did? If you have, re-registering it might help.
 
 -Original Message-
 From: Andy Jarrett [mailto:[EMAIL PROTECTED] 
 Sent: 06 October 2004 11:17
 To: CF-Talk
 Subject: Re: Com Object
 
 Sorry, my head is totally shot away today with Flu.
 
 CFMX 6.1 - fully updated - but without most Hotfixes
 WinXP pro w/IIS 5.1 w/SP2
 
 On Wed, 6 Oct 2004 10:49:01 +0100, Robertson-Ravo, Neil (RX)
 [EMAIL PROTECTED] wrote:
  So you have a Firewall such as ZoneAlarm installed? Try
  uninstalling/disabling and see what happens.
  
  
  
  _
  
  From: Andy Jarrett [mailto:[EMAIL PROTECTED] 
  Sent: 06 October 2004 10:43
  To: CF-Talk
  Subject: Re: Com Object
  
  Opps.
  
  Sorry running cfmx 6.1
  
  On Wed, 6 Oct 2004 10:26:24 +0100, Robertson-Ravo, Neil (RX)
  [EMAIL PROTECTED] wrote:
   What version of CF?
   
   
   
   _
   
   From: Andy Jarrett [mailto:[EMAIL PROTECTED] 
   Sent: 06 October 2004 10:24
   To: CF-Talk
   Subject: Com Object
   
   
   
   Hi there,
   
   I have a com object installed on my development machine which was
   developed by another developer. When it is tested via a small VB
app
   it all works fine.
   
   When i make a call and execute with CF i get the following error
in
 my
  logs,
   # Created by JRun on 06/10 09:47:32 
   06/10 09:47:32 error socket closed 
   java.net.SocketException: socket closed 
   at java.net.PlainSocketImpl.socketAccept(Native Method) 
   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353) 
   at java.net.ServerSocket.implAccept(ServerSocket.java:448) 
   at java.net.ServerSocket.accept(ServerSocket.java:419) 
   at
 jrun.servlet.network.NetworkService.accept(NetworkService.java:368)

   at
 jrun.servlet.jrpp.JRunProxyService.accept(JRunProxyService.java:104)
  
   at
  
 

jrun.servlet.jrpp.JRunProxyService.createRunnable(JRunProxyService.java:
 120)
   at
  
 

jrunx.scheduler.ThreadPool$ThreadThrottle.createRunnable(ThreadPool.java
 :377
   )
   at jrunx.scheduler.WorkerThread.run(WorkerThread.java:62) 
   
   The component checks a load of fields then send a small text file
on
   port 22 to another server. What i cannot understand is i cannot
get
   this working via ColdFusion?
   
   Anyone had a similar problem??
   
   Andy
   
   _
  
  
  _
  
_
 
 _


_ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Com Object

2004-10-06 Thread Craig Dudley
Indeed I did, just a thought as I'd had a few com issues with objects
that has been changed and needed to be re-registered in order to work
right.

My only other suggestion would be to run the latest cfmx updater, I
believe it does include some com fixes.

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: 06 October 2004 13:56
To: CF-Talk
Subject: RE: Com Object

I think he meant register it as a COM Object - using regsvr23 - which
you
certainly have to do.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: CFHTTP - Thumbnail

2004-09-06 Thread Craig Dudley
I'd save the file, then create a thumbnail with either imagemagik or
cfx_Image, 2 steps maybe, but much easier.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Both Plain Text and HTML in cfmail

2004-08-27 Thread Craig Dudley
Upgrade to 6.1, it's free, faster and more stable.

-Original Message-
From: simmyana a [mailto:[EMAIL PROTECTED] 
Sent: 27 August 2004 05:09
To: CF-Talk
Subject: Re: Both Plain Text and HTML in cfmail

I am using Cold Fusion v. MX 6.0 which does not support cfmailpart tag

Any reaason you're not using the built-in cfmailpart tags?
 
cfmail from= to= subject= charset=UTF-8
cfmailpart type=text wraptext=74

/cfmailpart
cfmailpart type=html

/cfmailpart
/cfmail

-Original Message-
From: simmyana a [mailto:[EMAIL PROTECTED] 
Sent: 26 August 2004 11:51
To: CF-Talk
Subject: Re: Both Plain Text and HTML in cfmail


yeah that link is working but i am also facing the same problem 
and i am using 
Windows 2000 Server 
Cold Fusion v. MX 6.0

any help??

http://tinyurl.com/625zp... does that work?
 
-- 
dc 
_ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Both Plain Text and HTML in cfmail

2004-08-26 Thread Craig Dudley
Any reaason you're not using the built-in cfmailpart tags?

 
cfmail from= to= subject= charset=UTF-8
cfmailpart type=text wraptext=74

/cfmailpart
cfmailpart type=html

/cfmailpart
/cfmail

-Original Message-
From: simmyana a [mailto:[EMAIL PROTECTED] 
Sent: 26 August 2004 11:51
To: CF-Talk
Subject: Re: Both Plain Text and HTML in cfmail

yeah that link is working but i am also facing the same problem 
and i am using 
Windows 2000 Server 
Cold Fusion v. MX 6.0

any help??

http://tinyurl.com/625zp... does that work?
 
-- 
dc 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: cfx_MyHelloColdFusion - SOLVED

2004-08-19 Thread Craig Dudley
Why not copy cfx.jar into your development directory e.g. c:\java ?,
your'e comamnd line would then be much shorter

in c:\java, just type javac -classpath cfx.jar MyHelloColdFusion.java
somewhat easier yes? Then just move the compiled class file to wherever
you want it.

-Original Message-
From: joe velez [mailto:[EMAIL PROTECTED] 
Sent: 18 August 2004 22:12
To: CF-Talk
Subject: Re: cfx_MyHelloColdFusion - SOLVED

holy crap!!! the compiling is fixed.

i tried this at the command line:

javac -classpath CFusionMX\lib\cfx.jar
c:\CFusionMX\wwwroot\WEB-INF\classes\MyHelloColdFusion.java

when it should be 

javac -classpath c:\CFusionMX\lib\cfx.jar
c:\CFusionMX\wwwroot\WEB-INF\classes\MyHelloColdFusion.java

i forgot the drive letter in the classpath .. DOH!!! 

i may be back :) 
thanks for responding so quickly!

- joe

Joe,

It appears as though you the cfx.jar is not in your class path.This
JAR
contains all of the interface classes that the ColdFusion Server uses
to
connect to your Java CFX.

For CFMX this can be located in the lib subdirectory of your server
installation.
For CF 5 you can locate this in the Java subdirectory of your server
installation.

rish

-Original Message-
From: joe velez [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 18, 2004 4:01 PM
To: CF-Talk
Subject: CFX_MyHelloColdFusion


Hi -

Trying the most basic cfx tag to see if i can get one working.
When I try to compile the .java file (copied from ) i get the following
errors

MyHelloColdFusion.java [11:1] package com.allaire.cfx does not exist
import com.allaire.cfx.* ;
^
MyHelloColdFusion.java [13:1] cannot resolve symbol
symbol: class CustomTag 
location: class MyHelloColdFusion
public class MyHelloColdFusion implements CustomTag {
^
MyHelloColdFusion.java [14:1] cannot resolve symbol
symbol: class Request 
location: class MyHelloColdFusion
public void processRequest( Request request, Response response )
 ^
MyHelloColdFusion.java [14:1] cannot resolve symbol
symbol: class Response 
location: class MyHelloColdFusion
public void processRequest( Request request, Response response )
^
4 errors
Errors compiling MyHelloColdFusion.

JAVA FILE

import com.allaire.cfx.* ;

public class MyHelloColdFusion implements CustomTag {
public void processRequest( Request request, Response response )
throws Exception {
String strName = request.getAttribute( NAME ) ;
response.write( Hello,  + strName ) ;
}
}

Ok, now i think the last 3 errors occur because of the first error, so
lets
start there.

How can i add the package or what do i need to do to get this working?

I'm runningCFMX 6,1,0,63958 on Win2K Server and the version info for
Java
is:
java version 1.4.2_04
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

If anyone can help, thanks! If I can get this one working, I'm hoping
to
create my first real custom tag :) 

Thanks

Joe
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Consuming CFC web methods in VB.NET

2004-08-18 Thread Craig Dudley
.NET just doesn't understand the return type, it probably could if you
wrote some sort of QueryBean handler but I'd try returning a more simple
data type, maybe you could encode the query into an xml packet and
return that? Or try and array?

-Original Message-
From: Steven Brownlee [mailto:[EMAIL PROTECTED] 
Sent: 18 August 2004 10:07
To: CF-Talk
Subject: Consuming CFC web methods in VB.NET

This is my last stab at this problem. No other message boards have been
able to help me.

First, the code...

getPlaylist.cfc

cffunction access=remote name=getNewPlaylist output=no
returntype=query
cfargument name=clientID type=string required=yes

cfquery ... name=IMPlaylist
... removed for space saving...
/cfquery

cfif IMPlaylist.recordCount gt 0
cfoutput query=IMPlaylist
cfquery datasource=clp_dyn_signs dbtype=odbc username=...
password=...
 .. Removed for space saving
/cfquery
/cfoutput
cfreturn IMPlaylist
/cfif

/cffunction


frmMain.vb

Dim MyService As getPlaylist.getPlaylistService = New
getPlaylist.getPlaylistService
Dim MyResult As getPlaylist.QueryBean

Try
MyResult = MyService.getNewPlaylist(xmlParser.ClientID)
Catch ex As Exception
Me.txtHistory.Text += Error calling playListExists function ( 
ex.Message  ) + vbCrLf
Log.AppendLog(Error calling playListExists function (  ex.Message
 ))
End Try


Now the getPlaylist.cfc works fine from the Flash Remoting application
that was built for this client, but when trying to get the query into
VB.NET, the following error is returned

org.apache.axis.AxisFault : ; nested exception is: 
coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.runtime.UDFMethod$InvalidReturnTypeException : The value
returned from function getNewPlaylist() is not of type query.][]; nested
exception is: 
coldfusion.xml.rpc.CFCInvocationException: [org.apache.axis.AxisFault :
; nested exception is: 
coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.runtime.UDFMethod$InvalidReturnTypeException : The value
returned from function getNewPlaylist() is not of type query.][])


It does return a query (or QueryBean as XML sees it) and everything is
types correctly in the .NET code.I also put in a test function that
just returned some dummy text to see if I was able to properly invoke
functions of a CFC web method and it worked fine.Just seems to be
choking on sending back a query.

I know this is a convoluted question, so if anyone has had experience
using CFC methods in .NET, I'd appreciate any help.

Steven Brownlee
[EMAIL PROTECTED] 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: slow Java call - Determining physical length of string - Pt 2

2004-08-17 Thread Craig Dudley
I had a play with this myself, and found that the pixel width retruned
by the funtion is a LONG way out of the actual length of the string
rendered in a browser.

 
e.g.

 
cfscript
font_obj = createobject(java,java.awt.Font).init('Arial',1,8);
font_metrics_obj =
createobject(java,java.awt.Toolkit).getDefaultToolkit().getFontMetri
cs(font_obj);
Pixel_Width = font_metrics_obj.stringWidth('the pixel width is miles
out?');
/cfscript

 
cfoutput
#Pixel_Width#
br
img src="" width=cfoutput#Pixel_Width#/cfoutput height=1
alt= border=0
br
div align=left style=font-family:Arial;font-size:8pt;the pixel
width is miles out?/div
/cfoutput

 
You'll need a test gif of course.

 
Still, I'm not sure why, maybe java just renders fonts entirely
differently to browsers. I tried several fonts and many font sizes, none
of them are even close.

 
Craig.

-Original Message-
From: Dirk Sieber [mailto:[EMAIL PROTECTED] 
Sent: 16 August 2004 20:04
To: CF-Talk
Subject: slow Java call - Determining physical length of string - Pt 2

Hello again,

Last week, I posted regarding finding the actual length of a text string
(original question below), and, thanks to some helpful people, ended up
with the idea of instansiating the Java FontObject, which we turned into
a function, like this:
cffunction name=StringWidth output=false
cfargument name=String required=true
cfargument name=Face default=Arial
cfargument name=Style default=Plain
cfargument name=Size default=12

cfscript
if (Style EQ Plain OR Style EQ Normal) {
Style = CreateObject(java, java.awt.Font).PLAIN;
} else if (Style EQ Bold) {
Style = CreateObject(java, java.awt.Font).BOLD;
} else if (Style EQ Italic) {
Style = CreateObject(java, java.awt.Font).ITALIC;
}

FontObject = CreateObject(java,java.awt.Font).init(Face, Style,
Size);
FontMetricsObject =
CreateObject(java,java.awt.Toolkit).getDefaultToolkit().getFontMetri
cs(FontObject);

return(FontMetricsObject.stringWidth(String));

/cfscript
/cffunction 

Now, the problem - it works really well, but it's painfully slow - we're
sometimes calling this 50 times on a page, and it's causing the page
times to be in the 3-5 second range.Removing the call drops it to a
few hundred milliseconds, so this seems to be the issue.

It's not completely intolerable, and it's much nicer than the 'keep a
table of all the character widths' way of doing things, so we'll stick
with it, but if anyone's got any ideas on a way to speed this up, I'm
all ears!

Thanks,
Dirk

 From: Dirk Sieber [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 11, 2004 11:13 AM
 To: CF-Talk
 Subject: Determining physical length of text string (not char count)
 
 
 Hello everyone,
 
 We're trying to figure out if there's a way in CF to figure out the 
 actual, physical length of a string of text - eg, in pixels, inches, 
 whatever.
 
 The issue - we need to be able to accept user data for a field, that 
 will eventually be printed to a PDF.That PDF has strict specs as to 
 how long a line of text can be.Of course, that'd be simple enough, 
 if it was printed in a fixed-width font... but it's not, and we don't 
 have the option of changing it.
 
 So... I need to find a way to detemine how long a string of text will 
 be, given the font type, style,  point size.Anyone have any ideas 
 how to do this from within CF?(This is under MX, BTW).
 
 Many thanks for any suggestions!
 Dirk
_
 
 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: slow Java call - Determining physical length of string - Pt 2

2004-08-17 Thread Craig Dudley
I had a play with this myself, and found that the pixel width retruned
by the funtion is a LONG way out of the actual length of the string
rendered in a browser.

e.g.

cfscript 
 font_obj = createobject(java,java.awt.Font).init('Arial',1,8);
font_metrics_obj =
createobject(java,java.awt.Toolkit).getDefaultToolkit().getFontMetri
cs(font_obj);
Pixel_Width = font_metrics_obj.stringWidth('the pixel width is miles
out?');
/cfscript

cfoutput
#Pixel_Width#
br
img src="" width=cfoutput#Pixel_Width#/cfoutput height=1
alt= border=0
br
div align=left style=font-family:Arial;font-size:8pt;the pixel
width is miles out?/div
/cfoutput

You'll need a test gif of course.

Still, I'm not sure why, maybe java just renders fonts entirely
differently to browsers. I tried several fonts and many font sizes, none
of them are even close, or did I miss something?

Craig.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: cf-based discussion board

2004-07-08 Thread Craig Dudley
I'd agree with Michael here, forums are not hard to build unless you
want some pretty advanced features.

 
Even I wrote my own, it's running at
http://www.gameslave.co.uk/forum/index.cfm if you want a look.

 
It runs on SQL server right now, but shouldn't be hard to port. I may be
willing to hand out the code for free, dependant on interest. ( It would
need tidying up a bit before I'd give it to you lot ;-) )

-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: 08 July 2004 02:01
To: CF-Talk
Subject: Re: cf-based discussion board

What features are you looking for? Honestly, a forums app is rather
simple to
build. CFPOP to read mail in, CFQUERY to store it, CFQUERY to get
subscribers,
CFMAIL to send it all out (I use something else, but the above it a pure
CF
solution). Everything else is commentary.

 Hi all,
 I know people are going to hate the repeat of this question. However a
 search of the lists did not get me any results. Are there any good
 open-source cf-based forum apps out there? Else I have to use phpBB
 which, other than the fact that it runs on PHP, is pretty nice.

 TIA,
 George

 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Apache and CF

2004-06-30 Thread Craig Dudley
IIS 6 is much, much better.

 
If i had a choice we'd be using Apache though, but I don't ;p

-Original Message-
From: Alistair Davidson [mailto:[EMAIL PROTECTED] 
Sent: 30 June 2004 10:59
To: CF-Talk
Subject: RE: Apache and CF

... the point being (when taken in context with the rest of this 
paragraph), so many people complain that IIS is rubbish etc etc etc. but

that is 90% because they are rubbish etc. etc. etc. and don't actually 
do any configuration of their server, IIS and so on. ;o)

Personally, when I started out with web development back in the arse-end
of the twentieth century, I used to love IIS for just the reason Thomas
stated - wow, a GUI? Isn't it pretty? And I can look like I know what
I'm doing when I really don't

But now, after several years of wrestling with web servers, I'm firmly
with the IIS is rubbish crowd, from my own painful personal
experience. 

I've had no end of trouble with IIS over the years, from the constant
security holes and exploits making it almost a full-time job just to
keep the damn thing reasonably safe, to configuration being dropped and
sites disappearing for no apparent reason, to the inability to have any
confidence in backups, to the fact that it's totally insecure by default
and you have to sit down and work at a vanilla install for several hours
before anyone with an ounce of knowledge would dare make it public..
etc etc, you get the idea

With Apache, all config is done with text files, which means that it can
be easily backed-up, altered and re-applied by an automated release
process (e.g. an ANT script) or even by a CF script, or rolled back to a
previous version if you've made a mistake - and when it goes wrong
(which, in my experience, it virtually never has) you can easily look at
it and see EXACTLY what the software itself is seeing, in a
human-readable format. After a little practice, it's actually pretty
easy to debug. Admittedly, I haven't used IIS for a couple of years, so
it may have improved a little... 

Also, if you develop and test on Apache for Windows, you can very easily
deploy a site on a UNIX or Windows platform without having to worry
about the web server config side of things. 

Apache is by far the most commonly-used web server out there ( e.g.
http://www.securityspace.com/s_survey/data/200405/index.html
http://www.securityspace.com/s_survey/data/200405/index.htmlreckons
it has a 70% market share across 14 million servers ) and yet how many
security alerts do you hear about worms / viruses / DDOS attacks
targeting vulnerabilities in Apache? Now how many for IIS?

The prosecution rests, m'lud (or your honour, for you Americans ;P
)

Alistair Davidson

Senior Technical Developer

Headshift.com

--
HEADSHIFT www.headshift.com blocked::http://www.headshift.com/ 
T: 020 7357 7358

--
smartersimplersocial 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: xmlrpc

2004-06-17 Thread Craig Dudley
A little, 

 
I was getting several odd error messages from the xmlrpc server,
websphere in this case.

 
Things like, invalid.session.

 
The guys running that system could only tell me that in their logs it
said, invalid method name

 
I was getting the same error by using xmlrpc.cfc, creating the xml
manually and using cfhttp or by using a terminal eumlator. Using java
was the only way I could get it to work.

-Original Message-
From: Roger Benningfield [mailto:[EMAIL PROTECTED] 
Sent: 16 June 2004 20:25
To: CF-Talk
Subject: Re: xmlrpc

...the service would simply not like the method name for some
bizarre reason.

Craig,

Can you elaborate on simply not like the method name for me?

--
Roger Benningfield
http://journurl.com/
http://admin.support.journurl.com/ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




xmlrpc

2004-06-16 Thread Craig Dudley
Just though I'd share this, someone will no doubt find it useful and a
time saver.

I've been having major issues accessing xmlrpc web services over the
last few days, I tried using cfhttp to post xml as per spec, I tried a
cfc I found here http://mxblogspace.journurl.com/index.cfm?fa=rdm=763
with no luck, the service would simply not like the method name for some
bizarre reason.

In the end I just gave in a decided to write a java interface for xmlrpc
web sevices, expecting it to take a fair while, It ended up taking an
hour or less and being very easy.

Step 1: Add xmlrpc-1.2-b1.jar from the package downloadable at
http://ws.apache.org/xmlrpc/ to your MX servers classpath

Step 2: Use the following code;

cfscript
XmlRpcClient = createObject(JAVA,org.apache.xmlrpc.XmlRpcClient);
XmlRpcClient.init(http://[service_uri]);
params = arrayNew(1); // Leave in even if service requires no params
(params can also be a struct?)
params[1] = [string_param];
result = XmlRpcClient.execute([servicename].[method], params);
/cfscript
cfdump var=#result#

Works great for me, hope It saves someone else the time I wasted messing
about with other methods.

Craig Dudley
Senior Developer
Netstep Corporate Communications Ltd
Direct Line: +44(0) 1422 319712
Phone: +44(0) 1422 200308
Fax: +44(0) 1422 200306
e-mail: [EMAIL PROTECTED]
MS Messenger: [EMAIL PROTECTED]
www: www.netstep.co.uk
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Regular Expression

2004-05-13 Thread Craig Dudley
Try treating the text a list with a cr/lf delimeter, and then tret each list
item as another list with a delimeter of =,



cfset input=
[Object]
ID=2031
URL="">
OtherSrvLev=0w33a
Category=31


cfset input = replace(input,[Object],,ALL)

cfloop list=#input# delimiters=#chr(10)##chr(13)# index=i
cfscript
setvariable( listgetat(i,1,=) , listgetat(i,2,=) );
/cfscript
/cfloop

cfif isdefined(url)
cfoutput
	a href="">
/cfoutput
/cfif

--

In this case, you now have the variables ID,URL,OtherSrvLev  Category which
can all be used.

HTH
Craig.

-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]
Sent: 19 October 2001 02:50
To: CF-Talk
Subject: Regular _expression_

This is not neccesarly have to be done with coldfusion's REReplace but 
anyhow,
I'm trying to come up with a regular _expression_ that will help me turn 
this:

[Object]
ID=2031
URL="">
OtherSrvLev=0w33a
Category=31

Into: http://www.cnn.com/

Overall, I'm trying to find a way to remove EVERYTHING 
(numeric/alpha/special/+New lines)
from [Object] over to URL="" keep everything from URL= "" the New 
line and again, remove
everything from OtherSrvLev to the end.
So I will be left with a URL alone.

Anyone?

Michael.

~~
Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[EMAIL PROTECTED]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Web services that return/set multiple variables.

2004-05-10 Thread Craig Dudley
Update, 

 
>From searching google for a couple of hours, the only suggested answer
I've seen is to write a .NET webservice and use that as a proxy, anybody
got a better idea or workaround?

 
To be honest CF's ws stuff appears to be about as compatible with other
scripting languages as a large square peg and small round whole. VERY
frustrating to say the least.

-Original Message-
From: Craig Dudley 
Sent: 10 May 2004 11:00
To: CF-Talk
Subject: Web services that return/set multiple variables.

We're trying to consume a suppliers webservice, described as follows;

GetNumberOfEntries(
[in] STR account, 
[in] STR password, 

[out] LONG* longOutCount,
[out] STR* OutErrorMessage,
[out,retval] LONG* longOutStatus
);

No matter how I call the webservice we get the following back;

Web service operation getNumberOfEntries with parameters
{account={blah},password={blah},RETURN={},} could not be found.

I can only assume that it's the fact that this service can return
multiple variables, and this is something which doesn't appear possible
with coldfusion webservices.

I have tried all sorts, passing in all 5 of the params etc, but no luck.

Anyone have an experience with this sort of thing? Any work arounds? I
don't fancy doing the SOAP manually as this is just one of a dozen
functions, the rest of which are much more complex.

Craig Dudley
Senior Developer
Netstep Corporate Communications Ltd
Direct Line: +44(0) 1422 319712
Phone: +44(0) 1422 200308
Fax: +44(0) 1422 200306
e-mail: [EMAIL PROTECTED]
MS Messenger: [EMAIL PROTECTED]
www: www.netstep.co.uk 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Web services that return/set multiple variables.

2004-05-10 Thread Craig Dudley
We're trying to consume a suppliers webservice, described as follows;

GetNumberOfEntries(
		[in] STR account, 
		[in] STR password, 

		[out] LONG* longOutCount,
		[out] STR* OutErrorMessage,
		[out,retval] LONG* longOutStatus
		);

No matter how I call the webservice we get the following back;

Web service operation getNumberOfEntries with parameters
{account={blah},password={blah},RETURN={},} could not be found.

I can only assume that it's the fact that this service can return
multiple variables, and this is something which doesn't appear possible
with coldfusion webservices.

I have tried all sorts, passing in all 5 of the params etc, but no luck.

Anyone have an experience with this sort of thing? Any work arounds? I
don't fancy doing the SOAP manually as this is just one of a dozen
functions, the rest of which are much more complex.

Craig Dudley
Senior Developer
Netstep Corporate Communications Ltd
Direct Line: +44(0) 1422 319712
Phone: +44(0) 1422 200308
Fax: +44(0) 1422 200306
e-mail: [EMAIL PROTECTED]
MS Messenger: [EMAIL PROTECTED]
www: www.netstep.co.uk
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Recommend a threaded forum application

2004-04-19 Thread Craig Dudley
I'd write your own Jim, it's not hard to be honest.

 
I wrote my own for my gaming site @
http://www.gameslave.co.uk/forum/index.cfm if you want to look, it's
currently pretty much tied to mssql, but it's not as big job to move it
to another dbms.

 
-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED] 
Sent: 18 April 2004 00:00
To: CF-Talk
Subject: Recommend a threaded forum application

I know a variation of this question gets asked every couple of months or
so.Is there a good CF based forum application available?Must be
threaded, with the option to view threads either via a threaded view or
flat view.From what I've seen in the past (haven't looked in about a
year) the choices in CF based forums are pretty slim.And those that
I've
looked at aren't particularly full featured in comparison to some of the
php boards.

Must support CF5 and would prefer ODBC support for MySQL, but Access via
ODBC is probably sufficient for this application.Good use of CSS for
customization of the look is a must.

If you don't have a good CF forum to recommend, then a recommendation
for
a PHP based application would be the second choice.I've worked with
phpbb and like it, but have crossed it off the list due to it's lack of
support (and no plans) for threaded discussions.And I don't have the
time to incorporate the fairly involved mods to phpbb to add threading.

Thanks. 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: String Length Hard-Limit (NOT a RegEx question)

2004-04-07 Thread Craig Dudley
I suppose another possible culprit would be the datasource, have you
enabled clobs? just a thought.

-Original Message-
From: Brendan Baldwin [mailto:[EMAIL PROTECTED] 
Sent: 07 April 2004 16:57
To: CF-Talk
Subject: String Length Hard-Limit (NOT a RegEx question)

Does CF have a hard-limit on number of characters for string variables?
Do form posts from textareas themselves have a hard-limit?We have a
database column of type nText which is truncating well before the
(2^30)-1 character limit and I suspect an internal CF limit may be the
culprit.

Thanks!

Brendan 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: PIA name already taken

2004-04-07 Thread Craig Dudley
p**s poor internet applications ? ;-)

-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED] 
Sent: 07 April 2004 16:55
To: CF-Talk
Subject: Re: PIA name already taken

On Wednesday 07 Apr 2004 16:52 pm, Kevin Graeme wrote:
 For those throwing the PIA moniker around as an acronym for Poor
Internet

We'll have to use PPIA then :-)

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.*** 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: String Length Hard-Limit (NOT a RegEx question)

2004-04-07 Thread Craig Dudley
Ah, after Dave said 65k, made me think, isn't the datasource long text
buffer size 65000 bytes by default? Could this be your issue?

-Original Message-
From: Craig Dudley 
Sent: 07 April 2004 17:02
To: CF-Talk
Subject: RE: String Length Hard-Limit (NOT a RegEx question)

I suppose another possible culprit would be the datasource, have you
enabled clobs? just a thought.

-Original Message-
From: Brendan Baldwin [mailto:[EMAIL PROTECTED] 
Sent: 07 April 2004 16:57
To: CF-Talk
Subject: String Length Hard-Limit (NOT a RegEx question)

Does CF have a hard-limit on number of characters for string variables?
Do form posts from textareas themselves have a hard-limit?We have a
database column of type nText which is truncating well before the
(2^30)-1 character limit and I suspect an internal CF limit may be the
culprit.

Thanks!

Brendan 
_ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Caching problem?

2004-04-01 Thread Craig Dudley
Did you copy the application file as well ? It might be worth while
double checking it, making sure the application name, and any
application specific settings have been changed correctly.

 -Original Message-
From: A.Little [mailto:[EMAIL PROTECTED] 
Sent: 01 April 2004 09:34
To: CF-Talk
Subject: Caching problem?

Hi all,

We're in the process of developing a new site which is very similar to a
previous site we've built, so we copied the webroot and customtags to
new folders and renamed the customtags (and references to them within
the code). Now we've mapped the dev domain name to the webroot, so we
have kn-dev.open.ac.uk and krn-dev.open.ac.uk. 

We seem to be getting a problem where if we restart the server and visit
kn-dev.open.ac.uk/index.cfm and then go to the page
krn-dev.open.ac.uk/index.cfm the KRN version picks up the header file
from KN, similarly if we go to krn-dev.open.ac.uk/index.cfm first and
then kn-dev.open.ac.uk/index.cfm the KN version picks up the KRN
version. (We've updated the KRN header file with a different design to
KN).

We've tried a number of things including;
- adding a cfheader no-cache to stop the client caching the page
- rebooting the server
- clearing the compiled java classes
- adding cfcache action="" to each index page

However none of these seem to be working. So does anyone have any other
suggestions as to what we could try? Unfortunately it's all behind a
firewall so you won't be able to view the problem - but this is not an
april fool!! ;-)

TIA

Alex 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Remove special chars to pass in URL

2004-03-17 Thread Craig Dudley
This should do it

 
on url 
?var=urlencodedformat(AC(DB)B(SD),utf-8)

 
on target page
var = urldecode(url.var,utf-8)

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 17 March 2004 13:52
To: CF-Talk
Subject: Remove special chars to pass in URL

Hi everyone,

Say if I wanted to pass this into a URL:

AC(DB)B(SD)

As a single URL variable value, how do I remove special characters?

Cheers 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFC Web services wont work with PHP sites

2004-03-16 Thread Craig Dudley
Returning a query might be your problem, I doubt PHP will be able to
understand the returned data type, from memory its a QueryBean , even
in java you have to write a complex datatype handler to use them.
Granted, I'm no java expert but I've not managed it yet.

 
When returning data from web services to other langauges it pays to keep
the returned datatypes as simple as possible, on occasion I've encoded a
query into a simple XML packet and returned it as a string, this
certainly helped a colleague of mine use my CF web service form C# .net

 
Might be a bit of a pain and not exactly neat, but it works.

 
Craig.

 
From: Michael Kear [mailto:[EMAIL PROTECTED] 
Sent: 16 March 2004 11:28
To: CF-Talk
Subject: RE: CFC Web services wont work with PHP sites

Taking a look at a different part of this issue now . can anyone see
what's
wrong with this code?Why this would work as a web service on one
server
but not another? 

cfcomponent

!--- Function for internal use:get anniversaries this week---

cffunction name=getthisweek access=public returntype=query
hint=This
returns the anniversaries happening this week as a query 

cfquery name=getthisweek datasource=#application.DSN#

(Valid SQL Query cut and pasted from Query Builder)

/cfquery

cfreturn getthisweek

/cffunction

!--- Function for web service:get anniversaries this week---

cffunction name=getthisweeksevents access=remote returntype=query
hint=This returns the anniversaries happening this week as a query for
a
web service 

cfquery name=getthisweekevents datasource=#request.DSN#

(Same valid query as used above)

/cfquery

cfreturn getthisweekevents

/cffunction

/cfcomponent

There isn't any registration in the CF Adminitrator or anything is
there?
The method getthisweek, the first one, works fine internally on the web
site.The second method, getthisweekseventsidentical except for its
names
and the access type doesn't work.Anyone able to see why?

Cheers

Mike Kear

Windsor, NSW, Australia

AFP Webworks

http://afpwebworks.com 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Writing Files without CFFILE

2004-03-09 Thread Craig Dudley
Are you using the same variable name for the cfsavecontent?

	-Original Message-
	From: Sean Daniels [mailto:[EMAIL PROTECTED] 
	Sent: 09 March 2004 17:18
	To: CF-Talk
	Subject: Re: Writing Files without CFFILE
	
	
	On Mar 9, 2004, at 11:50 AM, Adam Reynolds wrote:
	
	 Your issue is the number of chunks you are trying to do it in.
Try 
	 doing it
	in 2 parts.
	
	I thought about doing that, but it seems inherently
non-scalable. Like, 
	if I break it into two parts, what happens when the database
returns 
	24,000 records instead of 14,000. I know I could do it in 5,000
record 
	chunks I guess, but I thought there might be something obvious
that was 
	more elegant.
	
	cffile is probably ok but your cfsavecontent may be what is
causing 
	 you
	issues as it may not be clearing down the content. You are
still 
	 creating
	14000 pages inside memory space even though you are not
displaying 
	 them.
	Have you considered that cfsavecontent may not be the right
thing 
	 here?
	
	That's a good thought. I guess I could try passing the whole
HTML 
	string directly into cffile in the output attribute, but that's
gonna 
	be hard to read. Is there a way to clear the variable after
each 
	iteration of the loop that would release the RAM? 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Writing Files without CFFILE

2004-03-09 Thread Craig Dudley
I can only assume you were getting 14000 instances of the cfc object,
not sure why. You could try creating one instance and storing it in say,
the Application scope, and use that, might help. But since it's working
now anyway, might be a waste of time.

	-Original Message-
	From: Sean Daniels [mailto:[EMAIL PROTECTED] 
	Sent: 09 March 2004 17:44
	To: CF-Talk
	Subject: Re: Writing Files without CFFILE
	
	
	On Mar 9, 2004, at 12:26 PM, Craig Dudley wrote:
	
	 Are you using the same variable name for the cfsavecontent?
	
	Yes. On each iteration the savecontent overwrites the previous
content 
	var.
	
	That being said, I believe I solved the problem. I should have 
	mentioned I wasn't calling CFFILE directly in the loop, rather I
had a 
	method in a CFC called writeStaticFile that accepted two
params - 
	fileID and content. Once I pulled this logic out of the CFC and 
	directly into the code all is well. I can run the whole batch
without 
	any perceptible increase in RAM usage.
	
	Now, why passing it into the CFC would... is question for
another day.
	
	Here's the method, if anyone cares to comment.
	
	cffunction name=writeStaticPage access=public
returntype=boolean 
	output=false
	
	cfargument name=content required=yes type=string/
	cfargument name=fileName required=yes type=string/
	
	cffile action="" 
	file=#expandpath('../static/'arguments.fileName)# 
	nameconflict=overwrite addnewline=no charset=utf-8 
	output=#arguments.content#/
	
	cfreturn true/
	/cffunction
	
	-Original Message-
	From: Sean Daniels [mailto:[EMAIL PROTECTED]
	Sent: 09 March 2004 17:18
	To: CF-Talk
	Subject: Re: Writing Files without CFFILE
	
	
	On Mar 9, 2004, at 11:50 AM, Adam Reynolds wrote:
	
	 Your issue is the number of chunks you are trying to do it
in.
	Try
	 doing it
	in 2 parts.
	
	I thought about doing that, but it seems inherently
	non-scalable. Like,
	if I break it into two parts, what happens when the database
	returns
	24,000 records instead of 14,000. I know I could do it in
5,000
	record
	chunks I guess, but I thought there might be something
obvious
	that was
	more elegant.
	
	cffile is probably ok but your cfsavecontent may be what
is
	causing
	 you
	issues as it may not be clearing down the content. You are
	still
	 creating
	14000 pages inside memory space even though you are not
	displaying
	 them.
	Have you considered that cfsavecontent may not be the
right
	thing
	 here?
	
	That's a good thought. I guess I could try passing the whole
	HTML
	string directly into cffile in the output attribute, but
that's
	gonna
	be hard to read. Is there a way to clear the variable after
	each
	iteration of the loop that would release the RAM?
	 _
	 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: SES CFLIB UDF ParseURLData

2004-03-03 Thread Craig Dudley
afaik, all modern search engines can read and spider ANY url.

 
-Original Message-
From: Stan Winchester [mailto:[EMAIL PROTECTED] 
Sent: 03 March 2004 02:15
To: CF-Talk
Subject: SES  CFLIB UDF ParseURLData

	I have a client who needs search engine safe URL's. Has anyone
had any
	experience good or bad with the UDF ParseURLData found at:
	http://www.cflib.org/udf.cfm?ID=378 ? I have tested it locally
on my XP
	Pro/CFMX dev box and it seems to work nicely. I've also read
where search
	engines may or may not need SES URL's anymore, is this true?
	
	Thank you,
	Stan Winchester 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: SES CFLIB UDF ParseURLData

2004-03-03 Thread Craig Dudley
Matter of opinion as to wether they look nicer, tbh I hate them and
always have ;-)

 
imo a url should be short and sweet.

	-Original Message-
	From: Thomas Chiverton [mailto:[EMAIL PROTECTED] 
	Sent: 03 March 2004 13:55
	To: CF-Talk
	Subject: Re: SES  CFLIB UDF ParseURLData
	
	
	On Wednesday 03 Mar 2004 13:37 pm, Craig Dudley wrote:
	 afaik, all modern search engines can read and spider ANY url.
	
	Yes, but google for instance will apperently mark down a page
whos URL 
	contains '?', if it came from a page whos URL contains '?'.
	Plus I think SES-type URLs look nicer.
	
	-- 
	Tom Chiverton 
	Advanced ColdFusion Programmer
	
	Tel: +44(0)1749 834997
	email: [EMAIL PROTECTED]
	BlueFinger Limited
	Underwood Business Park
	Wookey Hole Road, WELLS. BA5 1AF
	Tel: +44 (0)1749 834900
	Fax: +44 (0)1749 834901
	web: www.bluefinger.com
	Company Reg No: 4209395 Registered Office: 2 Temple Back East,
Temple
	Quay, BRISTOL. BS1 6EG.
	*** This E-mail contains confidential information for the
addressee
	only. If you are not the intended recipient, please notify us
	immediately. You should not use, disclose, distribute or copy
this
	communication if received in error. No binding contract will
result from
	this e-mail until such time as a written document is signed on
behalf of
	the company. BlueFinger Limited cannot accept responsibility for
the
	completeness or accuracy of this message as it has been
transmitted over
	public networks.*** 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: SES CFLIB UDF ParseURLData

2004-03-03 Thread Craig Dudley
I wouldn't like either of those formats

 
The only thing I ever pass on a url in a public site is a single numeric
id, and even that is rare.

From: Thomas Chiverton [mailto:[EMAIL PROTECTED] 
Sent: 03 March 2004 15:12
To: CF-Talk
Subject: Re: SES  CFLIB UDF ParseURLData

	On Wednesday 03 Mar 2004 14:08 pm, Craig Dudley wrote:
	 imo a url should be short and sweet.
	
	So why would you prefer
	http://www.host.tld/index.cfm?top=homeside=offerOfTheDay
	to
	http://www.host.tld/home/offerOfTheDay
	?
	
	-- 
	Tom Chiverton 
	Advanced ColdFusion Programmer
	
	Tel: +44(0)1749 834997
	email: [EMAIL PROTECTED]
	BlueFinger Limited
	Underwood Business Park
	Wookey Hole Road, WELLS. BA5 1AF
	Tel: +44 (0)1749 834900
	Fax: +44 (0)1749 834901
	web: www.bluefinger.com
	Company Reg No: 4209395 Registered Office: 2 Temple Back East,
Temple
	Quay, BRISTOL. BS1 6EG.
	*** This E-mail contains confidential information for the
addressee
	only. If you are not the intended recipient, please notify us
	immediately. You should not use, disclose, distribute or copy
this
	communication if received in error. No binding contract will
result from
	this e-mail until such time as a written document is signed on
behalf of
	the company. BlueFinger Limited cannot accept responsibility for
the
	completeness or accuracy of this message as it has been
transmitted over
	public networks.*** 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: mySQL date ?

2004-02-20 Thread Craig Dudley
Isn't now() a function in mySql too? So you could just do .

 
CFQUERY NAME=qnews DATASOURCE=#dsn# USERNAME=#un#
PASSWORD=#pw#
 INSERT INTO guide (title, content, update)
 VALUES ('#title#', '#content#', now())
/CFQUERY

 
Should work.

	-Original Message-
	From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
	Sent: 20 February 2004 10:40
	To: CF-Talk
	Subject: Re: mySQL date ?
	
	
	right but thats the thing, i figured i could just use Now() and
didnt
	think twice about it, until i ran it  it choked. U'd think that
would be
	properly formated
	
	so when i use
	!--- do insert now ---
	CFQUERY NAME=qnews DATASOURCE=#dsn# USERNAME=#un#
PASSWORD=#pw#
	 INSERT INTO guide (title, content, update)
	 VALUES ('#title#', '#content#', #Now()#)
	/CFQUERY
	
	i get
	
	Error Executing Database Query.
	Syntax error or access violation: You have an error in your SQL
syntax.
	Check the manual that corresponds to your MySQL server version
for the
	right syntax to use near 'update) VALUES ('dd', 'dsfdfdfdsf
f',
	'2004-0
	
	
	 [EMAIL PROTECTED] wrote:
	 thanks but already been there.. done that
	
	 in access i would set the db asa date/time and use either
Now() or
	 Date() as the default and it was fine but mysql when i do
that enters
	 the words not the values
	
	 I'm not sure what you're getting at here.Are you saying that
in the
	 database you've said use now() as the default?If so, then
yes I've
	 seen this issue too, but never persued it and just ended up
inserting it
	
	as part of the query rather than try to default it in the
database.
	
	 I'm using mySQL, I have datetime and date fields in multiple
tables.I
	 use CreateODBCDateTime, CreateODBCDate and CF Now() as well as
the mySQL
	now() function to insert dates/datetime into the database.
	
	
	
	 however, i didnt know that reserve words mattered in
variables to, i
	 thought it was just the db field names themselfs, are u sure
bout
	 that? doesnt seem right to me.
	
	 Strictly speaking no it doesn't matter, but it is good
practice.
	
	
	 im using the field as an int because it works with the php
(choke)
	 date inserts using time()
	
	 Hmmm... Dates and times do end up as purely a number when you
get into
	 the lower levels of the database, which might well be
seconds-from-epoch
	as Tom suggests, or a Julian date. Generally speaking though,
you give
	 the database an appropriately formated date/time to a
date/time field,
	 it stores it any way it feels like, but returns the data in
date/time
	 format and allows you to index/search that data as a
date/time.
	
	 that example i put up was just the last 1 i tried. i looked
on google
	 and didnt find an answer but saw some stuff about how it goes
into the
	 db must be a certain way.
	
	 but u'd think it wouldnt be a problem to just set the now()
variable
	 and insert it but its choking. u'd think it would be a snap
maybe its
	 just my ghost in the machine again
	
	
	 As Tom says now() returns an ODBC formated Date/time object.
	 Unfortunately, there are no functions in CF to do what Tom
suggests, but
	I'm sure it possible to work it out, if you really need
to.
	
	
	 Regards
	
	 Stephen
	 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: [cftalk] RE: Stored Procedures

2004-02-20 Thread Craig Dudley
I'm not sure there is much point in using a stored proc to build a SQL
string and execute it, you'll get no speed/efficiency benefit at all, in
fact it will probably be slower.

 
Having said that, try this..

 
CREATE PROC GetMessages2
@searchtext varchar (100)
AS 
DECLARE @query varchar(1000)
SET @query = 'SELECT * FROM Messages WHERE 1=1'
IF len(@searchtext)  0 BEGIN
SET @query = @query + 'AND Message LIKE'+ '%' + @searchtext + '%' 
END
EXEC(@query)
GO 

	-Original Message-
	From: Allan Cliff - CFUG Spain [mailto:[EMAIL PROTECTED] 
	Sent: 20 February 2004 10:57
	To: CF-Talk
	Subject: Re: [cftalk] RE: Stored Procedures
	
	
	I have simplified this to:
	
	But get error [Macromedia][SQLServer JDBC Driver][SQLServer]Line
1: Incorrect syntax near 'a'. 
	
	Any more help please?
	Allan
	--
	
	CREATE PROC GetMessages2
	
	@searchtext varchar (100)
	
	AS 
	
	DECLARE @query varchar(1000)
	
	
	SET @query = 'SELECT * FROM Messages'
	
	SET @query = @query + ' WHERE 1=1'
	
	IF @searchtext  ''
	SET @query = @query +'AND Message LIKE'+ '%' + @searchtext +
'%' 
	
	EXEC(@query)
	GO
	
	- Original Message - 
	From: Mike Townend 
	To: CF-Talk 
	Sent: Friday, February 20, 2004 11:43 AM
	Subject: [cftalk] RE: Stored Procedures
	
	try adding a size to the varchar
	
	CREATE PROC GetMessages
	
	@fromid int,
	@toid int,
	@searchtext varchar(100)
	
	should work
	
	HTH
	
	-Original Message-
	From: Allan Cliff - CFUG Spain [mailto:[EMAIL PROTECTED] 
	Sent: Friday, February 20, 2004 10:25
	To: CF-Talk
	Subject: Stored Procedures
	
	I am trying to move a query to a Stored Procedure.
	
	I want to add a LIKE to it but doesn't seem to work.
	It seems to find the first letter only and then if it finds
that it works
	
	Example:
	
	Message Body: My name is Allan
	
	Search Text: a - Found 1 result
	Search Text: b - Found 0 results
	Search Text: xxx - Found 0 results
	Search Text: Allan - Found 1 result
	Search Text: Alllan - Found 1 result
	Search Text: asakjhfsiuhieqworg - Found 1 result
	
	Help Please. I know its Friday. And it really is Friday today.
	
	Allan
	
	-
	
	CREATE PROC GetMessages
	
	@fromid int,
	@toid int,
	@searchtext varchar
	
	AS 
	
	DECLARE @query varchar(1000)
	
	SET @query = 'SELECT * FROM Messages M '
	SET @query = @query + ' WHERE 1=1 '
	
	IF @fromid  0
	SET @query = @query + 'AND M.FromID = ' +
convert(varchar,@fromid)
	
	IF @toaccountid  0
	SET @query = @query + 'AND M.ToID = ' + convert(varchar,@toid)
	
	---
	**THIS SYNTAX DOESN'T WORK**
	IF @searchtext  ''
	SET @query = @query +'AND M.Message LIKE '+ '% +
@searchtext +
	%'
	
	---
	
	SET @query = @query + ' ORDER BY M.MessageID'
	EXEC(@query)
	GO 
	 _ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Flash, java file uploading applet

2004-02-17 Thread Craig Dudley
Does anyone use a flash or java client file uploading applet?

I've been looking about at a few for a while now and none I've seen have
quite been what I'm looking for.

Criteria

Must work in IE/mozilla/Safari on PC and or Mac
Needs an upload progress status indicator
Will integrate with CF
Preferably flash, but java will do.

Anyone got any suggestions or use something that matches the criteria?

Craig Dudley
Senior Developer
Netstep Corporate Communications Ltd
Direct Line: +44(0) 1422 319712
Phone: +44(0) 1422 200308
Fax: +44(0) 1422 200306
e-mail: [EMAIL PROTECTED]
MS Messenger: [EMAIL PROTECTED]
www: www.netstep.co.uk
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Replying To a HTTP POST

2004-02-10 Thread Craig Dudley
Just write it into the page stream?

	-Original Message-
	From: chad [mailto:[EMAIL PROTECTED] 
	Sent: 10 February 2004 14:56
	To: CF-Talk
	Subject: Replying To a HTTP POST
	
	
	Here is the problem, I am receiving a XML document from a PDA
using a standard CGI HTTP Post to a coldfusion page. This coldfusion
page will process the XML document do some stuff and generate a new XML
document that then has to be replied back to the PDA. I can receive and
process the XML documents fine, but how do I reply back to the PDA?? Any
ideas?
	
	Chad 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




  1   2   3   4   5   >