Re: Using .jar file with cfobject

2007-05-09 Thread Robertson-Ravo, Neil (RX)
It is? or is alledgedly faster?

What metrics have you ran to test and prove it's faster with your code?







This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Qasim Rasheed
To: CF-Talk
Sent: Wed May 09 01:39:49 2007
Subject: Re: Using .jar file with cfobject

Bruce try this

cfset fso = CreateObject( 'java', 'java.io.FieOutputStream').init(
CreateObject( 'java', 'java.io.File' ).init( 'e:/temp/tempimage.png' ) ) /

Although in my opinion you are better off using a BufferedOutputStream as it
is suppose to perform better. However I haven't work with batik.

HTH

Qasim

On 5/8/07, Bruce, Rodney S C-E LCMC HQISEC/Signal Solutions 
[EMAIL PROTECTED] wrote:

 Don't seem to like that either.
 Get the same error message.

 -Original Message-
 From: Dave Watts [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 08, 2007 4:11 PM
 To: CF-Talk
 Subject: RE: Using .jar file with cfobject


  cfset pngpath = e:\temp\tempimage.png

 Try e:/temp/tempimage.png.

 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!

 This email has been processed by SmoothZap - www.smoothwall.net




 



~|
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:277382
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Using .jar file with cfobject

2007-05-09 Thread Janet MacKay
 cfset svgPath = e:\temp\newxml.svg / 
 cfset svgFile = expandPath(svgPath) / 

Rodney,

Don't use expandPath() if you're going to supply an absolute path. That might 
have been what was messing you up.  


This worked for me

!--- svg file is in same directory as script 
cfobject action=create type=java 
class=org.apache.batik.transcoder.image.PNGTranscoder name=MakeImage 
cfset svgFile = ExpandPath(newxml2.svg) / 
cfset pngFile = ExpandPath(newxml2.png) / 
cfset svgURI = 
createObject(java,java.io.File).init(svgFile).toURL().toString() / 
cfset input = 
createObject(java,org.apache.batik.transcoder.TranscoderInput).init(svgURI) 
/ 
cfset ostream = createObject(java,java.io.FileOutputStream).init(pngFile) 
/ 
cfset output = 
createObject(java,org.apache.batik.transcoder.TranscoderOutput).init(ostream)
 / 
cfset MakeImage.transcode(input, output) / 
cfset ostream.flush() /
cfset ostream.close() / 

cfoutput
embed src=#svgFile# width=1024 height=265 type=image/svg+xml /
img src=#pngFile# /
/cfoutput 




~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277379
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 .jar file with cfobject

2007-05-09 Thread Janet MacKay
 cfset svgPath = e:\temp\newxml.svg / 
 cfset svgFile = expandPath(svgPath) / 

Rodney,

Don't use expandPath() if you're going to supply an absolute path. That might 
have been what was messing you up.  


This worked for me

!--- svg file is in same directory as script 
cfobject action=create type=java 
class=org.apache.batik.transcoder.image.PNGTranscoder name=MakeImage 
cfset svgFile = ExpandPath(newxml2.svg) / 
cfset pngFile = ExpandPath(newxml2.png) / 
cfset svgURI = 
createObject(java,java.io.File).init(svgFile).toURL().toString() / 
cfset input = 
createObject(java,org.apache.batik.transcoder.TranscoderInput).init(svgURI) 
/ 
cfset ostream = createObject(java,java.io.FileOutputStream).init(pngFile) 
/ 
cfset output = 
createObject(java,org.apache.batik.transcoder.TranscoderOutput).init(ostream)
 / 
cfset MakeImage.transcode(input, output) / 
cfset ostream.flush() /
cfset ostream.close() / 

cfoutput
embed src=#svgFile# width=1024 height=265 type=image/svg+xml /
img src=#pngFile# /
/cfoutput 




~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277380
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 .jar file with cfobject

2007-05-09 Thread Janet MacKay
 cfset svgPath = e:\temp\newxml.svg / 
 cfset svgFile = expandPath(svgPath) / 

Rodney,

Don't use expandPath() if you're going to supply an absolute path. That might 
have been what was messing you up.  


This worked for me

!--- svg file is in same directory as script 
cfobject action=create type=java 
class=org.apache.batik.transcoder.image.PNGTranscoder name=MakeImage 
cfset svgFile = ExpandPath(newxml2.svg) / 
cfset pngFile = ExpandPath(newxml2.png) / 
cfset svgURI = 
createObject(java,java.io.File).init(svgFile).toURL().toString() / 
cfset input = 
createObject(java,org.apache.batik.transcoder.TranscoderInput).init(svgURI) 
/ 
cfset ostream = createObject(java,java.io.FileOutputStream).init(pngFile) 
/ 
cfset output = 
createObject(java,org.apache.batik.transcoder.TranscoderOutput).init(ostream)
 / 
cfset MakeImage.transcode(input, output) / 
cfset ostream.flush() /
cfset ostream.close() / 

cfoutput
embed src=#svgFile# width=1024 height=265 type=image/svg+xml /
img src=#pngFile# /
/cfoutput 




~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Lack of CF understanding: Info Week

2007-05-09 Thread Sean Corfield
On 5/5/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 Not to add to the hornet's nestwell, okay maybe, but back to the
 issues we deal with in perceptions with CF.  This time not price, just a
 pure lack of focus on what the CF platform can do from a review of a
 site that moved from a mixed bag of CF and .Net to Java after
 acquisitions:

The article singles out TripHomes mostly for the reliance on MS tech
that has caused problems. What they want is to move away from MS tech.
It's unfortunate they mention CF is somewhat unflattering terms but
most of the criticism is (rightly) aimed at MS tech.

hidden disadvantage of the .Net approach is that the resulting Web
site is harder to manage

It's more difficult to scale .Net, it's harder to monitor in a
large-scale deployment, Buhrdorf says. Java can scale up on small
Linux servers, and you get better insight into the production
environment.

The comments about the CF app's architecture were not aimed at CF but
at the architecture:

The old TripHomes site had stored its home images, data, and
programming logic in the form of stored procedures in the database on
a single disk drive, giving us a single point of failure,

And, indeed, that was extremely bad practice. CF is based on Java -
the tech that they like!

There's really nothing critical of CF here, just criticism of bad practices.

Moral: write better programs in CF and CF will get less criticism...
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Lack of CF understanding: Info Week

2007-05-09 Thread Robertson-Ravo, Neil (RX)
Here here.




This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Sean Corfield
To: CF-Talk
Sent: Wed May 09 08:07:03 2007
Subject: Re: Lack of CF understanding: Info Week

On 5/5/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 Not to add to the hornet's nestwell, okay maybe, but back to the
 issues we deal with in perceptions with CF.  This time not price, just a
 pure lack of focus on what the CF platform can do from a review of a
 site that moved from a mixed bag of CF and .Net to Java after
 acquisitions:

The article singles out TripHomes mostly for the reliance on MS tech
that has caused problems. What they want is to move away from MS tech.
It's unfortunate they mention CF is somewhat unflattering terms but
most of the criticism is (rightly) aimed at MS tech.

hidden disadvantage of the .Net approach is that the resulting Web
site is harder to manage

It's more difficult to scale .Net, it's harder to monitor in a
large-scale deployment, Buhrdorf says. Java can scale up on small
Linux servers, and you get better insight into the production
environment.

The comments about the CF app's architecture were not aimed at CF but
at the architecture:

The old TripHomes site had stored its home images, data, and
programming logic in the form of stored procedures in the database on
a single disk drive, giving us a single point of failure,

And, indeed, that was extremely bad practice. CF is based on Java -
the tech that they like!

There's really nothing critical of CF here, just criticism of bad practices.

Moral: write better programs in CF and CF will get less criticism...
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Error,jrpp-3 - Any ideas?

2007-05-09 Thread Tom Chiverton
On Tuesday 08 May 2007, Jim H wrote:
 Which configs are you talking about?

FusionReactor makes changes to, iirc, the JVM config file.

-- 
Tom Chiverton
Helping to revolutionarily accelerate dot-com interfaces
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: defeating offline form posts

2007-05-09 Thread Tom Chiverton
On Wednesday 09 May 2007, Eric J. Hoffman wrote:
 authenticate filewhat is the best way to detect this and defeat it?
 Noone has ever gained access this way as of yet, but we are studying
 possibilities, and this seems to me to be an attack vector.

What could they do by submitting the local form (with valid session ID 
embedded in it, cookies set from a real session etc. etc.) that they couldn't 
do by just being logged into the site anyway ?

-- 
Tom Chiverton
Helping to completely generate virtual IPOs
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277386
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 CFLock around a query

2007-05-09 Thread Jochem van Dieten
Ali Awan wrote:
 Every once in a while on my intranet application I get Database errors.
 MS SQL Server will throw an error that the transaction was deadlocked.
 
 It happens around a piece of code in which I have 2 queries, an Update and a
 Delete which are nested inside a CFTransaction.

 On this page, the only thing happening is an update query.  I checked the
 date and time that the error occurred and I did not find 2 competing
 transactions, so I was completely baffled as to why a SQL deadlock would
 occur on a page where this just a single query.

Did you find any concurrent queries?


 What I have done is put a CFLock around this, in the hopes that this will
 eliminate this error.

Since you couldn't find any concurrent transactions I doubt that is 
going to help.


 If there are 2 users and they are not hitting the same table, but just
 hitting the same database, could a deadlock situation occur?

For a deadlock you need at least two SQL sessions hitting the same object.


 cflock
cftransaction
cfquery name=q1
  update table1
  yadda yadda...
/cfquery
 
cfquery name=q2
 delete table1
  where ..
/cfquery
/cftransaction
 /cflock

It is not unlikely this can deadlock, but to be certain we need to see 
the actual SQL.

Jochem

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: defeating offline form posts

2007-05-09 Thread Jochem van Dieten
Eric J. Hoffman wrote:
 Curious question here.   If I think about this, if someone takes a form
 of ours for login, for example, and makes a local copy on their
 machineand they set the post action to be the live server
 authenticate filewhat is the best way to detect this and defeat it?

Why do you care?

Jochem

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


focus indicator after a click on a href.... how to?

2007-05-09 Thread the_oslo Kid
Hi all,
   
  CF 6.1 engine.
   
  I've got a table with say 10 rows and 6 columns - one or two of these 
columns have
  a a href attached.  When the user clicks on one of them, I do a PopWindow 
with an
  image.  However, when the user looks back to the original form, there is no 
indication
  as to which of the rows - let alone which of the columns - the user clicked 
on.
   
  I thought of onclick - but that's only from CF7 onwards... :-(
   
  How can I do this?
   
  Any help is very much appreciated.
   
  Kind regards,
  Knut

 
-
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.

~|
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:277389
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: focus indicator after a click on a href.... how to?

2007-05-09 Thread Peterson, Chris
You just need to set you're a:visited color to be something different,
this has nothing to do with Coldfusion and everything to do with CSS /
styles =)

In an app I have, I even have a spacer image named something like
viewed_#query.currentRow#.  Then I do a javascript to replace the spacer
for whatever row I clicked on with a green checkmark, so they know which
items have been reviewed.

Chris 

-Original Message-
From: the_oslo Kid [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 7:53 AM
To: CF-Talk
Subject: focus indicator after a click on a href how to?

Hi all,
   
  CF 6.1 engine.
   
  I've got a table with say 10 rows and 6 columns - one or two of
these columns have
  a a href attached.  When the user clicks on one of them, I do a
PopWindow with an
  image.  However, when the user looks back to the original form, there
is no indication
  as to which of the rows - let alone which of the columns - the user
clicked on.
   
  I thought of onclick - but that's only from CF7 onwards... :-(
   
  How can I do this?
   
  Any help is very much appreciated.
   
  Kind regards,
  Knut

 
-
8:00? 8:25? 8:40?  Find a flick in no time  with theYahoo! Search movie
showtime shortcut.



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Multi-Language Site

2007-05-09 Thread Bruce Sorge
I have a new site I am working on that is going to be multi-lingual (Spanish
and English). Has anyone done this before and if so, what are some best
approaches? It is of course database driven, and it is a model (not nude)
site. What are some of the challenges I may face? 

 

Thanks,

 

Bruce



~|
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:277391
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Multi-Language Site

2007-05-09 Thread Paul Vernon
You may want to look at the following things...

Resource bundles (Paul H has some great resources)
icu4j libraries

If you build the site in utf-8 and use resource bundles then you should be
fine for most languages, it only gets really complicated when you are
looking at things like Thai (the most complex AFAIK)...

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:277392
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Multi-Language Site

2007-05-09 Thread Adkins, Randy
One of the obstacles I had was JS. I had to create separate JS files
Based on the locale (language) so that my alert messages would be in
The right language.

Other than that, it was just loading the right language files are start.
If pulling from a database just have it select where lang = spanish or
whatever your needs
Are.

I dropped all of my language text into a REQUEST scope but since it
probably wont change
Very often other scopes may be more useful.

-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 8:23 AM
To: CF-Talk
Subject: Multi-Language Site

I have a new site I am working on that is going to be multi-lingual
(Spanish and English). Has anyone done this before and if so, what are
some best approaches? It is of course database driven, and it is a model
(not nude) site. What are some of the challenges I may face? 

 

Thanks,

 

Bruce





~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: defeating offline form posts

2007-05-09 Thread Chris Norloff
What if the HTTP POST didn't get as far as ColdFusion? We have an ongoing case 
where the web server throws a 500 error, and we don't know why the page doesn't 
get to CF.

thx
Chris

-- Original Message --
From: Ken Wexel [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Tue, 8 May 2007 23:26:01 -0400

When I ran into this problem previously, I'd set a value into the user
session and set the same value as a hidden form field.  On post, if
the two didn't match, I knew the posting was invalid.  Can be
something as simple as a long numeric value..

On 5/8/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 That's where I startedbut the thing is, I think they can spoof that
 variable?  Or not?



 


 Eric J. Hoffman
 Managing Partner
 2081 Industrial Blvd
 StillwaterMN55082
 mail: [EMAIL PROTECTED]
 www: http://www.ejhassociates.com
 tel: 651.717.4105
 fax: 651.717.4101
 mob: 651.245.2717
 Adobe Solutions Partner
 Microsoft Certified Partner

 

 This message contains confidential information and is intended only for 
 [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you should not 
 disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] 
 immediately by e-mail if you have received this e-mail by mistake and delete 
 this e-mail from your system. E-mail transmission cannot be guaranteed to be 
 secure or error-free as information could be intercepted, corrupted, lost, 
 destroyed, arrive late or incomplete, or contain viruses. Eric J. Hoffman 
 therefore does not accept liability for any errors or omissions in the 
 contents of this message, which arise as a result of e-mail transmission. If 
 verification is required please request a hard-copy version.
 

 -Original Message-

 From: AJ Mercer [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 08, 2007 9:53 PM
 To: CF-Talk
 Subject: Re: defeating offline form posts

 Have a look at the CGI variables
 in particular CGI.HTTP_REFERER
 This is the page before the current one - it should have your server
 details
 in there, other wise discard.


 On 5/9/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 
  Curious question here.   If I think about this, if someone takes a
 form
  of ours for login, for example, and makes a local copy on their
  machineand they set the post action to be the live server
  authenticate filewhat is the best way to detect this and defeat
 it?
  Noone has ever gained access this way as of yet, but we are studying
  possibilities, and this seems to me to be an attack vector.
 
 
 
  Any thoughts?A check to see if the referrer was the domain
  name/login file name?   Or can that be spoofed as well then?
 
 
 
  Thanks~!
 
  
 
 
  Eric J. Hoffman
  Managing Partner
  2081 Industrial Blvd
  StillwaterMN55082
  mail: [EMAIL PROTECTED]
  www: http://www.ejhassociates.com
  tel: 651.717.4105
  fax: 651.717.4101
  mob: 651.245.2717
  Adobe Solutions Partner
  Microsoft Certified Partner
 
  
 
  This message contains confidential information and is intended only
 for
  [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com
 you
  should not disseminate, distribute or copy this e-mail. Please notify
  [EMAIL PROTECTED] immediately by e-mail if you have received
 this
  e-mail by mistake and delete this e-mail from your system. E-mail
  transmission cannot be guaranteed to be secure or error-free as
 information
  could be intercepted, corrupted, lost, destroyed, arrive late or
 incomplete,
  or contain viruses. Eric J. Hoffman therefore does not accept
 liability for
  any errors or omissions in the contents of this message, which arise
 as a
  result of e-mail transmission. If verification is required please
 request a
  hard-copy version.
  
 
 
 



 



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


declare sql variables

2007-05-09 Thread Daniel Kessler
 Why do you want to declare a variable? You are not even using it in  
 your
 statement. What is the problem for which you think a variable
 declaration is the solution?

Fair question.  I'm not even using it in my statement because I can't  
even declare a variable.  If I can't get past step 1, there's no use  
in trying step 2.  I'm sure you've been there.

And I don't know that it solves my problem.  I've been working on  
this query forever and had some great assistance from here a few  
weeks back.  I'm trying to evolve that code.  Originally, in the  
inner select, I had:

CASE WHEN o.mname is not null THEN o.fname ELSE a.a_mname END as  
middlename.  Then in the outter query (main query?), I substring it  
and concatenate it with a dot ( || '.').
This works great on first and last name which are required and are  
sure to have something in either o.fname or a.a_fname.  Middle name  
though is optional and may not have an entry.  That code above says   
if there's a middle name in my people table (o), use it.  If not, use  
whatever is in the authors table (a).  But the author's table may be  
blank too.  In that case, I don't want to concatenate a dot.  I'd end  
up with entries like Abrahms,P..  Originally I tried to add a if in  
the second part of the statement, after the THEN section.  I couldn't  
figure that out, after lotsa cussin and itchin.  So, I thought that  
maybe I could initialize middlename as '' and maybe that would be of  
some assistance.

In the query that you saw, I tried to use
NVL(o.mname, a.a_mname)AS middlename,
and also
COALESCE(o.mname || '.', a.a_mname || '.', ' ')
Both didn't work right, though I don't understand why coalesce didn't  
work.  It seems like the third option would kick in.

I'm at the point now that I think I should just figure out a CF  
solution and forget the whole SQL complexity.  I dunno.

Either way, I figured it would be good to at least know how to  
initialize variables in SQL for later use.  Sounds like a basic,  
fundamental tool, right?

 Depends on what you're trying to accomplish. Note that using
 cfqueryparam, you're essentially creating a bind variable anyway - so
 with CF, I don't see what you'd gain.

I thought cfqueryparam did that, from what I remember about  
conversations here.  But while I was just looking to have a basic  
variable, from the text, bind variables seemed like a good thing to  
know.  Alot of the text said that Oracle automatically uses bind  
variables in most situations anyway, without the coder doing so.


-- 

Daniel Kessler

College of Health and Human Performance
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
Phone: 301-405-2545
http://hhp.umd.edu




~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: defeating offline form posts

2007-05-09 Thread Chris Norloff
What if the HTTP POST didn't get as far as ColdFusion? We have an ongoing case 
where the web server throws a 500 error, and we don't know why the page doesn't 
get to CF.

thx
Chris

-- Original Message --
From: Ken Wexel [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Tue, 8 May 2007 23:26:01 -0400

When I ran into this problem previously, I'd set a value into the user
session and set the same value as a hidden form field.  On post, if
the two didn't match, I knew the posting was invalid.  Can be
something as simple as a long numeric value..

On 5/8/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 That's where I startedbut the thing is, I think they can spoof that
 variable?  Or not?

 -Original Message-

 From: AJ Mercer [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 08, 2007 9:53 PM
 To: CF-Talk
 Subject: Re: defeating offline form posts

 Have a look at the CGI variables
 in particular CGI.HTTP_REFERER
 This is the page before the current one - it should have your server
 details
 in there, other wise discard.


 On 5/9/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 
  Curious question here.   If I think about this, if someone takes a
 form
  of ours for login, for example, and makes a local copy on their
  machineand they set the post action to be the live server
  authenticate filewhat is the best way to detect this and defeat
 it?


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Multi-Language Site

2007-05-09 Thread Doug Hyde
First, I tried to minimize the use of terms with images. Second, I created
an application level variable for all terms that needed to be translated,
including for javascript alerts. The data is stored in a table, so can be
updated (either automatically, when the application variable times out, or
manully). I then created custom tag that queries the application data
depending on the language setting - this adds some processing overhead, but
works for me. Now, I have multiple languages, and users can add new
languages, hence this approach. You could make it a bit simpler - just
create a application level structure with terms, and create a variable as a
language extension, for example, _en or _spI also use unicode as per
other suggestions. 

Doug 



 


On 09/05/2007 08:23, Bruce Sorge [EMAIL PROTECTED] wrote:

 I have a new site I am working on that is going to be multi-lingual (Spanish
 and English). Has anyone done this before and if so, what are some best
 approaches? It is of course database driven, and it is a model (not nude)
 site. What are some of the challenges I may face?
 
  
 
 Thanks,
 
  
 
 Bruce
 
 
 
 

~|
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:277397
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: defeating offline form posts

2007-05-09 Thread Bobby Hartsfield
My thoughts exactly Jochem. What's the difference if they use their form or
your form if the action template is what matters?

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 6:05 AM
To: CF-Talk
Subject: Re: defeating offline form posts

Why do you care?

Jochem

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.6.6/794 - Release Date: 5/8/2007 2:23
PM
 



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


RE: focus indicator after a click on a href.... how to?

2007-05-09 Thread Bobby Hartsfield
like
http://ncsymphony.org/education/index.cfm?subsec=musicalenlightenment

;-)

-Original Message-
From: Peterson, Chris [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 8:06 AM
To: CF-Talk
Subject: RE: focus indicator after a click on a href how to?

You just need to set you're a:visited color to be something different,
this has nothing to do with Coldfusion and everything to do with CSS /
styles =)

In an app I have, I even have a spacer image named something like
viewed_#query.currentRow#.  Then I do a javascript to replace the spacer
for whatever row I clicked on with a green checkmark, so they know which
items have been reviewed.

Chris 

-Original Message-
From: the_oslo Kid [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 7:53 AM
To: CF-Talk
Subject: focus indicator after a click on a href how to?

Hi all,
   
  CF 6.1 engine.
   
  I've got a table with say 10 rows and 6 columns - one or two of
these columns have
  a a href attached.  When the user clicks on one of them, I do a
PopWindow with an
  image.  However, when the user looks back to the original form, there
is no indication
  as to which of the rows - let alone which of the columns - the user
clicked on.
   
  I thought of onclick - but that's only from CF7 onwards... :-(
   
  How can I do this?
   
  Any help is very much appreciated.
   
  Kind regards,
  Knut

 
-
8:00? 8:25? 8:40?  Find a flick in no time  with theYahoo! Search movie
showtime shortcut.





~|
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:277399
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: AJAX - The easiest way possible. Spry?

2007-05-09 Thread Dan G. Switzer, II
Will,

 I wouldn't say you need to learn JS. You can typically do most simple
 stuff with 2 script lines you can cut and paste from the demos. ;) I'd
 definitely encourage folks to check out Spry. You can even watch a
 presentation I've done on Spry:


 Thanks ray! Just watched the presentation definitely helped me
understand a lot more.

One big gotcha with Spry, is it does not create unobtrusive JavaScript and
will require you to write HTML that doesn't validate. It's just something to
be aware of these are issues for you.

-Dan


~|
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:277400
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Multi-Language Site

2007-05-09 Thread Bruce Sorge
Cool. Thanks everyone for the suggestions.

Bruce

-Original Message-
From: Doug Hyde [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 6:10 AM
To: CF-Talk
Subject: Re: Multi-Language Site

First, I tried to minimize the use of terms with images. Second, I created
an application level variable for all terms that needed to be translated,
including for javascript alerts. The data is stored in a table, so can be
updated (either automatically, when the application variable times out, or
manully). I then created custom tag that queries the application data
depending on the language setting - this adds some processing overhead, but
works for me. Now, I have multiple languages, and users can add new
languages, hence this approach. You could make it a bit simpler - just
create a application level structure with terms, and create a variable as a
language extension, for example, _en or _spI also use unicode as per
other suggestions. 

Doug 




~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Error,jrpp-3 - Any ideas?

2007-05-09 Thread Jim H
Would a uninstall remove the changes?  I am not sure where to find the changes.
-JH

 On Tuesday 08 May 2007, Jim H wrote:
  Which configs are you talking about?
 
 FusionReactor makes changes to, iirc, the JVM config file.
 
 -- 
 Tom Chiverton
 Helping to revolutionarily accelerate dot-com interfaces
 on: http://thefalken.livejournal.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
 England and Wales under registered number OC307980 whose registered 
 office address is at St James's Court Brown Street Manchester M2 2JF.  
 A list of members is available for inspection at the registered office. 
 Any reference to a partner in relation to Halliwells LLP means a 
 member of Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above 
 and may be confidential or legally privileged.  If you are not the 
 addressee you must not read it and must not use any information 
 contained in nor copy it nor inform any person other than Halliwells 
 LLP or the addressee of its existence or contents.  If you have 
 received this email in error please delete it and notify Halliwells 
 LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


CF Based Auction Software

2007-05-09 Thread Jim Ruzicka
Anyone know of a good ColdFusion based auction software, similar to 
http://www.phpauction.net/ ?  Thanks.

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


RE: cfchart issues

2007-05-09 Thread Jeremy
I had the same problems with a line graph as well. I noticed that no matter
how big I made the graph, it still had the same problem, just larger on
screen.

-Original Message-
From: Robert Rawlins - Think Blue
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 08, 2007 4:23 AM
To: CF-Talk
Subject: cfchart issues

Guys,

 

I've got a weird drawing issue with my chcharts, for some sets of data it
seems to screw up where the data points should be, I've taken a screen
capture to show you what I mean.

 

http://80.244.184.135/chart.png

 

As you can see, it plots the lines as it should do, but seems to offset some
of the markers, very strange.

 

Any ideas why this might be, is it a known bug?

 

Thanks,

 

Rob





~|
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:277404
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Separate DB for client vars?

2007-05-09 Thread Stewart Turnbull
I'm looking at things to speed up a CFMX7 application and was wondering if 
creating a separate MS SQL 2000 DB only to hold the application's client vars 
was worth considering? Although the 2 tables CDATA and CGLOBAL are purged every 
2 days both tables contain of 60,000 records. I suppose if nothing else it 
would make the applications DB backup slightly smaller.

~|
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:277405
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Separate DB for client vars?

2007-05-09 Thread Adam Churvis
Stewart,

Just engineer client variables out of your application altogether.  Why
exactly are you using them?

Respectfully,

Adam Phillip Churvis

Get advanced intensive Master-level training in
C#  ASP.NET 2.0 for ColdFusion Developers at
ProductivityEnhancement.com

-Original Message-
From: Stewart Turnbull [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 9:56 AM
To: CF-Talk
Subject: Separate DB for client vars?

I'm looking at things to speed up a CFMX7 application and was wondering if
creating a separate MS SQL 2000 DB only to hold the application's client
vars was worth considering? Although the 2 tables CDATA and CGLOBAL are
purged every 2 days both tables contain of 60,000 records. I suppose if
nothing else it would make the applications DB backup slightly smaller.



~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Separate DB for client vars?

2007-05-09 Thread Stewart Turnbull
The application was originally build prior to the release of CF5 and therefore 
we couldn't rely on setting these vars using cfcookie due to the issues with 
the cflocation tag. You're quite right though. I should look at using session 
variables to store this data. 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: declare sql variables

2007-05-09 Thread Jochem van Dieten
Daniel Kessler wrote:
 
 CASE WHEN o.mname is not null THEN o.fname ELSE a.a_mname END as  
 middlename.  Then in the outter query (main query?), I substring it  
 and concatenate it with a dot ( || '.').
 This works great on first and last name which are required and are  
 sure to have something in either o.fname or a.a_fname.  Middle name  
 though is optional and may not have an entry.  That code above says   
 if there's a middle name in my people table (o), use it.  If not, use  
 whatever is in the authors table (a).  But the author's table may be  
 blank too.  In that case, I don't want to concatenate a dot.  I'd end  
 up with entries like Abrahms,P..  Originally I tried to add a if in  
 the second part of the statement, after the THEN section.  I couldn't  
 figure that out, after lotsa cussin and itchin.  So, I thought that  
 maybe I could initialize middlename as '' and maybe that would be of  
 some assistance.

How is a single variable going to help? If you were to use some 
variables based approach, you would need one variable for each row of 
the resultset, not one variable for the whole resultset.

If you just want to make sure the middlename is not NULL you simply need 
to expand your CASE statement:
CASE
WHEN o.mname is not null THEN o.fname
WHEN a.a_mname is not null THEN a.a_mname
ELSE ' '
END as middlename


 Either way, I figured it would be good to at least know how to  
 initialize variables in SQL for later use.  Sounds like a basic,  
 fundamental tool, right?

I use it next to never. SQL is about (row)sets, not about individual 
variables.

Jochem

~|
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:277408
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: defeating offline form posts

2007-05-09 Thread Ken Wexel
and have an active session with a matching key in the session
scope.seems like it would be a lot of work to create the session,
load the form, save the form locally, change the post path, spoof the
session, etc. just to post it from somewhere else once.  Not
bulletproof, but worked well enough for my needs..

On 5/8/07, Maximilian Nyman [EMAIL PROTECTED] wrote:
 But the only thing I have to do to get around that is to hit the
 live form, do a View source, get the hidden values and update my
 local form with those hidden value(s).



 On 5/9/07, Ken Wexel [EMAIL PROTECTED] wrote:
  When I ran into this problem previously, I'd set a value into the user
  session and set the same value as a hidden form field.  On post, if
  the two didn't match, I knew the posting was invalid.  Can be
  something as simple as a long numeric value..
 
  On 5/8/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
   That's where I startedbut the thing is, I think they can spoof that
   variable?  Or not?
  
  
   -Original Message-
  
   From: AJ Mercer [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, May 08, 2007 9:53 PM
   To: CF-Talk
   Subject: Re: defeating offline form posts
  
   Have a look at the CGI variables
   in particular CGI.HTTP_REFERER
   This is the page before the current one - it should have your server
   details
   in there, other wise discard.
  
  
   On 5/9/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
   
Curious question here.   If I think about this, if someone takes a
   form
of ours for login, for example, and makes a local copy on their
machineand they set the post action to be the live server
authenticate filewhat is the best way to detect this and defeat
   it?
Noone has ever gained access this way as of yet, but we are studying
possibilities, and this seems to me to be an attack vector.
   
   
   
Any thoughts?A check to see if the referrer was the domain
name/login file name?   Or can that be spoofed as well then?
   
   
   
Thanks~!
   

 

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


declare sql variables

2007-05-09 Thread Daniel Kessler
 How is a single variable going to help? If you were to use some
 variables based approach, you would need one variable for each row of
 the resultset, not one variable for the whole resultset.

I see.  I figured it would work the same as the middlename variable  
which has a middlename for each record.  I was trying to initialize  
middlename instead of doing it with the AS statement later.

 If you just want to make sure the middlename is not NULL you simply  
 need
 to expand your CASE statement:
 CASE
   WHEN o.mname is not null THEN o.fname
   WHEN a.a_mname is not null THEN a.a_mname
   ELSE ' '
 END as middlename

This works great.  I did try expanding the case statement, but  
clearly not well.  I'll be able to use this immediately in two other  
queries.
I truly appreciate the assistance.  Thank you.

-- 

Daniel Kessler

College of Health and Human Performance
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
Phone: 301-405-2545
http://hhp.umd.edu




~|
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:277410
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Creating a SOAP Web Service

2007-05-09 Thread Aaron Roberson
Hey Guys,

I am needing to create a SOAP web service that will be consumed by
PHP. I haven't created a web service before but from what I have
picked up all I have to do is change my CFC functions to remote and
include cfproperty tags, right?

Does anyone have any good reasources on creating web services,
specifically on conforming to the SOAP standard?

Thanks,
Aaron

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Separate DB for client vars?

2007-05-09 Thread Teddy R. Payne
I would recommend using client variables if you want to persist data that
needs to be saved even if your session dies.

If there is no consideration for persistent variables then session is a
great place.

On 5/9/07, Stewart Turnbull [EMAIL PROTECTED] wrote:

 The application was originally build prior to the release of CF5 and
 therefore we couldn't rely on setting these vars using cfcookie due to the
 issues with the cflocation tag. You're quite right though. I should look at
 using session variables to store this data.

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Add Together Values of Dyanamic Fields

2007-05-09 Thread Joel Watson
Okay, here's another for you.

I am (with your helpful suggestions) able to add together two dynamically named 
form fields.

Now, I need to get all of the values that have been added together, and add 
them together for one master total.

Ex.  I have N number of fields where mileageBegin and mileageEnd are added 
together to get the row total.  Now, I need to add all the row totals together 
to get the Master mileage for the week.

Here's what I'm using to get the row totals:

cfloop index=i from=1 to=#rowtotal#
cfoutput
function dosum#i#()
{
  document.frmTalent.mileageTotal#i#.value = 
floor(parseFloat(document.temps.mileageBegin#i#.value) + 
parseFloat(document.temps.mileageEnd#i#.value))

...

/cfoutput
/cfloop

Now I need to access every mileageTotal#i# field to get its subtotal so they 
can be added to get a Master total.

If these were static, this would be easy, but I'm stumped on what to do with N 
number of fields.

Ideas?

Thanks!


Without specifics, I can give you a general example:

Var objForm = document.forms[ 0 ];
Var objInput1 = objForm.elements[ dynamic_field_1 ]; 
Var objInput2 = objForm.elements[ dynamic_field_2 ];
Var objInput3 = objForm.elements[ dynamic_result ];

objInput3.value = (objInput1.value * 1) + (objInput2.value * 1);



Of course, there is no validation here. I have to *1 to make sure that
it KNOWS not to do string concatenation, but rather mathematical
addition.

Does that help?


.
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Joel Watson [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 04, 2007 10:39 AM
To: CF-Talk
Subject: Add Together Values of Dyanamic Fields

I have a form in which several of the fields are generated dynamically
based on the choice of the user.

I would like to be able to somehow grab the entered values of the fields
(client-side) and add them together into another field before the form
is submitted.  I realize that technically this is a client-side
question, but was hoping that someone might have run across/done this
before.

Thanks!

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277413
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 CFLock around a query

2007-05-09 Thread Ali Awan
Yes and no.
In one case, I found concurrent queries and I also found 2 sessions hitting the 
same table.
Did you find any concurrent queries?

For a deadlock you need at least two SQL sessions hitting the same object.



It is not unlikely this can deadlock, but to be certain we need to see 
the actual SQL.
This is the SQL
Update DMSdata Set PolicyNumber = '345627' where ID = '94631'

The strange thing is also, the second case, which was when we got the error, on 
a different day, on a different table, but we couldn't find 2 sessions that hit 
the table at the same time.  The query is similar, but the tablename is 
different and there are a lot more columns being updated.

Thanks for responding,
Ali

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


RE: Creating a SOAP Web Service

2007-05-09 Thread Ben Nadel
Aaron,

Not sure if this would be too helpful, but I, not so long ago, created
my first web service in ColdFusion:

http://www.bennadel.com/blog/430-My-First-ColdFusion-Web-Service.htm
OR: http://www.bennadel.com/index.cfm?dax=blog:430.view 

I ran into some interested hurdles and have some good links to other
pages. Because I use WSDL, I think it is SOAP compliant (but I am really
BS'ing at that point as I am very new to Web Services).


..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Aaron Roberson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 11:15 AM
To: CF-Talk
Subject: Creating a SOAP Web Service

Hey Guys,

I am needing to create a SOAP web service that will be consumed by PHP.
I haven't created a web service before but from what I have picked up
all I have to do is change my CFC functions to remote and include
cfproperty tags, right?

Does anyone have any good reasources on creating web services,
specifically on conforming to the SOAP standard?

Thanks,
Aaron

~|
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:277415
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Microsoft Runtime Components required for CF5

2007-05-09 Thread Kevin Roche
My CF5 development machine has died and I need to re-install it, so that I can 
make an update for a client.

The CF installation routine want somthing called Microsoft Runtime which is not 
present on the machine. Anyone know where I can get the required installation?


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread Aaron Roberson
 1) I make changes and submit the working code to SVN, later I rewrite anothe
 component then relise that the previous code I wrote worked better. So I can
 revision the changes to that file and revert back rather than recode from
 memory.

 2) I have an open source application, I have released V0.2 and rather than
 wait for all bugs to be found I start working on V0.3 but before I do that I
 branch the code. Now this allows me to continue working on V0.3 and anytime
 a bug is found in V0.2 I can switch back to it an fix the problem. Then I
 can submit back to that branch, now if this is also going to be a problem
 for V0.3 I can now merge that code with that version and switch back and
 continue on with V0.3

Where can I learn how to do the above. That is very cool stuff that I
have neglected heretofore.

-Aaron

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Digest Authentication woes

2007-05-09 Thread Paul Cormier
Does anyone have any success stories performing CF Server to remote HTTP Server 
Digest Authentication? I know it's not natively supported by the cfhttp tag. 
I also know the server I'm trying to connect to works and that I have proper 
credentials, as I can connect using a web browser. I even recorded all the 
communications exchanged during that session using FireFox's Live Headers  
Modify Headers add-on and duplicated the exchange exactly with cfhttp  
cfhttpparams, but I keep getting 401 Bad Request. Response did not match.

I was pretty careful duplicating the exchange as described in RFC 2617 HTTP 
Authentication: Basic and Digest Access Authentication

I couldn't get the CFX_HTTP5 custom tag to work either even though it does 
support Digest Authentication natively.

Any help/insight/experience/code would be appreciated.

Paul


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread John Paul Ashenfelter
On 5/9/07, Aaron Roberson [EMAIL PROTECTED] wrote:
  1) I make changes and submit the working code to SVN, later I rewrite anothe
  component then relise that the previous code I wrote worked better. So I can
  revision the changes to that file and revert back rather than recode from
  memory.
 
  2) I have an open source application, I have released V0.2 and rather than
  wait for all bugs to be found I start working on V0.3 but before I do that I
  branch the code. Now this allows me to continue working on V0.3 and anytime
  a bug is found in V0.2 I can switch back to it an fix the problem. Then I
  can submit back to that branch, now if this is also going to be a problem
  for V0.3 I can now merge that code with that version and switch back and
  continue on with V0.3

 Where can I learn how to do the above. That is very cool stuff that I
 have neglected heretofore.

At the risk of self-promotion, you could check out my class at
CFUnited, which is covering SVN, Ant, and a host of other related
technologies for getting started with development best practices.

http://www.teratech.com/go/classdetails?trainingaction=detailTID=274

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Error,jrpp-3 - Any ideas?

2007-05-09 Thread Tom Chiverton
On Wednesday 09 May 2007, Jim H wrote:
 Would a uninstall remove the changes?  I am not sure where to find the
 changes. -JH

Yeah, guess so.

-- 
Tom Chiverton
Helping to efficiently target one-to-one schemas
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: defeating offline form posts

2007-05-09 Thread Tom Chiverton
On Wednesday 09 May 2007, Ken Wexel wrote:
 seems like it would be a lot of work to create the session,
 load the form, save the form locally, change the post path, spoof the
 session, etc. just to post it from somewhere else once.  

Depends on your threat profile.
It only takes a geek an hour or so to automate the process and then distribute 
the Perl... :-)

-- 
Tom Chiverton
Helping to apprehensively brand integrated experiences
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
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:277421
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread Aaron Roberson
Thanks John, but I highly doubt my employer will send me to CFUnited
(and I surely can't afford it). I would like to be walked through the
process though. While it may be simple and straight forward for those
who do it, I don't even know where to start at this point.

-Aaron

On 5/9/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote:
 On 5/9/07, Aaron Roberson [EMAIL PROTECTED] wrote:
   1) I make changes and submit the working code to SVN, later I rewrite 
   anothe
   component then relise that the previous code I wrote worked better. So I 
   can
   revision the changes to that file and revert back rather than recode from
   memory.
  
   2) I have an open source application, I have released V0.2 and rather than
   wait for all bugs to be found I start working on V0.3 but before I do 
   that I
   branch the code. Now this allows me to continue working on V0.3 and 
   anytime
   a bug is found in V0.2 I can switch back to it an fix the problem. Then I
   can submit back to that branch, now if this is also going to be a problem
   for V0.3 I can now merge that code with that version and switch back and
   continue on with V0.3
 
  Where can I learn how to do the above. That is very cool stuff that I
  have neglected heretofore.

 At the risk of self-promotion, you could check out my class at
 CFUnited, which is covering SVN, Ant, and a host of other related
 technologies for getting started with development best practices.

 http://www.teratech.com/go/classdetails?trainingaction=detailTID=274

 --
 John Paul Ashenfelter
 CTO/Transitionpoint
 (blog) http://www.ashenfelter.com
 (email) [EMAIL PROTECTED]

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Importing XML data in SQL Server 2000 need ColdFusion?

2007-05-09 Thread coldfusion . developer
I'm reading that there are many different ways to import data into a SQL Server 
database.
I want to set up something that will allow a partner outside our company to be 
able to upload
contest entries along with image files and have it all imported into a SQL 
Server table. 

Any one have adive or know of any good articles that discuss this, show 
examples?

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


RE: Microsoft Runtime Components required for CF5

2007-05-09 Thread Robertson-Ravo, Neil (RX)
You will not doubt be after the Microsoft Visual C++ Run Time Library
(debugging components).  Which OS are you on?  

It is usually on the OS CD - such as NT4.







-Original Message-
From: Kevin Roche [mailto:[EMAIL PROTECTED] 
Sent: 09 May 2007 16:18
To: CF-Talk
Subject: Microsoft Runtime Components required for CF5

My CF5 development machine has died and I need to re-install it, so that I
can make an update for a client.

The CF installation routine want somthing called Microsoft Runtime which is
not present on the machine. Anyone know where I can get the required
installation?




~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Importing XML data in SQL Server 2000 need ColdFusion?

2007-05-09 Thread Will Tomlinson
Just found this. Maybe would do the trick?

http://www.perfectxml.com/articles/xml/importxmlsql.asp

Will

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread Aaron Roberson
I have been using (CF)Eclipse for a while now and I am really
beginning to doubt the benefits of it over DW. Here are the things I
do like about (CF)Eclipse:

1) It has never stalled or frozen on startup or at any other point of time
2) I love the Outline and Methods views (and it doesn't stall when
drilling down into them)
3) The TODO thing is sweet!
4) Code collapse by default and entirely configurable is much better
than DW code collapse
5) The new Frameworks view is sweet!
6) It really brings the word integrated out of IDE with the ability
to install multiple plugins for A-Z

I can't think of anything else.

However, I couldn't even begin to make a list of all the things I love
about DW, it has so many capabilities. For me, DW would nearly be
complete if somebody like Mossimo Foti and/or Danilo Celic (or ADOBE!)
created the following:

1) Outline and Methods Views that mimicked CFEclipse (the DW
components view stalls nearly everytime as it tries to do too much by
listing every component in the project and provide a drill down of its
methods).
2) A TODO thing
3) Code collapse support like CFEclipse
4) A Frameworks view
5) SVN
6) ANT

Since there is not way for DW to become as integrated as Eclipse,
however, I really think that Adobe should build DW as an Eclipse
plugin and port all of it's many features to the Eclipse platform.
That, my friends, would really be sweet! Should we start a petition to
that affect and deliver to Adobe?

-Aaron

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Multi-Language Site

2007-05-09 Thread Jon Clausen
Bruce,

I have a client site that  provides online learning internationally  
with clients from different countries and Languages such as Japanese,  
Arabic, French, Spanish and more.  The same core model layer serves  
the international portal, US portal, and allows for translation of  
the entire site text into any language.

Here's some of the basics:

On session start a setLanguage() function is run which does the  
following:

1) Sets the language locale variable which is cross referenced to the  
#server.coldfusion.supportedlocales#.  This allows you to use  
Coldfusion internationalization for dates/currency formatting.

2) Sets a language prefix like en or jp based on the locale  
setting.  This is used to serve different javascript or help files as  
necessary   (i.e. - /js/common.en.js or /js/common.jp.js);

3) If the language isn't currently in use, it creates the cache  
structure to store the language data.I've used structures and  
arrays for the container in the Application scope which pulls the  
cached strings, but ultimately settled on a Query object and use QoQ  
to pull from the cache. The reason for the QoQ is case sensitivity.
Even though there's a bit more overhead, if the site is any size, you  
will inevitably find yourself translating the same string in  
different ways for presentation purposes.

A translate() function is scoped to the request which allows site- 
wide access the function.  Translation content is pulled from the  
database (or XML) and the result is cached in the query object which  
is used on subsequent requests for the same string.Since this  
particular site has around 50 different international sites pointing  
to it, there is also a function which runs and clears the cached  
languages after an interval in case there are cached languages taking  
up memory which are not being actively used.

Lastly, since the content is always changing, the translation  
function also creates a string in draft status when it encounters  
text that hasn't yet been translated.  It then caches and returns the  
original string in order to skip evaluation for future requests.  The  
client can then edit the draft translations at their convenience and  
flush the cache when they publish the string live.

HTH,

Jon

On May 9, 2007, at 8:23 AM, Bruce Sorge wrote:

 I have a new site I am working on that is going to be multi-lingual  
 (Spanish
 and English). Has anyone done this before and if so, what are some  
 best
 approaches? It is of course database driven, and it is a model (not  
 nude)
 site. What are some of the challenges I may face?



 Thanks,



 Bruce


~|
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:277427
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: AJAX - The easiest way possible. Spry?

2007-05-09 Thread Aaron Roberson
I find prototype to be really straight forward, and scriptaculous even
easier if you want to apply some effects to your prototype events.

-Aaron

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Importing XML data in SQL Server 2000 need ColdFusion?

2007-05-09 Thread coldfusion . developer
Just found this. Maybe would do the trick?

http://www.perfectxml.com/articles/xml/importxmlsql.asp

Will

I don't have Microsoft Visual Basic or Visual Studio .NET.  Don't know Visual 
Basic or VBScript. Can I do it with ColdFusion or some wizard in SQL Server?

~|
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:277429
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Lack of CF understanding: Info Week

2007-05-09 Thread Eric J. Hoffman
I was only peeved regarding the talk of the platform CF runs on, as in it only 
runs with x,y,z.  It does more than on IIS and SQL!! : )

What you said beyond that, absolutely!!






Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4101
mob: 651.245.2717
Adobe Solutions Partner
Microsoft Certified Partner



This message contains confidential information and is intended only for [EMAIL 
PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, 
distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by 
e-mail if you have received this e-mail by mistake and delete this e-mail from 
your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does 
not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.


-Original Message-

From: Sean Corfield [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 2:07 AM
To: CF-Talk
Subject: Re: Lack of CF understanding: Info Week

On 5/5/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 Not to add to the hornet's nestwell, okay maybe, but back to the
 issues we deal with in perceptions with CF.  This time not price, just a
 pure lack of focus on what the CF platform can do from a review of a
 site that moved from a mixed bag of CF and .Net to Java after
 acquisitions:

The article singles out TripHomes mostly for the reliance on MS tech
that has caused problems. What they want is to move away from MS tech.
It's unfortunate they mention CF is somewhat unflattering terms but
most of the criticism is (rightly) aimed at MS tech.

hidden disadvantage of the .Net approach is that the resulting Web
site is harder to manage

It's more difficult to scale .Net, it's harder to monitor in a
large-scale deployment, Buhrdorf says. Java can scale up on small
Linux servers, and you get better insight into the production
environment.

The comments about the CF app's architecture were not aimed at CF but
at the architecture:

The old TripHomes site had stored its home images, data, and
programming logic in the form of stored procedures in the database on
a single disk drive, giving us a single point of failure,

And, indeed, that was extremely bad practice. CF is based on Java -
the tech that they like!

There's really nothing critical of CF here, just criticism of bad practices.

Moral: write better programs in CF and CF will get less criticism...
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood



~|
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:277430
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Creating a SOAP Web Service

2007-05-09 Thread Aaron Roberson
Thanks Ben! It is nice to know that I'm not the only one who is not
very versed in web services and SOAP. I will check out those posts.

-Aaron

On 5/9/07, Ben Nadel [EMAIL PROTECTED] wrote:
 Aaron,

 Not sure if this would be too helpful, but I, not so long ago, created
 my first web service in ColdFusion:

 http://www.bennadel.com/blog/430-My-First-ColdFusion-Web-Service.htm
 OR: http://www.bennadel.com/index.cfm?dax=blog:430.view

 I ran into some interested hurdles and have some good links to other
 pages. Because I use WSDL, I think it is SOAP compliant (but I am really
 BS'ing at that point as I am very new to Web Services).


 ..
 Ben Nadel
 Certified Advanced ColdFusion MX7 Developer
 www.bennadel.com

 Need ColdFusion Help?
 www.bennadel.com/ask-ben/

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


RE: defeating offline form posts

2007-05-09 Thread Eric J. Hoffman
Well, an automated process where they create spam accounts into the system?   
We could use CAPTCHA maybe, but a lot of users hate that.   I was wondering if 
there was a good practice to additionally nail them in advance of captcha use, 
but maybe not...?






Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4101
mob: 651.245.2717
Adobe Solutions Partner
Microsoft Certified Partner



This message contains confidential information and is intended only for [EMAIL 
PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, 
distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by 
e-mail if you have received this e-mail by mistake and delete this e-mail from 
your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does 
not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.


-Original Message-

From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 5:05 AM
To: CF-Talk
Subject: Re: defeating offline form posts

Eric J. Hoffman wrote:
 Curious question here.   If I think about this, if someone takes a form
 of ours for login, for example, and makes a local copy on their
 machineand they set the post action to be the live server
 authenticate filewhat is the best way to detect this and defeat it?

Why do you care?

Jochem



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Microsoft Runtime Components required for CF5

2007-05-09 Thread Kevin Roche
You will not doubt be after the Microsoft Visual C++ Run Time Library
(debugging components).  Which OS are you on?  

It is usually on the OS CD - such as NT4.

Windows 2000 server - Can't see it on the CD.

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


RE: Creating a SOAP Web Service

2007-05-09 Thread Ben Nadel
No problem. You also might want to look at this:

http://www.bennadel.com/blog/494-Stripping-XML-Name-Spaces-And-Node-Pref
ixes-From-ColdFusion-XML-Data-To-Simplify-XPath-.htm
Or: http://bennadel.com/index.cfm?dax=blog:494.view

If you are going to be getting back SOAP data, then it might have name
spaces in the XML tag names. This drives me crazy and I cannot find a
comfortable solution to it. The above post talks about stripping out the
name spaces before converting the request header data into XML for
searching / manipulation.

I get flack for it, but again, I am new to the web service world.


..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Aaron Roberson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 12:13 PM
To: CF-Talk
Subject: Re: Creating a SOAP Web Service

Thanks Ben! It is nice to know that I'm not the only one who is not very
versed in web services and SOAP. I will check out those posts.

-Aaron

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Frameworks view in CFEclipse

2007-05-09 Thread Robertson-Ravo, Neil (RX)
How on earth do you activate it? I have 1.3.1.3 installed but I can't see
it anywhere?

Any pointers here? I have been happily using CFEclipse for years now and
never had a problem with updates etc..



This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com


~|
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:277435
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: defeating offline form posts

2007-05-09 Thread Dave Watts
 Curious question here.   If I think about this, if someone 
 takes a form of ours for login, for example, and makes a local 
 copy on their machineand they set the post action to be the 
 live server authenticate filewhat is the best way to detect 
 this and defeat it? Noone has ever gained access this way as of 
 yet, but we are studying possibilities, and this seems to me to 
 be an attack vector.

Echoing Jochem, why do you care? It's no more an attack vector than allowing
public access to the form itself.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread Matt Williams
On 5/9/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote:
 On 5/9/07, Aaron Roberson [EMAIL PROTECTED] wrote:
  Where can I learn how to do the above. That is very cool stuff that I
  have neglected heretofore.

 At the risk of self-promotion, you could check out my class at
 CFUnited, which is covering SVN, Ant, and a host of other related
 technologies for getting started with development best practices.

 http://www.teratech.com/go/classdetails?trainingaction=detailTID=274


Aaron, I understand not being able to make it to CFUnited. And because
John Paul is humble, I will also mention that he is available for
consulting on these types of issues. Getting yourself setup with
subversion correctly is money well spent. I have worked with John and
can vouch for his level of expertise in this matter.

With that said, if you want to go the poor man's route, you can do so.
It just requires a bit more effort and time on your part. Here are
some resources to get you started:
A pretty good blog entry about the concept of version control in a CF
environment:
http://www.ryanguill.com/blog/?mode=entryentry=897E322E-40CA-6D1C-8A4C3B3FE67B7FD9

Free online book about subversion (the manual):
http://svnbook.red-bean.com/

Googling subversion and coldfusion turns up quite a bit of useful
links, including this one:
http://www.robgonda.com/blog/index.cfm/2005/7/7/Subversion-up-and-running-in-30-minutes-or-less

Just a note as I'm not sure if it has been made clear. To use source
control, such as subversion, you do not have to use Eclipse. You
should use source control even if you stick with Dreamweaver. In
either case you need a client program to interact with the
subversion server. Subclipse is a way to do it directly in Eclipse.
Tortoise seems to be the most popular way outside of eclipse. It
simply provides right-click context menus on any directory that is
part of a source control repository.

Hope that helps.

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

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


RE: Microsoft Runtime Components required for CF5

2007-05-09 Thread Dave Watts
 My CF5 development machine has died and I need to re-install 
 it, so that I can make an update for a client.
 
 The CF installation routine want somthing called Microsoft 
 Runtime which is not present on the machine. Anyone know 
 where I can get the required installation?

http://support.microsoft.com/kb/259403

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


RE: Creating a SOAP Web Service

2007-05-09 Thread Robert Rawlins - Think Blue
Hey Ben,

Just having a quick read through your article, great work. I'm interested by 
the opening section though that discusses the problems of app.cfc and it 
blocking web services. I publish several web services from my application which 
is running a standard app.cfc and they are consumed fine from lots of CF and 
non CF applications.

Am I missing something? Or is it only when using the web service in a 
particular way that I'm likely to have problems?

Rob

-Original Message-
From: Aaron Roberson [mailto:[EMAIL PROTECTED] 
Sent: 09 May 2007 17:13
To: CF-Talk
Subject: Re: Creating a SOAP Web Service

Thanks Ben! It is nice to know that I'm not the only one who is not
very versed in web services and SOAP. I will check out those posts.

-Aaron

On 5/9/07, Ben Nadel [EMAIL PROTECTED] wrote:
 Aaron,

 Not sure if this would be too helpful, but I, not so long ago, created
 my first web service in ColdFusion:

 http://www.bennadel.com/blog/430-My-First-ColdFusion-Web-Service.htm
 OR: http://www.bennadel.com/index.cfm?dax=blog:430.view

 I ran into some interested hurdles and have some good links to other
 pages. Because I use WSDL, I think it is SOAP compliant (but I am really
 BS'ing at that point as I am very new to Web Services).


 ..
 Ben Nadel
 Certified Advanced ColdFusion MX7 Developer
 www.bennadel.com

 Need ColdFusion Help?
 www.bennadel.com/ask-ben/



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Scorpio

2007-05-09 Thread Brad Wood
Forta was at the Kansas City user group last night and I would just like
to say I am so happy to hear that CFCs (and XML documents) will
serialize properly in CF 8 and replicate between shared sessions!

 

Woohoo!

 

~Brad



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


RE: Creating a SOAP Web Service

2007-05-09 Thread Ben Nadel
Are your web services being called on the CFC's directly? It is a SOAP
or REST service? Are you using OnRequest() event method. 

I think this exception only needs to be handles when OnRequest() is
being used in conjunction with WSDL soap stuff. Other scenarios will not
be affects. But again, that was my first web service, so I might have
bad information :) 


..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Robert Rawlins - Think Blue
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 12:25 PM
To: CF-Talk
Subject: RE: Creating a SOAP Web Service

Hey Ben,

Just having a quick read through your article, great work. I'm
interested by the opening section though that discusses the problems of
app.cfc and it blocking web services. I publish several web services
from my application which is running a standard app.cfc and they are
consumed fine from lots of CF and non CF applications.

Am I missing something? Or is it only when using the web service in a
particular way that I'm likely to have problems?

Rob

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Frameworks view in CFEclipse

2007-05-09 Thread Charlie Griefer
Window - Show View - Other - CFML Frameworks - CFML Frameworks Explorer.

?

On 5/9/07, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 How on earth do you activate it? I have 1.3.1.3 installed but I can't see
 it anywhere?

 Any pointers here? I have been happily using CFEclipse for years now and
 never had a problem with updates etc..



 This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
 Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
 Registered in England, Number 678540.  It contains information which is
 confidential and may also be privileged.  It is for the exclusive use of the
 intended recipient(s).  If you are not the intended recipient(s) please note
 that any form of distribution, copying or use of this communication or the
 information in it is strictly prohibited and may be unlawful.  If you have
 received this communication in error please return it to the sender or call
 our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
 communication are not necessarily those expressed by Reed Exhibitions.
 Visit our website at http://www.reedexpo.com


 

~|
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:277442
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: defeating offline form posts

2007-05-09 Thread Ken Wexel
True...it's all relatively relative I supposed :)



On 5/9/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Wednesday 09 May 2007, Ken Wexel wrote:
  seems like it would be a lot of work to create the session,
  load the form, save the form locally, change the post path, spoof the
  session, etc. just to post it from somewhere else once.

 Depends on your threat profile.
 It only takes a geek an hour or so to automate the process and then distribute
 the Perl... :-)

 --
 Tom Chiverton
 Helping to apprehensively brand integrated experiences
 on: http://thefalken.livejournal.com

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 St James's Court Brown Street Manchester M2 2JF.  A list of members is 
 available for inspection at the registered office. Any reference to a partner 
 in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by 
 the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged.  If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents.  If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.


 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Frameworks view in CFEclipse

2007-05-09 Thread Mark Drew
Also there is an update to CFEclipse for the view to work, so you need
to update CFEclipse too.

MD

On 5/9/07, Charlie Griefer [EMAIL PROTECTED] wrote:
 Window - Show View - Other - CFML Frameworks - CFML Frameworks Explorer.

 ?

 On 5/9/07, Robertson-Ravo, Neil (RX)
 [EMAIL PROTECTED] wrote:
  How on earth do you activate it? I have 1.3.1.3 installed but I can't see
  it anywhere?
 
  Any pointers here? I have been happily using CFEclipse for years now and
  never had a problem with updates etc..
 
 
 
  This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
  Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
  Registered in England, Number 678540.  It contains information which is
  confidential and may also be privileged.  It is for the exclusive use of the
  intended recipient(s).  If you are not the intended recipient(s) please note
  that any form of distribution, copying or use of this communication or the
  information in it is strictly prohibited and may be unlawful.  If you have
  received this communication in error please return it to the sender or call
  our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
  communication are not necessarily those expressed by Reed Exhibitions.
  Visit our website at http://www.reedexpo.com
 
 
 

 

~|
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:277444
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread Andy Matthews
I'll throw this out there.

Aaron West (my boss and the Nashville CFUG group leader) has a 5 part walk
through on how to set up SVN, Subversion and all that jazz.

Starts here:
http://www.trajiklyhip.com/blog/index.cfm/2007/3/12/Configuring-a-Developmen
t-Environment-with-Apache-Subversion-TortoiseSVN-and-Subclipse 

-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 11:28 AM
To: CF-Talk
Subject: Re: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W
AS (RE: Frameworks)

On 5/9/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote:
 On 5/9/07, Aaron Roberson [EMAIL PROTECTED] wrote:
  Where can I learn how to do the above. That is very cool stuff that 
  I have neglected heretofore.

 At the risk of self-promotion, you could check out my class at 
 CFUnited, which is covering SVN, Ant, and a host of other related 
 technologies for getting started with development best practices.

 http://www.teratech.com/go/classdetails?trainingaction=detailTID=274


Aaron, I understand not being able to make it to CFUnited. And because John
Paul is humble, I will also mention that he is available for consulting on
these types of issues. Getting yourself setup with subversion correctly is
money well spent. I have worked with John and can vouch for his level of
expertise in this matter.

With that said, if you want to go the poor man's route, you can do so.
It just requires a bit more effort and time on your part. Here are some
resources to get you started:
A pretty good blog entry about the concept of version control in a CF
environment:
http://www.ryanguill.com/blog/?mode=entryentry=897E322E-40CA-6D1C-8A4C3B3FE
67B7FD9

Free online book about subversion (the manual):
http://svnbook.red-bean.com/

Googling subversion and coldfusion turns up quite a bit of useful links,
including this one:
http://www.robgonda.com/blog/index.cfm/2005/7/7/Subversion-up-and-running-in
-30-minutes-or-less

Just a note as I'm not sure if it has been made clear. To use source
control, such as subversion, you do not have to use Eclipse. You should use
source control even if you stick with Dreamweaver. In either case you need a
client program to interact with the subversion server. Subclipse is a way
to do it directly in Eclipse.
Tortoise seems to be the most popular way outside of eclipse. It simply
provides right-click context menus on any directory that is part of a source
control repository.

Hope that helps.

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



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


RE: Scorpio

2007-05-09 Thread Andy Matthews
Ben's going to be in Nashville TONIGHT!!! Just a few hours away! 

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 11:31 AM
To: CF-Talk
Subject: Scorpio

Forta was at the Kansas City user group last night and I would just like to
say I am so happy to hear that CFCs (and XML documents) will serialize
properly in CF 8 and replicate between shared sessions!

 

Woohoo!

 

~Brad





~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: AJAX - The easiest way possible. Spry?

2007-05-09 Thread Will Tomlinson
Will,


One big gotcha with Spry, is it does not create unobtrusive JavaScript and
will require you to write HTML that doesn't validate. It's just something to
be aware of these are issues for you.

-Dan

thanks dan!


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Multi-Language Site

2007-05-09 Thread Paul Hastings
Jon Clausen wrote:
 1) Sets the language locale variable which is cross referenced to the  
 #server.coldfusion.supportedlocales#.  This allows you to use  
 Coldfusion internationalization for dates/currency formatting.

you have to be careful with this. cf relies on core java for it's locale 
resource data which is often out-to-lunch (recent case in point, core java up 
to 
version 6 flubs en_Au  en_NZ time formats, there are gobs  gobs of other 
problems--the devil *is* in the details). you need to test your supported 
locale's data in core java versus something more standard like the CLDR 
project www.unicode.org/cldr/ then decide your approach (native cf i18n bits 
which are easier to use  a bit faster vs something like icu4j which runs off 
the CLDR data  has other goodies like non-gregorian calendars).

 particular site has around 50 different international sites pointing  

which really argues for the more traditional approach of resource bundles  
their ecosystem. i would hate to manage something this complex w/notepad or 
it's 
equivalent.

~|
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:277448
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Getting first day of week (as date) from week() function?

2007-05-09 Thread Pete Ruckelshaus
I'm building an app where I am keeping track of sales on a weekly basis, so
I am storing the number of the week (as a tinyint) and the year (as a
smallint).  Now there is a requirement to generate a report where the date
of the first day of the week (i.e. 5/13/2007 being the date fo the first day
of week 20 of 2007).  While I can certainly rebuild this portion of the app,
I would prefer not to.  Any ideas on how to convert a week/year into the
first date of week/month/year format using either MS SQL Server of CF7?

Thanks

Pete


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Frameworks view in CFEclipse

2007-05-09 Thread Andrew Scott
Doesn't work for me here, I get all sort of errors when I try to use it.

I even went to the trouble of removing cfeclipse and d/loading it again but
no matter how hard I try the org.cfeclispe.feature always errors and the
cfmappings in the preferences throws errors as well.



On 5/10/07, Mark Drew [EMAIL PROTECTED] wrote:

 Also there is an update to CFEclipse for the view to work, so you need
 to update CFEclipse too.

 MD

 On 5/9/07, Charlie Griefer [EMAIL PROTECTED] wrote:
  Window - Show View - Other - CFML Frameworks - CFML Frameworks
 Explorer.
 
  ?
 
  On 5/9/07, Robertson-Ravo, Neil (RX)
  [EMAIL PROTECTED] wrote:
   How on earth do you activate it? I have 1.3.1.3 installed but I
 can't see
   it anywhere?
  
   Any pointers here? I have been happily using CFEclipse for years now
 and
   never had a problem with updates etc..
  
  
  
   This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
   Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed
 Business,
   Registered in England, Number 678540.  It contains information which
 is
   confidential and may also be privileged.  It is for the exclusive use
 of the
   intended recipient(s).  If you are not the intended recipient(s)
 please note
   that any form of distribution, copying or use of this communication or
 the
   information in it is strictly prohibited and may be unlawful.  If you
 have
   received this communication in error please return it to the sender or
 call
   our switchboard on +44 (0) 20 89107910.  The opinions expressed within
 this
   communication are not necessarily those expressed by Reed
 Exhibitions.
   Visit our website at http://www.reedexpo.com
  
  
  
 
 

 

~|
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:277450
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Scorpio

2007-05-09 Thread Christopher Jordan
That's sweet Andy! If you've never heard him talk, you're in for a 
treat! When he came her to Dallas was the first time I'd heard him, and 
I could have listened (and asked questions) all night! As it is we were 
there for three hours, and I don't think anyone wanted him to stop! :o)

Have a good time!
Chris

Andy Matthews wrote:
 Ben's going to be in Nashville TONIGHT!!! Just a few hours away! 

 -Original Message-
 From: Brad Wood [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, May 09, 2007 11:31 AM
 To: CF-Talk
 Subject: Scorpio

 Forta was at the Kansas City user group last night and I would just like to
 say I am so happy to hear that CFCs (and XML documents) will serialize
 properly in CF 8 and replicate between shared sessions!

  

 Woohoo!

  

 ~Brad





 

~|
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:277451
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Multi-Language Site

2007-05-09 Thread Paul Hastings
Paul Vernon wrote:
 looking at things like Thai (the most complex AFAIK)...

i would actually say arabic, hebrew or farsi are harder to deal with than thai. 
RTL layout, images, flash problems, non-gregorian calendars (3 different 
calendars involved, boatload of subtle things to worry about), etc.

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread Andrew Scott
Aaron,

The SVN manual is a good place to start, but it isn't that hard to
understand as long as you follow the SVN recommended structure of

/projectname
/projectname/trunk
/projectname/branches/
/projectname/tags

then using eclipse to make it easier for you, get a plugin like subversive
and use the team-switch to then select the branch you wish to switch too.
I'll be happy to answer any other questions too.



On 5/10/07, Aaron Roberson [EMAIL PROTECTED] wrote:

  1) I make changes and submit the working code to SVN, later I rewrite
 anothe
  component then relise that the previous code I wrote worked better. So I
 can
  revision the changes to that file and revert back rather than recode
 from
  memory.
 
  2) I have an open source application, I have released V0.2 and rather
 than
  wait for all bugs to be found I start working on V0.3 but before I do
 that I
  branch the code. Now this allows me to continue working on V0.3 and
 anytime
  a bug is found in V0.2 I can switch back to it an fix the problem. Then
 I
  can submit back to that branch, now if this is also going to be a
 problem
  for V0.3 I can now merge that code with that version and switch back and
  continue on with V0.3

 Where can I learn how to do the above. That is very cool stuff that I
 have neglected heretofore.

 -Aaron

 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Scorpio

2007-05-09 Thread Robertson-Ravo, Neil (RX)
Tell me you don't have a picture of him in your wallet.?








:-)








This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Christopher Jordan
To: CF-Talk
Sent: Wed May 09 17:55:00 2007
Subject: Re: Scorpio

That's sweet Andy! If you've never heard him talk, you're in for a 
treat! When he came her to Dallas was the first time I'd heard him, and 
I could have listened (and asked questions) all night! As it is we were 
there for three hours, and I don't think anyone wanted him to stop! :o)

Have a good time!
Chris

Andy Matthews wrote:
 Ben's going to be in Nashville TONIGHT!!! Just a few hours away! 

 -Original Message-
 From: Brad Wood [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, May 09, 2007 11:31 AM
 To: CF-Talk
 Subject: Scorpio

 Forta was at the Kansas City user group last night and I would just like
to
 say I am so happy to hear that CFCs (and XML documents) will serialize
 properly in CF 8 and replicate between shared sessions!

  

 Woohoo!

  

 ~Brad





 



~|
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:277454
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread Damien McKenna
Two things to keep in mind with SVN:

* Branches and tags are just normal directories within the repository,
it's just a convention to treat them differently.  Some software works
within this convention, others don't care.

* You can set up multiple, separate repositories in one directory, e.g.
D:\SVNData has all the repositories so you have
D:\SVNData\mainwebsite, D:\SVNData\greenshiney, etc.  Then just tell
the SVN service to use the D:\SVNData directory as the repository root
and reference your projects as e.g. svn://servername/greenshiney/trunk,
etc; ditto for the Apache module, there's a configuration option to tell
it what the repository parent directory is.


Damien McKenna
Web Developer

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


RE: Scorpio

2007-05-09 Thread Brad Wood
I have one thing to say:
ColdFusion Scorpio Flavored MM's

~Brad

Andy Matthews wrote:
 Ben's going to be in Nashville TONIGHT!!! Just a few hours away! 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Multi-Language Site

2007-05-09 Thread Paul Hastings
Bruce Sorge wrote:
 I have a new site I am working on that is going to be multi-lingual (Spanish
 and English). Has anyone done this before and if so, what are some best
 approaches? It is of course database driven, and it is a model (not nude)
 site. What are some of the challenges I may face? 

well you can start by reading the chapter on globalization in ben's advanced cf 
book. but in general:

i would design  build the site as if these weren't the only languages 
involved, 
you *will* be asked sooner or later to add more. what that means is simply to 
stick w/cf's default encoding  just use unicode  keep in mind that not 
everyone uses gregorian calendars (be prepared to swap calendars).

do you need to handle timezones? if so you either need to set your cf server to 
UTC or store your dates as java epoch offsets rather than datetime objects 
(which cf will toss your dates into the server's tz no matter what you 
intended).

i'd also look at what locales you need to handle, english  spanish aren't 
the same everywhere. you should actually be thinking in terms of locales rather 
than languages (though you can get away w/en  es as locales).

who will be doing the translations? you'll need to manage these, which is why i 
will always recommend using resource bundles (rb)  some rb tool (jason sheedy 
just released a pretty nifty flex based one a couple of days ago, we've been 
using icu4j rbManager since forever).


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


RE: Scorpio

2007-05-09 Thread Andy Matthews
Shhh..

They're close doncha know. 

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 12:00 PM
To: CF-Talk
Subject: Re: Scorpio

Tell me you don't have a picture of him in your wallet.?

:-)

-Original Message-
From: Christopher Jordan
To: CF-Talk
Sent: Wed May 09 17:55:00 2007
Subject: Re: Scorpio

That's sweet Andy! If you've never heard him talk, you're in for a treat!
When he came her to Dallas was the first time I'd heard him, and I could
have listened (and asked questions) all night! As it is we were there for
three hours, and I don't think anyone wanted him to stop! :o)

Have a good time!
Chris



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Scorpio

2007-05-09 Thread Christopher Jordan
Ahem...of course not... what kind of screw ball do you take me for?  :-)

Robertson-Ravo, Neil (RX) wrote:
 Tell me you don't have a picture of him in your wallet.?








 :-)








 This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
 Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
 Registered in England, Number 678540.  It contains information which is
 confidential and may also be privileged.  It is for the exclusive use of the
 intended recipient(s).  If you are not the intended recipient(s) please note
 that any form of distribution, copying or use of this communication or the
 information in it is strictly prohibited and may be unlawful.  If you have
 received this communication in error please return it to the sender or call
 our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
 communication are not necessarily those expressed by Reed Exhibitions. 
 Visit our website at http://www.reedexpo.com

 -Original Message-
 From: Christopher Jordan
 To: CF-Talk
 Sent: Wed May 09 17:55:00 2007
 Subject: Re: Scorpio

 That's sweet Andy! If you've never heard him talk, you're in for a 
 treat! When he came here to Dallas was the first time I'd heard him, and 
 I could have listened (and asked questions) all night! As it is we were 
 there for three hours, and I don't think anyone wanted him to stop! :o)

 Have a good time!
 Chris

 Andy Matthews wrote:
   
 Ben's going to be in Nashville TONIGHT!!! Just a few hours away! 

 -Original Message-
 From: Brad Wood [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, May 09, 2007 11:31 AM
 To: CF-Talk
 Subject: Scorpio

 Forta was at the Kansas City user group last night and I would just like
 
 to
   
 say I am so happy to hear that CFCs (and XML documents) will serialize
 properly in CF 8 and replicate between shared sessions!

  

 Woohoo!

  

 ~Brad






 



 

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread Andrew Scott
Yeah thats where reading the manual will help...

BTW, I blogged this entry the other day and for those who want to see
versions of code without using SVN try this.

http://www.andyscott.id.au/index.cfm/2007/5/9/Eclipse-hidden-gem



On 5/10/07, Damien McKenna [EMAIL PROTECTED] wrote:

 Two things to keep in mind with SVN:

 * Branches and tags are just normal directories within the repository,
 it's just a convention to treat them differently.  Some software works
 within this convention, others don't care.

 * You can set up multiple, separate repositories in one directory, e.g.
 D:\SVNData has all the repositories so you have
 D:\SVNData\mainwebsite, D:\SVNData\greenshiney, etc.  Then just tell
 the SVN service to use the D:\SVNData directory as the repository root
 and reference your projects as e.g. svn://servername/greenshiney/trunk,
 etc; ditto for the Apache module, there's a configuration option to tell
 it what the repository parent directory is.


 Damien McKenna
 Web Developer

 

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Getting first day of week (as date) from week() function?

2007-05-09 Thread Teddy R. Payne
Something like this may help you:

cfset tDate = createDate(2007,5,13) !--- Beginning Date ---

cfset dow = dayOfWeek(tDate) !--- Day of Week : 1 = Sunday, 7 = Saturday
---

cfset dowStr = 

cfswitch expression=#dow#
cfcase value=1cfset dowStr = First/cfcase
cfcase value=2cfset dowStr = Second/cfcase
cfcase value=3cfset dowStr = Third/cfcase
cfcase value=4cfset dowStr = Fourth/cfcase
cfcase value=5cfset dowStr = Fifth/cfcase
cfcase value=6cfset dowStr = Sixth/cfcase
cfcase value=7cfset dowStr = Seventh/cfcase
/cfswitch

cfset woy = week(tDate) !--- Week of Year ---

cfset yr = year(tDate) !--- Year ---

cfoutput
#dowStr# day of week #woy# #yr#
/cfoutput

Your could easily make the cfswitch statement into a UDF called something
like DayOfWeekOrder.

On 5/9/07, Pete Ruckelshaus [EMAIL PROTECTED] wrote:

 I'm building an app where I am keeping track of sales on a weekly basis,
 so
 I am storing the number of the week (as a tinyint) and the year (as a
 smallint).  Now there is a requirement to generate a report where the date
 of the first day of the week (i.e. 5/13/2007 being the date fo the first
 day
 of week 20 of 2007).  While I can certainly rebuild this portion of the
 app,
 I would prefer not to.  Any ideas on how to convert a week/year into the
 first date of week/month/year format using either MS SQL Server of CF7?

 Thanks

 Pete


 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Scorpio

2007-05-09 Thread M
 Tell me you don't have a picture of him in your wallet.?


Are you trying to imply that this is not normal behavior?   :-P


~|
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:277462
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Getting first day of week (as date) from week() function?

2007-05-09 Thread Andrew Scott
Would this work for you?

cfoutput
#DateFormat(DateAdd(d, -#DayOfWeek(Now()) - 1#, Now()), ,  d,
)#
/cfoutput



On 5/10/07, Pete Ruckelshaus [EMAIL PROTECTED] wrote:

 I'm building an app where I am keeping track of sales on a weekly basis,
 so
 I am storing the number of the week (as a tinyint) and the year (as a
 smallint).  Now there is a requirement to generate a report where the date
 of the first day of the week (i.e. 5/13/2007 being the date fo the first
 day
 of week 20 of 2007).  While I can certainly rebuild this portion of the
 app,
 I would prefer not to.  Any ideas on how to convert a week/year into the
 first date of week/month/year format using either MS SQL Server of CF7?

 Thanks

 Pete


 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread Aaron Roberson
Wow, what a series of resourceful posts! Thanks Matt, Andrew and Damien.

I have used Tortoise to pull items down from an SVN or CVN repository
but I have never created one myself.

I guess I don't understand how I would use SVN for a live web
application. Would I create a mapping on my development machine to one
of the trunks for testing in the browser and also set that trunk to
deploy to the root of my live server? Sorry if that question is an
unintelligible one, there are some major gaps in my understanding.

In the meantime, I am going to take a look at some of those links and
perhaps the SVN manual.

-Aaron

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Digest Authentication woes

2007-05-09 Thread Jochem van Dieten
Paul Cormier wrote:
 Does anyone have any success stories performing CF Server to remote HTTP 
 Server Digest Authentication? I know it's not natively supported by the 
 cfhttp tag. I also know the server I'm trying to connect to works and that 
 I have proper credentials, as I can connect using a web browser. I even 
 recorded all the communications exchanged during that session using FireFox's 
 Live Headers  Modify Headers add-on and duplicated the exchange exactly 
 with cfhttp  cfhttpparams, but I keep getting 401 Bad Request. Response 
 did not match.

Can you show the recording and your code? Did you record your attempts 
to run it from CF with a packetsniffer or proxy?

Jochem

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Using CFLock around a query

2007-05-09 Thread Jochem van Dieten
Ali Awan wrote:
 
 In one case, I found concurrent queries and I also found 2 sessions hitting 
 the same table.

If the concurrent queries do not lock the records in the same order as 
the transaction does, that can cause deadlocks.


 It is not unlikely this can deadlock, but to be certain we need to see 
 the actual SQL.
 This is the SQL
 Update DMSdata Set PolicyNumber = '345627' where ID = '94631'

According to your description, the transaction did an update and a 
delete, not just a delete.

Jochem

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread Andrew Scott
Aaron,

One thing to keep in mind, not sure if you meant it like this or not. Never
SVN production code, only development code.

Now depending on where your production server is the best utility on the
market is Beyond Compare, i would love an Eclipse plugin for this but I use
it to only upload changes that are necessary to upload, and the beauty is it
will work over FTP as well just a little harder to use that way.

But I should also blog some code I have with Ant in Eclipse that can also
package (Zip up) the source code move it to another directory as well as
encrypt the code and move it to a testing server.

And just so you know my workstation is my development machine, and we have a
testing server that is just that for testing by the testers, and client
before going live into production.

-- 

Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273

On 5/10/07, Aaron Roberson [EMAIL PROTECTED] wrote:

 Wow, what a series of resourceful posts! Thanks Matt, Andrew and Damien.

 I have used Tortoise to pull items down from an SVN or CVN repository
 but I have never created one myself.

 I guess I don't understand how I would use SVN for a live web
 application. Would I create a mapping on my development machine to one
 of the trunks for testing in the browser and also set that trunk to
 deploy to the root of my live server? Sorry if that question is an
 unintelligible one, there are some major gaps in my understanding.

 In the meantime, I am going to take a look at some of those links and
 perhaps the SVN manual.

 -Aaron

 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Lack of CF understanding: Info Week

2007-05-09 Thread Aaron Roberson
 Moral: write better programs in CF and CF will get less criticism...

Very well said Sean!

On 5/9/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 I was only peeved regarding the talk of the platform CF runs on, as in it 
 only runs with x,y,z.  It does more than on IIS and SQL!! : )

 What you said beyond that, absolutely!!



 


 Eric J. Hoffman
 Managing Partner
 2081 Industrial Blvd
 StillwaterMN55082
 mail: [EMAIL PROTECTED]
 www: http://www.ejhassociates.com
 tel: 651.717.4105
 fax: 651.717.4101
 mob: 651.245.2717
 Adobe Solutions Partner
 Microsoft Certified Partner

 

 This message contains confidential information and is intended only for 
 [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you should not 
 disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] 
 immediately by e-mail if you have received this e-mail by mistake and delete 
 this e-mail from your system. E-mail transmission cannot be guaranteed to be 
 secure or error-free as information could be intercepted, corrupted, lost, 
 destroyed, arrive late or incomplete, or contain viruses. Eric J. Hoffman 
 therefore does not accept liability for any errors or omissions in the 
 contents of this message, which arise as a result of e-mail transmission. If 
 verification is required please request a hard-copy version.
 

 -Original Message-

 From: Sean Corfield [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, May 09, 2007 2:07 AM
 To: CF-Talk
 Subject: Re: Lack of CF understanding: Info Week

 On 5/5/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
  Not to add to the hornet's nestwell, okay maybe, but back to the
  issues we deal with in perceptions with CF.  This time not price, just a
  pure lack of focus on what the CF platform can do from a review of a
  site that moved from a mixed bag of CF and .Net to Java after
  acquisitions:

 The article singles out TripHomes mostly for the reliance on MS tech
 that has caused problems. What they want is to move away from MS tech.
 It's unfortunate they mention CF is somewhat unflattering terms but
 most of the criticism is (rightly) aimed at MS tech.

 hidden disadvantage of the .Net approach is that the resulting Web
 site is harder to manage

 It's more difficult to scale .Net, it's harder to monitor in a
 large-scale deployment, Buhrdorf says. Java can scale up on small
 Linux servers, and you get better insight into the production
 environment.

 The comments about the CF app's architecture were not aimed at CF but
 at the architecture:

 The old TripHomes site had stored its home images, data, and
 programming logic in the form of stored procedures in the database on
 a single disk drive, giving us a single point of failure,

 And, indeed, that was extremely bad practice. CF is based on Java -
 the tech that they like!

 There's really nothing critical of CF here, just criticism of bad practices.

 Moral: write better programs in CF and CF will get less criticism...
 --
 Sean A Corfield -- (904) 302-SEAN
 An Architect's View -- http://corfield.org/

 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood



 

~|
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:277468
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Frameworks view in CFEclipse

2007-05-09 Thread Mark Drew
Some other people had those errors.. but that was because they had an
old version of CFEclipse.

I would say disable the features, uninstall them (through the update
manager) and then install them again.

MD

On 5/9/07, Andrew Scott [EMAIL PROTECTED] wrote:
 Doesn't work for me here, I get all sort of errors when I try to use it.

 I even went to the trouble of removing cfeclipse and d/loading it again but
 no matter how hard I try the org.cfeclispe.feature always errors and the
 cfmappings in the preferences throws errors as well.



 On 5/10/07, Mark Drew [EMAIL PROTECTED] wrote:
 
  Also there is an update to CFEclipse for the view to work, so you need
  to update CFEclipse too.
 
  MD
 
  On 5/9/07, Charlie Griefer [EMAIL PROTECTED] wrote:
   Window - Show View - Other - CFML Frameworks - CFML Frameworks
  Explorer.
  
   ?
  
   On 5/9/07, Robertson-Ravo, Neil (RX)
   [EMAIL PROTECTED] wrote:
How on earth do you activate it? I have 1.3.1.3 installed but I
  can't see
it anywhere?
   
Any pointers here? I have been happily using CFEclipse for years now
  and
never had a problem with updates etc..
   
   
   
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed
  Business,
Registered in England, Number 678540.  It contains information which
  is
confidential and may also be privileged.  It is for the exclusive use
  of the
intended recipient(s).  If you are not the intended recipient(s)
  please note
that any form of distribution, copying or use of this communication or
  the
information in it is strictly prohibited and may be unlawful.  If you
  have
received this communication in error please return it to the sender or
  call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within
  this
communication are not necessarily those expressed by Reed
  Exhibitions.
Visit our website at http://www.reedexpo.com
   
   
   
  
  
 
 

 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Connection reset by peer: socket write error, 3.4 JDBC drivers

2007-05-09 Thread Jim H
Did you ever figure this one out?  I am seeing the same problem.
-JH

Setup: CFMX 6.11, Windows 2003 Server, IIS, SQL Server 8 / SP3, Latest 
JDBC drivers from MM website (3.4)
Error Message:
Error Executing Database Query. [Macromedia][SQLServer JDBC 
Driver]Connection reset by peer: socket write error

First, I never saw this error until I updated the JDBC drivers to 3.4 
last week.  The job that is failing with this error message was 
succeeding for months before the driver upgrade.  With that in mind, the 
job runs a single query against a db, then queries another database for 
20-40 minutes, then returns to the FIRST db and runs another query.  
Every single time, if the first and last queries are seperated by more 
than 20 minutes, that second query will fail with the 'socket write error'.

I can reproduce this error every time, outside of my specific code, with 
a very simple waiting mechanism.  datasource and table names have been 
changed to protect the innocent.

trying query 1...br
cfquery name=bar datasource=DATASOURCEONE
SELECT MIN(datestamp) FROM TABLENAME
/cfquery
!--- loop a 5 minute wait, 8 times. to make java wait for 40 minutes ---
cfloop from=1 to=8 index=i
  cfoutput
pausing for 5 minutes, beginning at #timeFormat(now(),HH:mm)#...Br
  cfflush
  /cfoutput
  cfset oThread = CreateObject(java, java.lang.Thread) /
  cfset oThread.sleep(30) /
  waking up...br
/cfloop
trying last query...
cfflush
cftry
cfquery name=bar datasource=DATASOURCEONE
SELECT MIN(datestamp) FROM TABLENAME
/cfquery
 cfcatch type=any
cfdump var=#CFCATCH#
/cfcatch
/cftry
bOK/b

If I were to run a query on the same datasource inside of that wait 
loop, thereby hitting the DB every 5 minutes, I would not get the 
'socket write' error

I assumed this had something to do with timeout values or maintaining 
connections, I seem to be wrong on both accounts.  I tried changing 
timeout values on the drivers to 5, 20 and 60 minutes, each time trying 
once while 'maintain connections' was checked and once with it unchecked.

Is there any way to make these new drivers actually run this second 
query?  Is there a specific timeout value that would make the connection 
actually timeout and re-establish itself or NOT timeout... instead of 
timing out and then trying to use the timed out connection?  Or am I on 
the wrong path with timeout values?

Any advice would be fantastic.  TIA,
-Jeff

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Frameworks view in CFEclipse

2007-05-09 Thread Andrew Scott
Mark,

*g* I Think I said I did that:-)



On 5/10/07, Mark Drew [EMAIL PROTECTED] wrote:

 Some other people had those errors.. but that was because they had an
 old version of CFEclipse.

 I would say disable the features, uninstall them (through the update
 manager) and then install them again.

 MD

 On 5/9/07, Andrew Scott [EMAIL PROTECTED] wrote:
  Doesn't work for me here, I get all sort of errors when I try to use it.
 
  I even went to the trouble of removing cfeclipse and d/loading it again
 but
  no matter how hard I try the org.cfeclispe.feature always errors and the
  cfmappings in the preferences throws errors as well.
 
 
 
  On 5/10/07, Mark Drew [EMAIL PROTECTED] wrote:
  
   Also there is an update to CFEclipse for the view to work, so you need
   to update CFEclipse too.
  
   MD
  
   On 5/9/07, Charlie Griefer [EMAIL PROTECTED] wrote:
Window - Show View - Other - CFML Frameworks - CFML Frameworks
   Explorer.
   
?
   
On 5/9/07, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 How on earth do you activate it? I have 1.3.1.3 installed but I
   can't see
 it anywhere?

 Any pointers here? I have been happily using CFEclipse for years
 now
   and
 never had a problem with updates etc..



 This e-mail is from Reed Exhibitions (Gateway House, 28 The
 Quadrant,
 Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed
   Business,
 Registered in England, Number 678540.  It contains information
 which
   is
 confidential and may also be privileged.  It is for the exclusive
 use
   of the
 intended recipient(s).  If you are not the intended recipient(s)
   please note
 that any form of distribution, copying or use of this
 communication or
   the
 information in it is strictly prohibited and may be unlawful.  If
 you
   have
 received this communication in error please return it to the
 sender or
   call
 our switchboard on +44 (0) 20 89107910.  The opinions expressed
 within
   this
 communication are not necessarily those expressed by Reed
   Exhibitions.
 Visit our website at http://www.reedexpo.com



   
   
  
  
 
 

 

~|
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:277471
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ANN: cfFrameworks.com workshop: Peter Bell on Lightwire

2007-05-09 Thread Nick Tong
FYI: This is starting in 20
mins:http://adobe.acrobat.com/_a200985228/pbonlightwire/

On 08/05/07, Nick Tong [EMAIL PROTECTED] wrote:
 HI All,

 For those of you not on the cfFrameworks mailing list Peter Bell will
 be doing a workshop on his Lightwire framework tomorrow night 7pm GMT.
 If you have any questions or just want to come along and watch please
 do.

 More info here:
 http://www.cfframeworks.com/blog/index.cfm/2007/4/27/cfFrameworkscom-workshop-Peter-Bell-on-Lightwire
 - http://wapurl.co.uk/?CAI11HC

 register here: http://upcoming.yahoo.com/event/186522/ -
 http://wapurl.co.uk/?GJH9XSZ

 --
 Nick Tong

 web: http://talkwebsolutions.co.uk
 blog: http://succor.co.uk
 f..works:http://cfframeworks.com
 short urls:  http://wapurl.co.uk
 green link: http://wapurl.co.uk/?4Z2YDLX



-- 
Nick Tong

web: http://talkwebsolutions.co.uk
blog: http://succor.co.uk
f..works:http://cfframeworks.com
short urls:  http://wapurl.co.uk
green link: http://wapurl.co.uk/?4Z2YDLX

~|
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:277472
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Frameworks view in CFEclipse

2007-05-09 Thread Andrew Scott
Mark,

If this helps...

1) When going to the templates I get this error.

Unable to create the selected preference page.

Reason.
Plug-in org.cfeclipse.cfml was unable to load class
org.cfeclipse.cfml.preferences.CFMLTemplatesPreferencePage

2) When configuring from the view

Could not accept Changes
The currently displayed page contains invalid values.



On 5/10/07, Mark Drew [EMAIL PROTECTED] wrote:

 Some other people had those errors.. but that was because they had an
 old version of CFEclipse.

 I would say disable the features, uninstall them (through the update
 manager) and then install them again.

 MD

 On 5/9/07, Andrew Scott [EMAIL PROTECTED] wrote:
  Doesn't work for me here, I get all sort of errors when I try to use it.
 
  I even went to the trouble of removing cfeclipse and d/loading it again
 but
  no matter how hard I try the org.cfeclispe.feature always errors and the
  cfmappings in the preferences throws errors as well.
 
 
 
  On 5/10/07, Mark Drew [EMAIL PROTECTED] wrote:
  
   Also there is an update to CFEclipse for the view to work, so you need
   to update CFEclipse too.
  
   MD
  
   On 5/9/07, Charlie Griefer [EMAIL PROTECTED] wrote:
Window - Show View - Other - CFML Frameworks - CFML Frameworks
   Explorer.
   
?
   
On 5/9/07, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 How on earth do you activate it? I have 1.3.1.3 installed but I
   can't see
 it anywhere?

 Any pointers here? I have been happily using CFEclipse for years
 now
   and
 never had a problem with updates etc..



 This e-mail is from Reed Exhibitions (Gateway House, 28 The
 Quadrant,
 Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed
   Business,
 Registered in England, Number 678540.  It contains information
 which
   is
 confidential and may also be privileged.  It is for the exclusive
 use
   of the
 intended recipient(s).  If you are not the intended recipient(s)
   please note
 that any form of distribution, copying or use of this
 communication or
   the
 information in it is strictly prohibited and may be unlawful.  If
 you
   have
 received this communication in error please return it to the
 sender or
   call
 our switchboard on +44 (0) 20 89107910.  The opinions expressed
 within
   this
 communication are not necessarily those expressed by Reed
   Exhibitions.
 Visit our website at http://www.reedexpo.com



   
   
  
  
 
 

 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


RE: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread Russ
 -Original Message-
 From: Andrew Scott [mailto:[EMAIL PROTECTED]
 
 One thing to keep in mind, not sure if you meant it like this or not.
 Never
 SVN production code, only development code.
 

Andrew,

Exactly what's wrong with using SVN with production code?

Russ


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


IIS Virtual DIrectories and Shared Scope Vars

2007-05-09 Thread Ben Shichman
Hello

I posted this about a year ago, but got it working on a server of ours - now on 
a new server, same problem, and cant figure out why.

Very simple:

We have multiple sites:

Site 1
Site 2
Site 3
Etc...

Each is in its own directory structure, has its own application.cfm, etc.

Each one has a virtual mapping in IIS to a directory called COMMON, that has 
some shared code. So within the IIS site for each site, there is a Virtual 
Directory mapping to this Common directory.

Now, in the directory for COMMON, we have coldfusion code that we want to be 
able to access the scoped variables (such as application, request, etc) of each 
individual site when called from that site.

So in the COMMON directory, there is an APPLICATION.CFM file that has one line:

cfinclude template=/application.cfm

This works flawless on one production server, but on another, we just get an 
error:


Could not find the included template /application.cfm.
Note: If you wish to use an absolute template path (e.g. 
TEMPLATE=/mypath/index.cfm) with CFINCLUDE then you must create a mapping for 
the path using the ColdFusion Administrator. Using relative paths (e.g. 
TEMPLATE=index.cfm or TEMPLATE=../index.cfm) does not require the creation 
of any special mappings. It is therefore recommended that you use relative 
paths with CFINCLUDE whenever possible.

The error occurred in D:\hostedsites\clientsites\common\Application.cfm: line 2

1 :
2 : cfinclude template=/application.cfm
3 :


For my life, I cannot figure out why. On the server that DOES work, we have no 
special CUSTOM TAG PATHS, no MAPPINGS,.and it works joyfully - its only on this 
new server.

We are using CF version 7,0,2,142559 and IIS 5.0.

Help is needed and appreciated!

Thanks,

Ben 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


RE: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-09 Thread Russ
 -Original Message-
 From: Aaron Roberson [mailto:[EMAIL PROTECTED]
 
 Wow, what a series of resourceful posts! Thanks Matt, Andrew and Damien.
 
 I have used Tortoise to pull items down from an SVN or CVN repository
 but I have never created one myself.
 
 I guess I don't understand how I would use SVN for a live web
 application. Would I create a mapping on my development machine to one
 of the trunks for testing in the browser and also set that trunk to
 deploy to the root of my live server? Sorry if that question is an
 unintelligible one, there are some major gaps in my understanding.
 

Aaron, 

What we do is use trunk that's checked out on dev and production.  Small
updates are done directly to trunk.  Larger changes are done on branches,
then tested on QA and when ready merged into trunk.  It's worked well for us
without the need to use FTP or ANT.  

Russ




~|
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:277476
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ANN: cfFrameworks.com workshop: Peter Bell on Lightwire

2007-05-09 Thread Aaron Roberson
Thanks, I almost forgot and would have killed myself.

-Aaron

On 5/9/07, Nick Tong [EMAIL PROTECTED] wrote:
 FYI: This is starting in 20
 mins:http://adobe.acrobat.com/_a200985228/pbonlightwire/

 On 08/05/07, Nick Tong [EMAIL PROTECTED] wrote:
  HI All,
 
  For those of you not on the cfFrameworks mailing list Peter Bell will
  be doing a workshop on his Lightwire framework tomorrow night 7pm GMT.
  If you have any questions or just want to come along and watch please
  do.
 
  More info here:
  http://www.cfframeworks.com/blog/index.cfm/2007/4/27/cfFrameworkscom-workshop-Peter-Bell-on-Lightwire
  - http://wapurl.co.uk/?CAI11HC
 
  register here: http://upcoming.yahoo.com/event/186522/ -
  http://wapurl.co.uk/?GJH9XSZ
 
  --
  Nick Tong
 
  web: http://talkwebsolutions.co.uk
  blog: http://succor.co.uk
  f..works:http://cfframeworks.com
  short urls:  http://wapurl.co.uk
  green link: http://wapurl.co.uk/?4Z2YDLX
 


 --
 Nick Tong

 web: http://talkwebsolutions.co.uk
 blog: http://succor.co.uk
 f..works:http://cfframeworks.com
 short urls:  http://wapurl.co.uk
 green link: http://wapurl.co.uk/?4Z2YDLX

 

~|
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:277477
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Multi-Language Site

2007-05-09 Thread Jon Clausen
On May 9, 2007, at 12:51 PM, Paul Hastings wrote:

 Jon Clausen wrote:
 1) Sets the language locale variable which is cross referenced to the
 #server.coldfusion.supportedlocales#.  This allows you to use
 Coldfusion internationalization for dates/currency formatting.

 you have to be careful with this. cf relies on core java for it's  
 locale
 resource data which is often out-to-lunch (recent case in point,  
 core java up to
 version 6 flubs en_Au  en_NZ time formats, there are gobs  gobs  
 of other
 problems--the devil *is* in the details). you need to test your  
 supported
 locale's data in core java versus something more standard like  
 the CLDR
 project www.unicode.org/cldr/ then decide your approach (native cf  
 i18n bits
 which are easier to use  a bit faster vs something like icu4j  
 which runs off
 the CLDR data  has other goodies like non-gregorian calendars).

For the sake of brevity, I left out that this particular site  
bypasses any CF/Java locale information for dealing with currency.   
That's been an ongoing problem,  espeically with Asian and Middle  
Eastern currency symbols and formats.   A  good point on en_Au and  
en_NZ time formats, though.  I haven't run into that issue with any  
of the client's partners, though we have several from Australia.  I  
may have to look into a change there.

 particular site has around 50 different international sites pointing

 which really argues for the more traditional approach of resource  
 bundles 
 their ecosystem. i would hate to manage something this complex w/ 
 notepad or it's
 equivalent.

Not meaning to sound defensive, however, I don't find this aspect  
particularly complex.  At the beginning, adding a new locale or   
Language posed new and interesting issues - Bangladesh, especially,  
was fun :) -  but one trip around the world so to speak and the  
best practices emerged.  Now dealing with adding new language/ 
currency to the application is a fairly straightforward affair.

Don't get me wrong: I'm not saying that  resource bundles aren't a  
more robust and inclusive method of handling internationalization,  
but also I think the needs of the Application may dictate whether  
it's a viable solution for a given project.

  In this case, the current structure allows a great deal of  
flexibility for the client and their partners and minimizes the  
development time required to maintain the application- providing a  
better ROI and speed-to-market for the client as they grow their  
business internationally.  Resource bundles might be an option if the  
percent of business being driven from those markets necessitates it,  
though, so I would never count that option out.

Warm regards,

Jon

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


  1   2   >