Re: Image upload impacting web server performance

2006-10-26 Thread Massimo Foti
 // Declare a new image to obtain math values
 x=new Image;
 x.src=element.value;
 is=Math.ceil(x.fileSize/1000);

 This is a snippet of an old piece of javascript that I used for previewing
 and uploading multiple image files. I'm not 100% that I got the file size
 preview to work but I think I did.

Before you can check an image's size with JavaScript you have to wait for 
its onload event to fire.

An example of clien-side image upload validation is visible below, please 
read the notes about browser's compatibility:
http://www.massimocorner.com/validator/samples/image_upload.htm


Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: CF chat in CFMX?

2006-10-26 Thread Dan Plesse
Does it have to be CF based???

I just created the first two parts of chat system using JSObject and based
on Jabber with Smack.

It uses pushes events based on java and hands the results on over to
javascript. Javascript configures a hidden
windowless applet which handles the network eventlistener side.

I have a link if you would like to take a look. I imagine you can hook it up
to any polling jabber client too.

Polling clients seem to be choppy and it removes the delay.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Where can I download Coldspring for use in MG:U?

2006-10-26 Thread Dave Lyons
yes i am on mysql 5 and I was getting an error when set to just mysql, the 
error went away when i changed it to mysql4




On 10/25/06, Dave Lyons [EMAIL PROTECTED] wrote:
 u can still see it here

 http://svn.reactorframework.com/reactor/trunk/reactor/data/mysql/ObjectDao.cfc

Are you using mysql ver 5?  It's working for me, and I am, and I'm
resonalby sure it wouldn't, if it was broke...  do you have the
information_schema table?

I've been running hot with reactor and model glue... besides a hiccup
with query.cfc (or some such... it was fixed so fast, I don't recall)
it's been amazing.  Props to all involved in those three frameworks!

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Where can I download Coldspring for use in MG:U?

2006-10-26 Thread Tom Chiverton
On Thursday 26 October 2006 08:39, Dave Lyons wrote:
 yes i am on mysql 5 and I was getting an error when set to just mysql, the
 error went away when i changed it to mysql4

Don't suppose you could change it back quickly and post the error message and 
any relevant SQL ?

-- 
Tom Chiverton
Helping to appropriately engage innovative IPOs



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.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Tag Insight from a DTD

2006-10-26 Thread Tom Chiverton
On Wednesday 25 October 2006 17:10, Sandra Clark wrote:
 Oxygen for Eclipse

Or the Web Tools project.

-- 
Tom Chiverton
Helping to apprehensively engineer third-generation content



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.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Tag Insight from a DTD

2006-10-26 Thread Robertson-Ravo, Neil (RX)
I have the WTP but I couldn't get the insight to work for some reason..any
pointers?



-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: 26 October 2006 11:05
To: CF-Talk
Subject: Re: Tag Insight from a DTD

On Wednesday 25 October 2006 17:10, Sandra Clark wrote:
 Oxygen for Eclipse

Or the Web Tools project.

-- 

Tom Chiverton
Helping to apprehensively engineer third-generation content



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.




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Odd values appearing

2006-10-26 Thread Pete
I have a quick question.  

 

I have developed an application that generally is working exactly as
expected.  Well almost - I pass a user from the web site to a payment
processing application (the firm is using a system from securepay.com.au
(DirectOne).

 

I am passing the correct value which is good.  So that part os fine.

 

Only one thing now - I seem to have got some odd values coming through and
wondering how/wy these might come through from anywhere.

 


Product

Qty

Unit Price

Price ($)


  _  


totalpayment

1

2305.00

2305.00


ContactFormGo.x

1

16.00

16.00


ContactFormGo.y

1

12.00

12.00


  _  


Total:

$2333.00

Basically I don't know what these ContactFormGo.x and y values are or have
come from.

 

I do have at the bottom of the page that submits the page and transfers to
the secure page I have the following code:

 

tr class=altrowEven 

td width=50%span
class=infonamenbsp;/span/td

td width=50%
align=rightspan class=infonamenbsp;input name=ContactFormGo
type=image class=formButton id=ContactFormGo src=images/next1.gif
width=68 height=29 border=0/td

 /tr

 

This is the only place where ContactFormGo is mentioned.

 

Any ideas what this could be.

 

Regards  thanks

 

Peter

 




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Odd values appearing

2006-10-26 Thread Jim Wright
Pete wrote:
 Basically I don't know what these ContactFormGo.x and y values are or have
come from.

When you use a input type=image, the values that get sent buy clicking 
on that image are the x and y pixel count relative to the image you 
clicked on.  This is used by server side image maps to know where you 
clicked on the image.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: OT: authorize.net

2006-10-26 Thread Will Tomlinson
I think Jon might've nailed it. It's like the processor isn't validating it - 
not authorize.net

I have an idea - maybe I'll submit one thru the virtual terminal. Bogus exp. 
date. If it accepts that, then I KNOW it's the processor. 

Thanks much,
Will

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: OT: authorize.net

2006-10-26 Thread Will Tomlinson
Well looke here! I went into the virtual terminal on auth.net. Gave it a 
good number, bogus exp date and voila!

Transaction 1234061718 has been successfully ACCEPTED by the system.

This SUCKS! 

Will


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Odd values appearing

2006-10-26 Thread Pete
Hi there

Thanks - in the confirmation form before sending a user to the payment
processing section I did a cfdump var=#Form# and these values are in the
form.  Is there anyway to remove these so that they are not included in the
form?

Thanks in advance for feedback.

Regards

Peter



-Original Message-
From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 26 October 2006 9:30 PM
To: CF-Talk
Subject: Re: Odd values appearing

Pete wrote:
 Basically I don't know what these ContactFormGo.x and y values are or have
come from.

When you use a input type=image, the values that get sent buy clicking 
on that image are the x and y pixel count relative to the image you 
clicked on.  This is used by server side image maps to know where you 
clicked on the image.



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258088
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: CFFormProtect, new open source project

2006-10-26 Thread Deanna Schneider
We did a version of the human auth tag - the major advantage being
that it's accessible. It only uses 2 images, so bots have a 50/50
chance of getting it right - but since we can't use captcha, 50% less
spam is better than nothing.

It's pretty similar to Jacobs, except it asks the user to select a
nature picture, and the alt text then has words that a sight-impaired
user would able to logically deduce fit the criteria. For example:
glassy lake vs. telephone.

Ours uses a back-end home-grown content server cfc (to get around
sandbox issues) - so it's not very sharable as is - but if anyone
wants to try to take what we did and make it more open-source-ish,
you'd be welcome to do that.

On 10/25/06, Munson, Jacob [EMAIL PROTECTED] wrote:
 True, there is a 1 and 3 chance.  In the next release I want to put a
 failure limit in, so bots can't keep hitting it until they get it right.
 I suppose I could also add more images to decrease the odds.

 The biggest advantage I hoped was to make it easier on the user.

  -Original Message-
  From: Michael Traher [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, October 24, 2006 1:21 PM
  To: CF-Talk
  Subject: Re: ANN: CFFormProtect, new open source project
 
  what advantage does it have over the usual CAPTCHA method
  apart from being
  prettier? I would have thought that a bot would take its 1 in
  3 chance and
  you would therefore not block the bots so effectively.
 
  On 10/24/06, Munson, Jacob [EMAIL PROTECTED] wrote:
  
   I'm releasing a new open source project, called
  CFFormProtect (licensed
   under MPL).  This attempts to be more user friendly than
  the obfuscated
   text type of CAPTCHA. CFFormProtect displays three pictures, and the
   user is asked to click on the correct image. This is a variation of
   CAPTCHA I've read about, but haven't seen in use.  You can see a
   screenshot and get the download at the project page:
   http://cfformprotect.riaforge.org/

 EMF idahopower.com made the following annotations.
 --
 This transmission may contain information that is privileged, confidential 
 and/or exempt from disclosure under applicable law. If you are not the 
 intended recipient, you are hereby notified that any disclosure, copying, 
 distribution, or use of the information contained herein (including any 
 reliance thereon) is STRICTLY PROHIBITED. If you received this transmission 
 in error, please immediately contact the sender and destroy the material in 
 its entirety, whether in electronic or hard copy format. Thank you.

 ==


 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258089
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: CFFormProtect, new open source project

2006-10-26 Thread Sandra Clark
I went a different route on my blog.  Besides accessibility issues, I wanted
to make it my responsibility rather than my users to prove they are human.
So I maintain a blacklist.

More importantly I set two session variables on my comment form (a
session.commentuser and a session.commentdatetime) which I use on the
comment add page.  If the session variables don't exist (meaning the posting
didn't come from my form on my site, then the user is blacklisted using both
ip and email.  (When I was getting bombarded by spam comments, I logged them
all and realized that spammers do re-use ip addresses and email addresses).
I also maintain a word blacklist that blacklists all comments containing
frequent spam words.  I add to that all the time.  

When a new user comes in, the comment gets posted and an email comes to me
with the comment.  I have the option of either whitelisting a user (in which
case they can post from that email and ip without further intervention from
me.  If the user is blacklisted already, their comment gets thrown out and
never sees the light of day.  New posters are sent to me and I have the
opportunity to whitelist or blacklist them at that point.

My spam has dropped from 100-250 spam comments a day to about 5-15 a week,
which is extremely manageable.  I need to rework the word blacklist so that
I can update that automatically (currently its in an .ini file, which I am
adding to manually and uploading).

Although both Captcha's and Human Auth tags are understandable in the
context of being bombarded by spam, I don't think its fair to require our
users to prove they are human. 


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility


-Original Message-
From: Deanna Schneider [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 7:55 AM
To: CF-Talk
Subject: Re: ANN: CFFormProtect, new open source project

We did a version of the human auth tag - the major advantage being that it's
accessible. It only uses 2 images, so bots have a 50/50 chance of getting it
right - but since we can't use captcha, 50% less spam is better than
nothing.

It's pretty similar to Jacobs, except it asks the user to select a nature
picture, and the alt text then has words that a sight-impaired user would
able to logically deduce fit the criteria. For example:
glassy lake vs. telephone.

Ours uses a back-end home-grown content server cfc (to get around sandbox
issues) - so it's not very sharable as is - but if anyone wants to try to
take what we did and make it more open-source-ish, you'd be welcome to do
that.

On 10/25/06, Munson, Jacob [EMAIL PROTECTED] wrote:
 True, there is a 1 and 3 chance.  In the next release I want to put a 
 failure limit in, so bots can't keep hitting it until they get it right.
 I suppose I could also add more images to decrease the odds.

 The biggest advantage I hoped was to make it easier on the user.

  -Original Message-
  From: Michael Traher [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, October 24, 2006 1:21 PM
  To: CF-Talk
  Subject: Re: ANN: CFFormProtect, new open source project
 
  what advantage does it have over the usual CAPTCHA method apart from 
  being prettier? I would have thought that a bot would take its 1 in
  3 chance and
  you would therefore not block the bots so effectively.
 
  On 10/24/06, Munson, Jacob [EMAIL PROTECTED] wrote:
  
   I'm releasing a new open source project, called
  CFFormProtect (licensed
   under MPL).  This attempts to be more user friendly than
  the obfuscated
   text type of CAPTCHA. CFFormProtect displays three pictures, and 
   the user is asked to click on the correct image. This is a 
   variation of CAPTCHA I've read about, but haven't seen in use.  
   You can see a screenshot and get the download at the project page:
   http://cfformprotect.riaforge.org/

 EMF idahopower.com made the following annotations.
 --
  This transmission may contain information that is privileged, 
 confidential and/or exempt from disclosure under applicable law. If you
are not the intended recipient, you are hereby notified that any disclosure,
copying, distribution, or use of the information contained herein (including
any reliance thereon) is STRICTLY PROHIBITED. If you received this
transmission in error, please immediately contact the sender and destroy the
material in its entirety, whether in electronic or hard copy format. Thank
you.

 ==
 


 



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258090

RE: Odd values appearing

2006-10-26 Thread Adkins, Randy
yes, you can change from using an IMG for your submit button to a normal submit 
type.
Thus only the value of the submit button would be transmitted.
 
 



From: Pete [mailto:[EMAIL PROTECTED]
Sent: Thu 10/26/2006 7:36 AM
To: CF-Talk
Subject: RE: Odd values appearing



Hi there

Thanks - in the confirmation form before sending a user to the payment
processing section I did a cfdump var=#Form# and these values are in the
form.  Is there anyway to remove these so that they are not included in the
form?

Thanks in advance for feedback.

Regards

Peter



-Original Message-
From: Jim Wright [mailto:[EMAIL PROTECTED]
Sent: Thursday, 26 October 2006 9:30 PM
To: CF-Talk
Subject: Re: Odd values appearing

Pete wrote:
 Basically I don't know what these ContactFormGo.x and y values are or have
come from.

When you use a input type=image, the values that get sent buy clicking
on that image are the x and y pixel count relative to the image you
clicked on.  This is used by server side image maps to know where you
clicked on the image.





~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Tag Insight from a DTD

2006-10-26 Thread Sandra Clark
Not sure about WTP, but for both Oxygen and XML buddy, you need to associate
the DTD with the XML file, either by placing a DOCType with the correct path
or url at the top of the page, or by associating it with a filename in the
schema preferences within the preferences for that plugin. 


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility


-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 6:51 AM
To: CF-Talk
Subject: RE: Tag Insight from a DTD

I have the WTP but I couldn't get the insight to work for some reason..any
pointers?



-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: 26 October 2006 11:05
To: CF-Talk
Subject: Re: Tag Insight from a DTD

On Wednesday 25 October 2006 17:10, Sandra Clark wrote:
 Oxygen for Eclipse

Or the Web Tools project.

-- 

Tom Chiverton
Helping to apprehensively engineer third-generation content



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.






~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


OT: Open DNS Server / Recursion

2006-10-26 Thread Jenny Gavin-Wear
Totally off topic.

I run DNS servers for a number of domains and also mail servers for those
domains.

I have a problem in that when I disable Recursive look ups the DNS servers
then fail to answer DNS queries from the local IP addresses.

Any ideas anyone please?

Jenny

Jennifer Gavin-Wear
Fast Track Online
Tel: 01262 602013
http://www.fasttrackonline.co.uk/


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.11/497 - Release Date: 25/10/2006



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Tag Insight from a DTD

2006-10-26 Thread Tom Chiverton
On Thursday 26 October 2006 11:50, Robertson-Ravo, Neil (RX) wrote:
 I have the WTP but I couldn't get the insight to work for some reason..any
 pointers?

http://thefalken.livejournal.com/31865.html

-- 
Tom Chiverton
Helping to conveniently architect dot-com customers



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.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Odd values appearing

2006-10-26 Thread Jim Wright
Adkins, Randy wrote:
 yes, you can change from using an IMG for your submit button to a normal 
 submit type.
 Thus only the value of the submit button would be transmitted.
  

alternatively, you could change your submit image to something like:
a href=# onClick=document.myform.submit();img 
src=images/next1.gif width=68 height=29 border=0/a


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


OT: In need of CSS goddess (Sandy)

2006-10-26 Thread Will Tomlinson
I'd offer a link, but this site hasn't been unleashed and I don't want google 
picking it up yet. 

Ok, I've been using css to show a gallery of products. Works much better than 
using cf for funky tr inserts n such. 

I'm having a problem on this on tho. I want the image and text to be centered. 
I can make it look right in FF with a margin: 0 auto, but IE places the items 
one above the other. So 5 items would all be listed one above the other instead 
of side by side, then next line, side by side, then next line. I tried 
text-align:center and that isn't working. 

Any ideas? 

 Well do this: go to dubyadubyadubya.lucky dog 
volleyball.com/store/productdetail.cfm?PID=168

Maybe google can't follow that. lol!

here's my current CSS. 
#suggestedproductsgallery   {
list-style-type:none;
margin: 0 auto;
margin-top: 10px;
}
#suggestedproductsgallery  li {
float:left;
margin-right:18px;
margin-bottom:10px;
font-size:70%;
color:#33;
text-align:center;
}

#suggestedproductsgallery  li a {
color:#CC;
}

#suggestedproductsgallery  li a:hover {
color:#008F00;
}

#suggestedproductsgallery  img {
display:block;
border: 1px solid #FF;
text-align:center;
}

Thanks!
Will

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: OT: In need of CSS goddess (Sandy)

2006-10-26 Thread Will Tomlinson
Well heck! It looks right in IE, not FF. lol! 

Ok, bet a text-align:center will work  for the img {} . 

Will

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: OT: In need of CSS goddess (Sandy)

2006-10-26 Thread Dave Francis
I've come across this before in FF; have you tried center/center ?

-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 9:04 AM
To: CF-Talk
Subject: Re: OT: In need of CSS goddess (Sandy)


Well heck! It looks right in IE, not FF. lol!

Ok, bet a text-align:center will work  for the img {} .

Will



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: OT: In need of CSS goddess (Sandy)

2006-10-26 Thread Will Tomlinson
Ok I got it!

I just added a fixed width to the gallery li items. This forces it to only go 
so wide. The text wraps nicely I think. 

#suggestedproductsgallery  li {
float:left;
margin-right:18px;
margin-bottom:10px;
font-size:70%;
color:#33;
text-align:center;
width: 90px;
}

Thanks,
Will

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: OT: Open DNS Server / Recursion

2006-10-26 Thread Tom Chiverton
On Thursday 26 October 2006 13:43, Jenny Gavin-Wear wrote:
 I have a problem in that when I disable Recursive look ups the DNS servers
 then fail to answer DNS queries from the local IP addresses.
 Any ideas anyone please?

Don't turn recursive lookups off :-)
They are what makes your DNS server go off and ask other ones, so when you 
turn if off *bam* no resolved hosts apart whatever the server itself knows 
about.
A more normal solution is to block incoming DNS requests at the firewall.

-- 
Tom Chiverton
Helping to competently architect web-enabled initiatives



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.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: OT: In need of CSS goddess (Sandy)

2006-10-26 Thread Sandra Clark
Just looking at it and you got there before me.  Good job!

Just an FYI

When you float something, you must provide a width. Different browsers (and
different rendering modes) will do different things.  The CSS standard says
that if a width is not provided, that the width shall tend towards zero.
Other browsers make it to 100%.  

Margins:  The rule of thumb on the box model is that margins, padding,
borders and content must make up 100% of the parent's width.  If a width is
not declared, it can be used to make up that item.  If there is any question
as to what margin should be extended, its usually the right margin.
 


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility


-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 9:18 AM
To: CF-Talk
Subject: Re: OT: In need of CSS goddess (Sandy)

Ok I got it!

I just added a fixed width to the gallery li items. This forces it to only
go so wide. The text wraps nicely I think. 

#suggestedproductsgallery  li {
float:left;
margin-right:18px;
margin-bottom:10px;
font-size:70%;
color:#33;
text-align:center;
width: 90px;
}

Thanks,
Will



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Query of Query

2006-10-26 Thread Ken
Thanks a lot guys.

On 10/25/06, Richard White [EMAIL PROTECTED] wrote:
 along these same lines, if a session variable is approx no more than 50 in 
 length do you think it would be better to perform a query on the session 
 structure or to implement a loop.

 Just wondering about performance and if there would be much of a difference

 thanks

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


form target

2006-10-26 Thread Ken
Hi. I have a cfm page in a pop-up window that queries the database to
pull a record id and then through a form I want to submit that id to
the parent window from which the pop-up was opened initially. Do I
need to set the form target to parent? After doing the sumit, I also
want to close the pop-up window.

Please suggest.

Thanks,
K

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Powerbuilder 10 and CF7.01

2006-10-26 Thread Matt Osbun
We've built a large portion of our internal applications in PB6.5, and it's 
worked great for us.  Gonna be sad to see it (and CF) go when we consolidate on 
.NET.

I've looked into this a bit more.  Thanks to whomever it was who suggested a 
GET request- I'll pass that along to the Powerbuilder developer that I'm 
working with.

I took a look at some form dumps now that I'm back from a bout with the flu.  
This app is doing something that I didn't know was possible- there are 
duplicate variable names in the form scope, with different values.  

cfdump var=#form# shows two enteries for cert_nbr- one with a certificate 
number, one with an empty string (because of the cfparam default to empty 
string).  When I dump #IsDefined(form.cert_nbr)# before the cfparams, I get a 
No result, even though the form dump at that point has cert_nbr with its 
correct value in it.  When I dump the form scope after the cfparams, that's 
when the duplicate variable names show up.  

Its a client/server development tool used to build Enterprise-capable 
desktop applications. Its been GREATLY enhanced to also work in the 
Internet-space. When I used it before, the best description was Visual 
Basic on steroids.

Rey...

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: OT: In need of CSS goddess (Sandy)

2006-10-26 Thread Will Tomlinson
Just looking at it and you got there before me.  Good job!


Thanks! I even sat thru your float preso at cfunited. There were like, 74 rules 
for floating. By the time you hit #3, my head hurt. lol!

Thanks again for the info. It's hard rememberin all that stuff. 
Will

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: form target

2006-10-26 Thread Adrian
http://www.google.co.uk/search?q=window.opener

On 26/10/06, Ken [EMAIL PROTECTED] wrote:

 Hi. I have a cfm page in a pop-up window that queries the database to
 pull a record id and then through a form I want to submit that id to
 the parent window from which the pop-up was opened initially. Do I
 need to set the form target to parent? After doing the sumit, I also
 want to close the pop-up window.

 Please suggest.

 Thanks,
 K

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: OT: In need of CSS goddess (Sandy)

2006-10-26 Thread Sandra Clark
I've been told that.  The problem is that he who doesn't remember the rules
is doomed to keep making the same mistakes! 


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility


-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 9:31 AM
To: CF-Talk
Subject: Re: OT: In need of CSS goddess (Sandy)

Just looking at it and you got there before me.  Good job!


Thanks! I even sat thru your float preso at cfunited. There were like, 74
rules for floating. By the time you hit #3, my head hurt. lol!

Thanks again for the info. It's hard rememberin all that stuff. 
Will



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


form target

2006-10-26 Thread Ken
Sorry guys. I think I missed my morning coffee. I'll just re-phrase my
question. Please ignore previous post. Here goes:
My page opens a pop-up window (a cfm page). From there I want to
submit a form to the first page, the base window, and once that is
done, I want to close the pop-up.
Please help.

Thanks,
K

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: form target

2006-10-26 Thread Coldfusion
Try something like this: (did not test it)

form target=_parent onSubmit=SubmitMyForm()

script type=javascript
SubmitMyForm(){
document.forms[0].submit();
self.close();
}
/script



-Original Message-
From: Ken [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 10:11 AM
To: CF-Talk
Subject: form target

Sorry guys. I think I missed my morning coffee. I'll just re-phrase my
question. Please ignore previous post. Here goes:
My page opens a pop-up window (a cfm page). From there I want to submit a
form to the first page, the base window, and once that is done, I want to
close the pop-up.
Please help.

Thanks,
K



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: form target

2006-10-26 Thread Dan G. Switzer, II
Ken,

Sorry guys. I think I missed my morning coffee. I'll just re-phrase my
question. Please ignore previous post. Here goes:
My page opens a pop-up window (a cfm page). From there I want to
submit a form to the first page, the base window, and once that is
done, I want to close the pop-up.
Please help.

Personally, I'd post the form to the pop-up window and then just serve back
the following code once the form has been processed:

script type=text/javascript
self.close();
/script

This is going to be the much easier way to handle things. 

If you really need to post back to the opener, you're going to be probably
best suited by copying the values in the pop-up window back to a hidden form
on the opener (the window that opened the pop-up) and then submit the
hidden form. At least that's the only method I've found that's reliable in
the past.

-Dan



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: form target

2006-10-26 Thread Bobby Hartsfield
What do you mean 'submit to the first page'

Can't you just make the action of the popup form the same url as the parent?
Then refresh the parent and close the popup.

-or- 

Do you want to update fields/data on the parent page with data from the
popup form?

window.opener.forms.parentform.parentformfield.value =
document.forms.popupform.popupformfield.value;

window.close();

a little more detail on what exactly it is that you are trying to do might
uncover a better solution.


-Original Message-
From: Ken [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 10:11 AM
To: CF-Talk
Subject: form target

Sorry guys. I think I missed my morning coffee. I'll just re-phrase my
question. Please ignore previous post. Here goes:
My page opens a pop-up window (a cfm page). From there I want to
submit a form to the first page, the base window, and once that is
done, I want to close the pop-up.
Please help.

Thanks,
K



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: form target

2006-10-26 Thread Ken
Ok. What i want to do is this:

From the popup window, on submit I want to pass the value of a field
to the parent window, then close the pop-up.

I hope the above clears any doubts about what i need.

On 10/26/06, Coldfusion [EMAIL PROTECTED] wrote:
 Try something like this: (did not test it)

 form target=_parent onSubmit=SubmitMyForm()

 script type=javascript
 SubmitMyForm(){
 document.forms[0].submit();
 self.close();
 }
 /script



 -Original Message-
 From: Ken [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 26, 2006 10:11 AM
 To: CF-Talk
 Subject: form target

 Sorry guys. I think I missed my morning coffee. I'll just re-phrase my
 question. Please ignore previous post. Here goes:
 My page opens a pop-up window (a cfm page). From there I want to submit a
 form to the first page, the base window, and once that is done, I want to
 close the pop-up.
 Please help.

 Thanks,
 K



 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: form target

2006-10-26 Thread Ken
Here's what i using now:
input type=button
onClick=window.opener.document.location.href='parent.cfm?id=document.forms.myform.resid.value'
value=Submit


but it is not passing the value into the url. Please help.



On 10/26/06, Ken [EMAIL PROTECTED] wrote:
 Ok. What i want to do is this:

 From the popup window, on submit I want to pass the value of a field
 to the parent window, then close the pop-up.

 I hope the above clears any doubts about what i need.

 On 10/26/06, Coldfusion [EMAIL PROTECTED] wrote:
  Try something like this: (did not test it)
 
  form target=_parent onSubmit=SubmitMyForm()
 
  script type=javascript
  SubmitMyForm(){
  document.forms[0].submit();
  self.close();
  }
  /script
 
 
 
  -Original Message-
  From: Ken [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 26, 2006 10:11 AM
  To: CF-Talk
  Subject: form target
 
  Sorry guys. I think I missed my morning coffee. I'll just re-phrase my
  question. Please ignore previous post. Here goes:
  My page opens a pop-up window (a cfm page). From there I want to submit a
  form to the first page, the base window, and once that is done, I want to
  close the pop-up.
  Please help.
 
  Thanks,
  K
 
 
 
  

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: form target

2006-10-26 Thread Ken
Thanks Dan, but can you explain with a code sample please?

- Ken

On 10/26/06, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
 Ken,

 Sorry guys. I think I missed my morning coffee. I'll just re-phrase my
 question. Please ignore previous post. Here goes:
 My page opens a pop-up window (a cfm page). From there I want to
 submit a form to the first page, the base window, and once that is
 done, I want to close the pop-up.
 Please help.

 Personally, I'd post the form to the pop-up window and then just serve back
 the following code once the form has been processed:

 script type=text/javascript
 self.close();
 /script

 This is going to be the much easier way to handle things.

 If you really need to post back to the opener, you're going to be probably
 best suited by copying the values in the pop-up window back to a hidden form
 on the opener (the window that opened the pop-up) and then submit the
 hidden form. At least that's the only method I've found that's reliable in
 the past.

 -Dan



 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: form target

2006-10-26 Thread Brad Wood
Try
onClick=window.opener.document.location.href='parent.cfm?id='+document.
forms.myform.resid.value

otherwise document.forms.myform.resid.value is not evaluated as a
variable, and the actual string is passed.

You might try alert()ing document.forms.myform.resid.value to make sure
it is what you expect, and dump url on the parent page to see what it is
received.

~Brad

-Original Message-
From: Ken [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 10:34 AM
To: CF-Talk
Subject: Re: form target

Here's what i using now:
input type=button
onClick=window.opener.document.location.href='parent.cfm?id=document.fo
rms.myform.resid.value'
value=Submit


but it is not passing the value into the url. Please help.



On 10/26/06, Ken [EMAIL PROTECTED] wrote:
 Ok. What i want to do is this:

 From the popup window, on submit I want to pass the value of a field
 to the parent window, then close the pop-up.

 I hope the above clears any doubts about what i need.

 On 10/26/06, Coldfusion [EMAIL PROTECTED] wrote:
  Try something like this: (did not test it)
 
  form target=_parent onSubmit=SubmitMyForm()
 
  script type=javascript
  SubmitMyForm(){
  document.forms[0].submit();
  self.close();
  }
  /script
 
 
 
  -Original Message-
  From: Ken [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 26, 2006 10:11 AM
  To: CF-Talk
  Subject: form target
 
  Sorry guys. I think I missed my morning coffee. I'll just re-phrase
my
  question. Please ignore previous post. Here goes:
  My page opens a pop-up window (a cfm page). From there I want to
submit a
  form to the first page, the base window, and once that is done, I
want to
  close the pop-up.
  Please help.
 
  Thanks,
  K
 
 
 
  



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Using Like with a field that has a single quote

2006-10-26 Thread Patrick Forsythe
here is the problem i am having, I have a search box where a user can
enter in something to search for, based on what the user enters in I
build a query and execute it thusly.

  cfquery datasource=#db# name=session.searchresults 
#preservesinglequotes(querystring)#
  /cfquery

query string is put together like this
cfset querystring = #querystring#   AND (photoname LIKE
'%#form.searchterms#%' OR filename LIKE '%#form.searchterms#%' OR actors
LIKE '%#form.searchterms#%' OR movie LIKE '%#form.searchterms#%' OR
foldertitle LIKE '%#form.searchterms#%' OR descr LIKE
'%#form.searchterms#%' OR photographer LIKE '%#form.searchterms#%' OR
boxnum LIKE '%#form.searchterms#%' OR foldernum LIKE
'%#form.searchterms#' OR imagenum LIKE '%#form.searchterms#%' OR
keywords LIKE '%#form.searchterms#%' OR title LIKE
'%#form.searchterms#%') OR location LIKE '%#form.searchterms#%' 


The problem is anytime you search for soemthingthat has a single quote
in it like say rob o'flanery it will throw an error i tried adding
escape '/' at the end of the querystring decleration but still no dice
throws an error still with or with out the / infront of the '.

Is there something I am doing wrong? what is the right way to do this?


-- 
Patrick Forsythe
Tech Support
Smallville Communications
http://www.toto.net

Guter Rat ist teuer.  --Unbekannt

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Not getting cf-talk 8 hour digest

2006-10-26 Thread Kate Johnson
Hi,
I haven't received a digest email since Saturday, October 21st.

I logged in to House of Fusion, unsubscribed and resubscribed yesterday
hoping this might restart the emails, but have not received anything yet.

Thanks,

Kate Johnson, Web Application Developer
[EMAIL PROTECTED]
541-917-4656
Linn Benton Community College
Media Services 
6500 SW Pacific Blvd.
Albany, OR 97321



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: authorize.net

2006-10-26 Thread Bryan Stevenson
Yes Will...MANY card processor ignore expiry dates

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: form target

2006-10-26 Thread Snake
Should be
input type=button
onClick=window.opener.document.location.href='parent.cfm?id='
+document.myform.resid.value
value=Submit

-
Snake
-Original Message-
From: Ken [mailto:[EMAIL PROTECTED] 
Sent: 26 October 2006 16:34
To: CF-Talk
Subject: Re: form target

Here's what i using now:
input type=button
onClick=window.opener.document.location.href='parent.cfm?id=document.forms.
myform.resid.value'
value=Submit


but it is not passing the value into the url. Please help.



On 10/26/06, Ken [EMAIL PROTECTED] wrote:
 Ok. What i want to do is this:

 From the popup window, on submit I want to pass the value of a field 
 to the parent window, then close the pop-up.

 I hope the above clears any doubts about what i need.

 On 10/26/06, Coldfusion [EMAIL PROTECTED] wrote:
  Try something like this: (did not test it)
 
  form target=_parent onSubmit=SubmitMyForm()
 
  script type=javascript
  SubmitMyForm(){
  document.forms[0].submit();
  self.close();
  }
  /script
 
 
 
  -Original Message-
  From: Ken [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 26, 2006 10:11 AM
  To: CF-Talk
  Subject: form target
 
  Sorry guys. I think I missed my morning coffee. I'll just re-phrase 
  my question. Please ignore previous post. Here goes:
  My page opens a pop-up window (a cfm page). From there I want to 
  submit a form to the first page, the base window, and once that is 
  done, I want to close the pop-up.
  Please help.
 
  Thanks,
  K
 
 
 
  



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: OT: authorize.net

2006-10-26 Thread Bryan Stevenson
 I'm on Payflow Pro as a Gateway with Moneris/Vital as a Processor,  
 but they validate everything, every time, including the CCV code.

That's oddwe use Moneris and they do not check the expiry date

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: form target

2006-10-26 Thread Ken
Thanks guys. However, instead of passing the variable through a form
variable, i decided to send it in the url. But its not working either.
Here's my code. Please tell whats wrong in it:
form name=popupform
1 input type=radio name=resid value=1 checked=checked /br /

2 input type=radio name=resid value=2 /br /

3 input type=radio name=resid value=3 /

br /
br /
input type=button
onClick=window.opener.document.location.href='parent.cfm?id=' 
document.forms.popupform.resid.value; self.close(); value=Submit

/form


Thanks,
Ken

On 10/26/06, Bobby Hartsfield [EMAIL PROTECTED] wrote:
 Maybe I'M the one who should have been a little clearer. Passing
 something... anything... from the popup window to the parent is not a
 problem.
 window.opener.document.getElementById('somediv').innerHTML =
 document.forms.popupform.popupfield.value;

 that would take the value of a field in the popup windows form and put it in
 a div tag in the parent called 'somediv'

 window.opener.document.forms.parentform.parentfield.value =
 document.forms.popupform.popupfield.value;

 that would take the SAME value as before and place it in a form field on the
 parent page.

 If you had to submit the parent afterwards, soemthign like this should do
 it.

 window.opener.forms.parentform.submit();

 ... I think. I haevn't tested it (or any of this for that matter. Im sure
 its riddled with typos


 But I guess the question should be... what exactly to you hope to do with
 the value once its gotten to the parent...


 -Original Message-
 From: Ken [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 26, 2006 11:32 AM
 To: cf-talk@houseoffusion.com
 Subject: Re: form target

 Ok. What i want to do is this:

 From the popup window, on submit I want to pass the value of a field
 to the parent window, then close the pop-up.

 I hope the above clears any doubts about what i need.

 On 10/26/06, Coldfusion [EMAIL PROTECTED] wrote:
  Try something like this: (did not test it)
 
  form target=_parent onSubmit=SubmitMyForm()
 
  script type=javascript
  SubmitMyForm(){
  document.forms[0].submit();
  self.close();
  }
  /script
 
 
 
  -Original Message-
  From: Ken [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 26, 2006 10:11 AM
  To: CF-Talk
  Subject: form target
 
  Sorry guys. I think I missed my morning coffee. I'll just re-phrase my
  question. Please ignore previous post. Here goes:
  My page opens a pop-up window (a cfm page). From there I want to submit a
  form to the first page, the base window, and once that is done, I want to
  close the pop-up.
  Please help.
 
  Thanks,
  K
 
 
 
  

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Urgent Prod server down - JVM config setting?

2006-10-26 Thread Josh Nathanson
Hello all,

This morning we restarted our server after bumping up our JVM max heap size 
to 1024 MB, and it crashed.  Now we can't get into the CF admin to change it 
back.  Where would I find the setting in a config file so I can get the 
server restarted?  This is kind of an emergency.

-- Josh



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Help Initializing Pseudo-Constructor using CFOBJECT

2006-10-26 Thread Aaron Roberson
I have been creating and invoking my CFCs like such:

cfset gateway = createObject(component,
appName.path.cfc).init(application.dsn) /
cfset qRecordset = gateway.getRecords() /

But I am considering using cfobject instead. Here is a comparison:

cfobject name=gateway component=appName.path.cfc
cfinvoke component=gateway method=getRecords returnvariable=qRecordset

The only problem is that I don't know how to pass the datasource name
to the init function upon creating the object using cfobject.

What am I missing? Any help would be appreciated.

Thanks,
Aaron

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Application connecting to phone system

2006-10-26 Thread Mehdi, Agha
Hi All,

Coldfusion provides SMS integration with application but how does it
work with phone systems? One of the projects I am going to start to work
on involves functionality where users dial a number and a four digit
extension and upon connecting disconnect the call. The system than takes
that number, identifies the extension and based on rules tied to that
extension, performs some operations and sends a reply back to the user's
number.

How can Coldfusion event gateways play a role for this kind of
requirements? Please point me to some articles that explain this sort of
implementation.

Thanks

Agha Mehdi
IDT - eBusiness Program Manager
Work: 408.284.8239
Cell  : 510.493.0491
Fax  :  408.284.2766



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Urgent Prod server down - JVM config setting?

2006-10-26 Thread Josh Nathanson
Update - our server admin found this technote:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=a604060dpss=rss_coldfusion_a604060d

But it's still not working, does anyone have any additional information 
about possible steps to take?

-- Josh


- Original Message - 
From: Josh Nathanson [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, October 26, 2006 9:14 AM
Subject: Urgent Prod server down - JVM config setting?


 Hello all,

 This morning we restarted our server after bumping up our JVM max heap 
 size
 to 1024 MB, and it crashed.  Now we can't get into the CF admin to change 
 it
 back.  Where would I find the setting in a config file so I can get the
 server restarted?  This is kind of an emergency.

 -- Josh



 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Urgent Prod server down - JVM config setting?

2006-10-26 Thread Robertson-Ravo, Neil (RX)
You need to change the line in jvm.config file (I think that is what it's
called!) 







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: Josh Nathanson
To: CF-Talk
Sent: Thu Oct 26 17:14:40 2006
Subject: Urgent Prod server down - JVM config setting?

Hello all,

This morning we restarted our server after bumping up our JVM max heap size 
to 1024 MB, and it crashed.  Now we can't get into the CF admin to change it

back.  Where would I find the setting in a config file so I can get the 
server restarted?  This is kind of an emergency.

-- Josh





~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Urgent Prod server down - JVM config setting?

2006-10-26 Thread Robertson-Ravo, Neil (RX)
Was it a change via JRun Admin, as I think there is a bug when you change it
via that method in that it breaks stuff!






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: Josh Nathanson
To: CF-Talk
Sent: Thu Oct 26 17:19:44 2006
Subject: Re: Urgent Prod server down - JVM config setting?

Update - our server admin found this technote:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=a604060dpss=rss_col
dfusion_a604060d

But it's still not working, does anyone have any additional information 
about possible steps to take?

-- Josh


- Original Message - 
From: Josh Nathanson [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, October 26, 2006 9:14 AM
Subject: Urgent Prod server down - JVM config setting?


 Hello all,

 This morning we restarted our server after bumping up our JVM max heap 
 size
 to 1024 MB, and it crashed.  Now we can't get into the CF admin to change 
 it
 back.  Where would I find the setting in a config file so I can get the
 server restarted?  This is kind of an emergency.

 -- Josh



 



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Urgent Prod server down - JVM config setting?

2006-10-26 Thread Mark A Kruger
Josh,

Look in your cfusionmx7 directory under the /runtime/bin/ directory for the
jvm.config. As a side note you should ALWAYS change this file directly and
should not use the admin to do it.  See this post on the topic. 

http://www.coldfusionmuse.com/index.cfm/2005/10/28/jvm.gc

Custom settings can get wiped out - and/or the args can be mangled so that
it refuses to start.

Check in the runtime/logs/*server*-out.log file for clues on the startup
problem.

-Mark
 

-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 11:15 AM
To: CF-Talk
Subject: Urgent Prod server down - JVM config setting?

Hello all,

This morning we restarted our server after bumping up our JVM max heap size
to 1024 MB, and it crashed.  Now we can't get into the CF admin to change it
back.  Where would I find the setting in a config file so I can get the
server restarted?  This is kind of an emergency.

-- Josh





~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: form target

2006-10-26 Thread Snake
I suggest you call a single fucntion with your onlclick, as putting multiple
statements inline often doesn't work.

Russ 

-Original Message-
From: Ken [mailto:[EMAIL PROTECTED] 
Sent: 26 October 2006 17:14
To: CF-Talk
Subject: Re: form target

Thanks guys. However, instead of passing the variable through a form
variable, i decided to send it in the url. But its not working either.
Here's my code. Please tell whats wrong in it:
form name=popupform
1 input type=radio name=resid value=1 checked=checked /br /

2 input type=radio name=resid value=2 /br /

3 input type=radio name=resid value=3 /

br /
br /
input type=button
onClick=window.opener.document.location.href='parent.cfm?id=' 
document.forms.popupform.resid.value; self.close(); value=Submit

/form


Thanks,
Ken

On 10/26/06, Bobby Hartsfield [EMAIL PROTECTED] wrote:
 Maybe I'M the one who should have been a little clearer. Passing 
 something... anything... from the popup window to the parent is not a 
 problem.
 window.opener.document.getElementById('somediv').innerHTML = 
 document.forms.popupform.popupfield.value;

 that would take the value of a field in the popup windows form and put 
 it in a div tag in the parent called 'somediv'

 window.opener.document.forms.parentform.parentfield.value = 
 document.forms.popupform.popupfield.value;

 that would take the SAME value as before and place it in a form field 
 on the parent page.

 If you had to submit the parent afterwards, soemthign like this should 
 do it.

 window.opener.forms.parentform.submit();

 ... I think. I haevn't tested it (or any of this for that matter. Im 
 sure its riddled with typos


 But I guess the question should be... what exactly to you hope to do 
 with the value once its gotten to the parent...


 -Original Message-
 From: Ken [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 26, 2006 11:32 AM
 To: cf-talk@houseoffusion.com
 Subject: Re: form target

 Ok. What i want to do is this:

 From the popup window, on submit I want to pass the value of a field 
 to the parent window, then close the pop-up.

 I hope the above clears any doubts about what i need.

 On 10/26/06, Coldfusion [EMAIL PROTECTED] wrote:
  Try something like this: (did not test it)
 
  form target=_parent onSubmit=SubmitMyForm()
 
  script type=javascript
  SubmitMyForm(){
  document.forms[0].submit();
  self.close();
  }
  /script
 
 
 
  -Original Message-
  From: Ken [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 26, 2006 10:11 AM
  To: CF-Talk
  Subject: form target
 
  Sorry guys. I think I missed my morning coffee. I'll just re-phrase 
  my question. Please ignore previous post. Here goes:
  My page opens a pop-up window (a cfm page). From there I want to 
  submit a form to the first page, the base window, and once that is 
  done, I want to close the pop-up.
  Please help.
 
  Thanks,
  K
 
 
 
  



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Urgent Prod server down - JVM config setting?

2006-10-26 Thread Snake
In the jvm.config file

Snake 

-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: 26 October 2006 17:15
To: CF-Talk
Subject: Urgent Prod server down - JVM config setting?

Hello all,

This morning we restarted our server after bumping up our JVM max heap size
to 1024 MB, and it crashed.  Now we can't get into the CF admin to change it
back.  Where would I find the setting in a config file so I can get the
server restarted?  This is kind of an emergency.

-- Josh





~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Urgent Prod server down - JVM config setting?

2006-10-26 Thread Jake Churchill
There should be (hopefully) a backup of a jvm.config file or like the 
original version that comes default in CF.  Try to find it and restore 
it if nothing else works.

Robertson-Ravo, Neil (RX) wrote:
 Was it a change via JRun Admin, as I think there is a bug when you change it
 via that method in that it breaks stuff!






 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: Josh Nathanson
 To: CF-Talk
 Sent: Thu Oct 26 17:19:44 2006
 Subject: Re: Urgent Prod server down - JVM config setting?

 Update - our server admin found this technote:

 http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=a604060dpss=rss_col
 dfusion_a604060d

 But it's still not working, does anyone have any additional information 
 about possible steps to take?

 -- Josh


 - Original Message - 
 From: Josh Nathanson [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Thursday, October 26, 2006 9:14 AM
 Subject: Urgent Prod server down - JVM config setting?


   
 Hello all,

 This morning we restarted our server after bumping up our JVM max heap 
 size
 to 1024 MB, and it crashed.  Now we can't get into the CF admin to change 
 it
 back.  Where would I find the setting in a config file so I can get the
 server restarted?  This is kind of an emergency.

 -- Josh




 



 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Urgent Prod server down - JVM config setting?

2006-10-26 Thread Mehdi, Agha
C:\JRun4\bin\jvm.config

# Arguments to VM
java.args=-server -Xmx512m

Normally, it shouldn't crash if it's set to 1024.

Agha Mehdi
IDT - eBusiness Program Manager


-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 9:20 AM
To: CF-Talk
Subject: Re: Urgent Prod server down - JVM config setting?

Update - our server admin found this technote:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=a604060dpss=rss
_coldfusion_a604060d

But it's still not working, does anyone have any additional information 
about possible steps to take?

-- Josh


- Original Message - 
From: Josh Nathanson [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, October 26, 2006 9:14 AM
Subject: Urgent Prod server down - JVM config setting?


 Hello all,

 This morning we restarted our server after bumping up our JVM max heap

 size
 to 1024 MB, and it crashed.  Now we can't get into the CF admin to
change 
 it
 back.  Where would I find the setting in a config file so I can get
the
 server restarted?  This is kind of an emergency.

 -- Josh



 



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Help Initializing Pseudo-Constructor using CFOBJECT

2006-10-26 Thread Charlie Griefer
i believe you'd need a cfinvoke for your init() method.

so you need to insert cfinvoke before the one you have listed.
cfinvoke component=gateway method=init dsn=#application.dsn# /

just out of curiousity...any reason you want cfobject over the
createObject() way?  I'm sure when it all boils down you'll have 6 of
1, half-dozen of the other...but at the very least, the createObject()
allows the method chaining so it's easier to invoke the init() when
you first instantiate your CFC.

I've also read (I think Sean C. said it) that the method chaining
syntax is a little tighter as it prevents any race condition issues
that may arise (especially if you're creating your CFC into the
application scope).

On 10/26/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 I have been creating and invoking my CFCs like such:

 cfset gateway = createObject(component,
 appName.path.cfc).init(application.dsn) /
 cfset qRecordset = gateway.getRecords() /

 But I am considering using cfobject instead. Here is a comparison:

 cfobject name=gateway component=appName.path.cfc
 cfinvoke component=gateway method=getRecords returnvariable=qRecordset

 The only problem is that I don't know how to pass the datasource name
 to the init function upon creating the object using cfobject.

 What am I missing? Any help would be appreciated.

 Thanks,
 Aaron

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: form target

2006-10-26 Thread Brad Wood
I'm going to need you to be a little more specific than it's not
working either.  What exactly are you expecting to happen which you are
not seeing?

Does the opener window refresh?  
Does the popup close?  
Did you alert the value to see if it was what you expected?  
Did you dump the url on the parent?  
Did you spell your form name correctly?  
Did you make your names case-sensitive?  
Is there a JavaScript error appearing?  
If so, what does it say?  
What line number?  
Does the rain in Spain REALLY stay mainly on the plains?

:)

~Brad

-Original Message-
From: Ken [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 11:14 AM
To: CF-Talk
Subject: Re: form target

Thanks guys. However, instead of passing the variable through a form
variable, i decided to send it in the url. But its not working either.
Here's my code. Please tell whats wrong in it:
form name=popupform
1 input type=radio name=resid value=1 checked=checked /br /

2 input type=radio name=resid value=2 /br /

3 input type=radio name=resid value=3 /

br /
br /
input type=button
onClick=window.opener.document.location.href='parent.cfm?id=' 
document.forms.popupform.resid.value; self.close(); value=Submit

/form


Thanks,
Ken

On 10/26/06, Bobby Hartsfield [EMAIL PROTECTED] wrote:
 Maybe I'M the one who should have been a little clearer. Passing
 something... anything... from the popup window to the parent is not a
 problem.
 window.opener.document.getElementById('somediv').innerHTML =
 document.forms.popupform.popupfield.value;

 that would take the value of a field in the popup windows form and put
it in
 a div tag in the parent called 'somediv'

 window.opener.document.forms.parentform.parentfield.value =
 document.forms.popupform.popupfield.value;

 that would take the SAME value as before and place it in a form field
on the
 parent page.

 If you had to submit the parent afterwards, soemthign like this should
do
 it.

 window.opener.forms.parentform.submit();

 ... I think. I haevn't tested it (or any of this for that matter. Im
sure
 its riddled with typos


 But I guess the question should be... what exactly to you hope to do
with
 the value once its gotten to the parent...


 -Original Message-
 From: Ken [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 26, 2006 11:32 AM
 To: cf-talk@houseoffusion.com
 Subject: Re: form target

 Ok. What i want to do is this:

 From the popup window, on submit I want to pass the value of a field
 to the parent window, then close the pop-up.

 I hope the above clears any doubts about what i need.

 On 10/26/06, Coldfusion [EMAIL PROTECTED] wrote:
  Try something like this: (did not test it)
 
  form target=_parent onSubmit=SubmitMyForm()
 
  script type=javascript
  SubmitMyForm(){
  document.forms[0].submit();
  self.close();
  }
  /script
 
 
 
  -Original Message-
  From: Ken [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 26, 2006 10:11 AM
  To: CF-Talk
  Subject: form target
 
  Sorry guys. I think I missed my morning coffee. I'll just re-phrase
my
  question. Please ignore previous post. Here goes:
  My page opens a pop-up window (a cfm page). From there I want to
submit a
  form to the first page, the base window, and once that is done, I
want to
  close the pop-up.
  Please help.
 
  Thanks,
  K
 
 
 
  



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Urgent Prod server down - JVM config setting?

2006-10-26 Thread Josh Nathanson
Thanks all, our server admin found the file, but I guess it's still not 
working...

Trouble is I don't have access myself, it's a managed server...

NOW I know not to change the setting via CF admin, but this is something 
that Adobe obviously needs to work on!!!

Kinda silly to have it there if it doesn't work correctly.


- Original Message - 
From: Mark A Kruger [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, October 26, 2006 9:28 AM
Subject: RE: Urgent Prod server down - JVM config setting?


 Josh,

 Look in your cfusionmx7 directory under the /runtime/bin/ directory for 
 the
 jvm.config. As a side note you should ALWAYS change this file directly and
 should not use the admin to do it.  See this post on the topic.

 http://www.coldfusionmuse.com/index.cfm/2005/10/28/jvm.gc

 Custom settings can get wiped out - and/or the args can be mangled so that
 it refuses to start.

 Check in the runtime/logs/*server*-out.log file for clues on the startup
 problem.

 -Mark


 -Original Message-
 From: Josh Nathanson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 26, 2006 11:15 AM
 To: CF-Talk
 Subject: Urgent Prod server down - JVM config setting?

 Hello all,

 This morning we restarted our server after bumping up our JVM max heap 
 size
 to 1024 MB, and it crashed.  Now we can't get into the CF admin to change 
 it
 back.  Where would I find the setting in a config file so I can get the
 server restarted?  This is kind of an emergency.

 -- Josh





 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


MG:U Breeze Preso Tonight

2006-10-26 Thread Cutter (CFRelated)
**From the Nashville ColdFusion User Group (http://www.ncfug.com)**

PRESENTATION:
Stephen Cutter Blades on Object-Oriented development with Model-Glue 
Unity.

WHAT YOU WILL LEARN / TOPICS COVERED:

 * Why MVC?
 * How does autowiring speed your development?
 * Installation of the Core Unity Frameworks (Model-Glue, 
Coldspring, Reactor)
 * Creating a new Model-Glue application
 * Configuration files explained
 * Defining Model, View, Controller
 * The Power of Unity
 * Defining scaffolds for automatic db interaction
 * Modifying and extending auto generated code
 * Debugging your app
 * Sample application

** All attendees must RSVP by sending an e-mail to rsvp AT ncfug DOT com. **

BREEZE INFORMATION:
This meeting will be broadcast via Breeze. All interested participants 
must register for the Breeze portion of the meeting in advance. To 
register, please send an e-mail to rsvp AT ncfug DOT com and include 
your name and the text Will attend via Breeze. Please keep in mind 
that sometimes there are audio problems when presenting via Breeze. If 
there are audio problems during this presentation we will do our best to 
address them but we will not halt the presentation to troubleshoot 
issues. Broadcasting this preso via Breeze is a community service we 
offer while our in-person portion of the meeting is the main focus of 
the evening. Please keep this in mind if you are attending via Breeze.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Urgent Prod server down - JVM config setting?

2006-10-26 Thread Josh Nathanson
OK, we're back up...thanks all.

-- Josh


- Original Message - 
From: Josh Nathanson [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, October 26, 2006 9:36 AM
Subject: Re: Urgent Prod server down - JVM config setting?


 Thanks all, our server admin found the file, but I guess it's still not
 working...

 Trouble is I don't have access myself, it's a managed server...

 NOW I know not to change the setting via CF admin, but this is something
 that Adobe obviously needs to work on!!!

 Kinda silly to have it there if it doesn't work correctly.


 - Original Message - 
 From: Mark A Kruger [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Thursday, October 26, 2006 9:28 AM
 Subject: RE: Urgent Prod server down - JVM config setting?


 Josh,

 Look in your cfusionmx7 directory under the /runtime/bin/ directory for
 the
 jvm.config. As a side note you should ALWAYS change this file directly 
 and
 should not use the admin to do it.  See this post on the topic.

 http://www.coldfusionmuse.com/index.cfm/2005/10/28/jvm.gc

 Custom settings can get wiped out - and/or the args can be mangled so 
 that
 it refuses to start.

 Check in the runtime/logs/*server*-out.log file for clues on the startup
 problem.

 -Mark


 -Original Message-
 From: Josh Nathanson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 26, 2006 11:15 AM
 To: CF-Talk
 Subject: Urgent Prod server down - JVM config setting?

 Hello all,

 This morning we restarted our server after bumping up our JVM max heap
 size
 to 1024 MB, and it crashed.  Now we can't get into the CF admin to change
 it
 back.  Where would I find the setting in a config file so I can get the
 server restarted?  This is kind of an emergency.

 -- Josh







 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: form target

2006-10-26 Thread Christine Davis
I decided I want to take this quiz... here is my guess:  The ampersand
after id=' needs to be a plus sign.  Am I right?  

I've never had problems putting multiple inline JavaScript statements in
one onClick YMMV...  

input type=button
onClick=window.opener.document.location.href='parent.cfm?id=' +
document.forms.popupform.resid.value; self.close(); value=Submit

Thanks!
Christine Davis
ColdFusion Lead
Nations Technical Services
Prairie Village, KS
913-748-8044 ext 4703
[EMAIL PROTECTED]

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 11:29 AM
To: CF-Talk
Subject: RE: form target

I suggest you call a single fucntion with your onlclick, as putting
multiple
statements inline often doesn't work.

Russ 

-Original Message-
From: Ken [mailto:[EMAIL PROTECTED] 
Sent: 26 October 2006 17:14
To: CF-Talk
Subject: Re: form target

Thanks guys. However, instead of passing the variable through a form
variable, i decided to send it in the url. But its not working either.
Here's my code. Please tell whats wrong in it:
form name=popupform
1 input type=radio name=resid value=1 checked=checked /br /

2 input type=radio name=resid value=2 /br /

3 input type=radio name=resid value=3 /

br /
br /
input type=button
onClick=window.opener.document.location.href='parent.cfm?id=' 
document.forms.popupform.resid.value; self.close(); value=Submit

/form


Thanks,
Ken

On 10/26/06, Bobby Hartsfield [EMAIL PROTECTED] wrote:
 Maybe I'M the one who should have been a little clearer. Passing 
 something... anything... from the popup window to the parent is not a 
 problem.
 window.opener.document.getElementById('somediv').innerHTML = 
 document.forms.popupform.popupfield.value;

 that would take the value of a field in the popup windows form and put

 it in a div tag in the parent called 'somediv'

 window.opener.document.forms.parentform.parentfield.value = 
 document.forms.popupform.popupfield.value;

 that would take the SAME value as before and place it in a form field 
 on the parent page.

 If you had to submit the parent afterwards, soemthign like this should

 do it.

 window.opener.forms.parentform.submit();

 ... I think. I haevn't tested it (or any of this for that matter. Im 
 sure its riddled with typos


 But I guess the question should be... what exactly to you hope to do 
 with the value once its gotten to the parent...


 -Original Message-
 From: Ken [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 26, 2006 11:32 AM
 To: cf-talk@houseoffusion.com
 Subject: Re: form target

 Ok. What i want to do is this:

 From the popup window, on submit I want to pass the value of a field 
 to the parent window, then close the pop-up.

 I hope the above clears any doubts about what i need.

 On 10/26/06, Coldfusion [EMAIL PROTECTED] wrote:
  Try something like this: (did not test it)
 
  form target=_parent onSubmit=SubmitMyForm()
 
  script type=javascript
  SubmitMyForm(){
  document.forms[0].submit();
  self.close();
  }
  /script
 
 
 
  -Original Message-
  From: Ken [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 26, 2006 10:11 AM
  To: CF-Talk
  Subject: form target
 
  Sorry guys. I think I missed my morning coffee. I'll just re-phrase 
  my question. Please ignore previous post. Here goes:
  My page opens a pop-up window (a cfm page). From there I want to 
  submit a form to the first page, the base window, and once that is 
  done, I want to close the pop-up.
  Please help.
 
  Thanks,
  K
 
 
 
  





~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: form target

2006-10-26 Thread Jim Wright
Ken wrote:
 Thanks guys. However, instead of passing the variable through a form
 variable, i decided to send it in the url. But its not working either.
 Here's my code. Please tell whats wrong in it:
 form name=popupform
 1 input type=radio name=resid value=1 checked=checked /br /
 
 2 input type=radio name=resid value=2 /br /
 
 3 input type=radio name=resid value=3 /
 
 br /
 br /
 input type=button
 onClick=window.opener.document.location.href='parent.cfm?id=' 
 document.forms.popupform.resid.value; self.close(); value=Submit
 
 /form
 

The resid.value is the part that is not valid...with radio buttons, you 
would have to determine which one is checked and then look at it's value 
with syntax like resid[1].value.  Rather than doing that, you could do 
something like...

input type=radio name=resid value=1 
onClick=window.opener.document.location.href='parent.cfm?id='  
this.value; self.close(); /
etc.

eliminating the need for your submit button.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Help Initializing Pseudo-Constructor using CFOBJECT

2006-10-26 Thread Aaron Roberson
Charlie,

My reason for opting for cfobject is a bit unique. I am working with
tech support at Web Assist for their eCart product. Currently, it does
recognize CFC Queries as recordsets. I have noticed that Dreamweaver
does recognize CFC Queries when using placing !--- CFC Query --- as
a comment between cfinvoke/cfinvoke tags.

This made me think that WA eCart could recognize CFC Queries in the
same way. However, I don't want to invoke my component each time I
invoke one of its methods. Therefore, I was thinking of using cfobject
to instantiate the component and cfinvoke to call the method and place
the DW specific comment between the tags.

I'm not even sure if Web Assist will implement such a compatability
feature, but that is what I suggested to them.

Is it possible to use createobject instead of cfobject and then use
the variable name for the object as the component name in cfinvoke?
Here is an example of what I am asking:

cfset gateway = createObject(component, myCFC).init(application.dsn) /
cfinvoke component=gateway method=getRecordset
returnvariable=qRecordset!--- CFC Query ---/cfinvoke

Unfortunately, Dreamweaver doesn't even support using createObject or
cfobject. When I place the DW comments between the cfinvoke / tags
when specifying the component name as the cfobject name or
createObject variable name Dreamweaver says that the component could
not be found it and does not display the recordset in the Bindings tab
of the Application panel. I submitted a feature request to Adobe, but
who knows when they will even look at it and how much longer still
until they do something about it (not a slant on Adobe's team, just a
reality when dealing with a corporation that size). I'm wondering what
CFEclipses support of these things is like?

-Aaron

On 10/26/06, Charlie Griefer [EMAIL PROTECTED] wrote:
 i believe you'd need a cfinvoke for your init() method.

 so you need to insert cfinvoke before the one you have listed.
 cfinvoke component=gateway method=init dsn=#application.dsn# /

 just out of curiousity...any reason you want cfobject over the
 createObject() way?  I'm sure when it all boils down you'll have 6 of
 1, half-dozen of the other...but at the very least, the createObject()
 allows the method chaining so it's easier to invoke the init() when
 you first instantiate your CFC.

 I've also read (I think Sean C. said it) that the method chaining
 syntax is a little tighter as it prevents any race condition issues
 that may arise (especially if you're creating your CFC into the
 application scope).

 On 10/26/06, Aaron Roberson [EMAIL PROTECTED] wrote:
  I have been creating and invoking my CFCs like such:
 
  cfset gateway = createObject(component,
  appName.path.cfc).init(application.dsn) /
  cfset qRecordset = gateway.getRecords() /
 
  But I am considering using cfobject instead. Here is a comparison:
 
  cfobject name=gateway component=appName.path.cfc
  cfinvoke component=gateway method=getRecords 
  returnvariable=qRecordset
 
  The only problem is that I don't know how to pass the datasource name
  to the init function upon creating the object using cfobject.
 
  What am I missing? Any help would be appreciated.
 
  Thanks,
  Aaron
 
 

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: OT: authorize.net

2006-10-26 Thread Jon Clausen
You're right!   I just ran a test with one of my own cards and a  
bogus exp date and it went through.

I used to use a bogus expiration date to check the processor on live  
sites, but I haven't needed to for awhile.

That stinks.   Good thing I pay for the fraud protection, I guess...

-Jon

On Oct 26, 2006, at 12:11 PM, Bryan Stevenson wrote:

 I'm on Payflow Pro as a Gateway with Moneris/Vital as a Processor,
 but they validate everything, every time, including the CCV code.

 That's oddwe use Moneris and they do not check the expiry date



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258141
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: CFFormProtect, new open source project

2006-10-26 Thread Munson, Jacob
What about huge sites like Amazon.com?  I can understand the desire to
make forms more accessible, but it seems like you need to draw a line at
some point.  If you're getting thousands of form submissions a day,
you're going to have to hire an army of people to manually sift through
stuff.  I think that's why the big companies implement a customer
service number for people that can't use the forms.

 -Original Message-
 From: Sandra Clark [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, October 26, 2006 6:13 AM
 To: CF-Talk
 Subject: RE: ANN: CFFormProtect, new open source project
 
 I went a different route on my blog.  Besides accessibility 
 issues, I wanted
 to make it my responsibility rather than my users to prove 
 they are human.
 So I maintain a blacklist.
 
 More importantly I set two session variables on my comment form (a
 session.commentuser and a session.commentdatetime) which I use on the
 comment add page.  If the session variables don't exist 
 (meaning the posting
 didn't come from my form on my site, then the user is 
 blacklisted using both
 ip and email.  (When I was getting bombarded by spam 
 comments, I logged them
 all and realized that spammers do re-use ip addresses and 
 email addresses).
 I also maintain a word blacklist that blacklists all comments 
 containing
 frequent spam words.  I add to that all the time.  
 
 When a new user comes in, the comment gets posted and an 
 email comes to me
 with the comment.  I have the option of either whitelisting a 
 user (in which
 case they can post from that email and ip without further 
 intervention from
 me.  If the user is blacklisted already, their comment gets 
 thrown out and
 never sees the light of day.  New posters are sent to me and 
 I have the
 opportunity to whitelist or blacklist them at that point.
 
 My spam has dropped from 100-250 spam comments a day to about 
 5-15 a week,
 which is extremely manageable.  I need to rework the word 
 blacklist so that
 I can update that automatically (currently its in an .ini 
 file, which I am
 adding to manually and uploading).
 
 Although both Captcha's and Human Auth tags are understandable in the
 context of being bombarded by spam, I don't think its fair to 
 require our
 users to prove they are human. 

EMF idahopower.com made the following annotations.
--
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. 

==


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: MG:U Breeze Preso Tonight

2006-10-26 Thread Nick Tong - TalkWebSolutions.co.uk
will this be recorded?

On 26/10/06, Cutter (CFRelated) [EMAIL PROTECTED] wrote:

 **From the Nashville ColdFusion User Group (http://www.ncfug.com)**

 PRESENTATION:
 Stephen Cutter Blades on Object-Oriented development with Model-Glue
 Unity.

 WHAT YOU WILL LEARN / TOPICS COVERED:

  * Why MVC?
  * How does autowiring speed your development?
  * Installation of the Core Unity Frameworks (Model-Glue,
 Coldspring, Reactor)
  * Creating a new Model-Glue application
  * Configuration files explained
  * Defining Model, View, Controller
  * The Power of Unity
  * Defining scaffolds for automatic db interaction
  * Modifying and extending auto generated code
  * Debugging your app
  * Sample application

 ** All attendees must RSVP by sending an e-mail to rsvp AT ncfug DOT com.
 **

 BREEZE INFORMATION:
 This meeting will be broadcast via Breeze. All interested participants
 must register for the Breeze portion of the meeting in advance. To
 register, please send an e-mail to rsvp AT ncfug DOT com and include
 your name and the text Will attend via Breeze. Please keep in mind
 that sometimes there are audio problems when presenting via Breeze. If
 there are audio problems during this presentation we will do our best to
 address them but we will not halt the presentation to troubleshoot
 issues. Broadcasting this preso via Breeze is a community service we
 offer while our in-person portion of the meeting is the main focus of
 the evening. Please keep this in mind if you are attending via Breeze.

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258143
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: CFFormProtect, new open source project

2006-10-26 Thread Sandra Clark
Forms themselves are very easy to make accessible through markup.  That
isn't the point.  Case in point, Amazon doesn't rely on a captcha for
anything.  Instead, prior to writing a review, they require you have made a
purchase and that the credit card go through.  Neither does Ebay.  Captchas
or Human Auth's don't make forms more accessible, they make them less so, by
making a person prove they are real and not a bot.  

For a small site like mine, my solution is working very well.  Not many of
us have to implement sites the size of Amazon or Ebay.  


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility


-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 1:20 PM
To: CF-Talk
Subject: RE: ANN: CFFormProtect, new open source project

What about huge sites like Amazon.com?  I can understand the desire to make
forms more accessible, but it seems like you need to draw a line at some
point.  If you're getting thousands of form submissions a day, you're going
to have to hire an army of people to manually sift through stuff.  I think
that's why the big companies implement a customer service number for people
that can't use the forms.

 -Original Message-
 From: Sandra Clark [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 26, 2006 6:13 AM
 To: CF-Talk
 Subject: RE: ANN: CFFormProtect, new open source project
 
 I went a different route on my blog.  Besides accessibility issues, I 
 wanted to make it my responsibility rather than my users to prove they 
 are human.
 So I maintain a blacklist.
 
 More importantly I set two session variables on my comment form (a 
 session.commentuser and a session.commentdatetime) which I use on the 
 comment add page.  If the session variables don't exist (meaning the 
 posting didn't come from my form on my site, then the user is 
 blacklisted using both ip and email.  (When I was getting bombarded by 
 spam comments, I logged them all and realized that spammers do re-use 
 ip addresses and email addresses).
 I also maintain a word blacklist that blacklists all comments 
 containing frequent spam words.  I add to that all the time.
 
 When a new user comes in, the comment gets posted and an email comes 
 to me with the comment.  I have the option of either whitelisting a 
 user (in which case they can post from that email and ip without 
 further intervention from me.  If the user is blacklisted already, 
 their comment gets thrown out and never sees the light of day.  New 
 posters are sent to me and I have the opportunity to whitelist or 
 blacklist them at that point.
 
 My spam has dropped from 100-250 spam comments a day to about
 5-15 a week,
 which is extremely manageable.  I need to rework the word blacklist so 
 that I can update that automatically (currently its in an .ini file, 
 which I am adding to manually and uploading).
 
 Although both Captcha's and Human Auth tags are understandable in the 
 context of being bombarded by spam, I don't think its fair to require 
 our users to prove they are human.

EMF idahopower.com made the following annotations.

--
This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. 


==




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Help Initializing Pseudo-Constructor using CFOBJECT

2006-10-26 Thread Charlie Griefer
Aaron:

I don't use DW and I'm not familiar with Web Assist's eCart... so I'm
afraid I can't really be of help there.

What I can tell you is yes, you can instantiate a CFC using
createObject(), and invoke methods via the cfinvoke tag afterwards.

On 10/26/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 Charlie,

 My reason for opting for cfobject is a bit unique. I am working with
 tech support at Web Assist for their eCart product. Currently, it does
 recognize CFC Queries as recordsets. I have noticed that Dreamweaver
 does recognize CFC Queries when using placing !--- CFC Query --- as
 a comment between cfinvoke/cfinvoke tags.

 This made me think that WA eCart could recognize CFC Queries in the
 same way. However, I don't want to invoke my component each time I
 invoke one of its methods. Therefore, I was thinking of using cfobject
 to instantiate the component and cfinvoke to call the method and place
 the DW specific comment between the tags.

 I'm not even sure if Web Assist will implement such a compatability
 feature, but that is what I suggested to them.

 Is it possible to use createobject instead of cfobject and then use
 the variable name for the object as the component name in cfinvoke?
 Here is an example of what I am asking:

 cfset gateway = createObject(component, myCFC).init(application.dsn) /
 cfinvoke component=gateway method=getRecordset
 returnvariable=qRecordset!--- CFC Query ---/cfinvoke

 Unfortunately, Dreamweaver doesn't even support using createObject or
 cfobject. When I place the DW comments between the cfinvoke / tags
 when specifying the component name as the cfobject name or
 createObject variable name Dreamweaver says that the component could
 not be found it and does not display the recordset in the Bindings tab
 of the Application panel. I submitted a feature request to Adobe, but
 who knows when they will even look at it and how much longer still
 until they do something about it (not a slant on Adobe's team, just a
 reality when dealing with a corporation that size). I'm wondering what
 CFEclipses support of these things is like?

 -Aaron

 On 10/26/06, Charlie Griefer [EMAIL PROTECTED] wrote:
  i believe you'd need a cfinvoke for your init() method.
 
  so you need to insert cfinvoke before the one you have listed.
  cfinvoke component=gateway method=init dsn=#application.dsn# /
 
  just out of curiousity...any reason you want cfobject over the
  createObject() way?  I'm sure when it all boils down you'll have 6 of
  1, half-dozen of the other...but at the very least, the createObject()
  allows the method chaining so it's easier to invoke the init() when
  you first instantiate your CFC.
 
  I've also read (I think Sean C. said it) that the method chaining
  syntax is a little tighter as it prevents any race condition issues
  that may arise (especially if you're creating your CFC into the
  application scope).
 
  On 10/26/06, Aaron Roberson [EMAIL PROTECTED] wrote:
   I have been creating and invoking my CFCs like such:
  
   cfset gateway = createObject(component,
   appName.path.cfc).init(application.dsn) /
   cfset qRecordset = gateway.getRecords() /
  
   But I am considering using cfobject instead. Here is a comparison:
  
   cfobject name=gateway component=appName.path.cfc
   cfinvoke component=gateway method=getRecords 
   returnvariable=qRecordset
  
   The only problem is that I don't know how to pass the datasource name
   to the init function upon creating the object using cfobject.
  
   What am I missing? Any help would be appreciated.
  
   Thanks,
   Aaron
  
  
 
 

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258145
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: CFFormProtect, new open source project

2006-10-26 Thread Brad Wood
 Neither does Ebay

Speaking of E-bay, they use some sort of algorithm to try and pinpoint
spam.  I tried to send a user a message once after an auction just to
ask if he was going to re-list and I got an automated reply back saying
my message had been blocked because it might have been spam. That ticked
me off.  I would have GLADLY typed in a quick Captcha in order to get my
message through than to have E-Bay automated message tell me to screw
off and not even provide a way to vindicate myself.  Luckily I had the
guys E-mail

~Brad

-Original Message-
From: Sandra Clark [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 12:49 PM
To: CF-Talk
Subject: RE: ANN: CFFormProtect, new open source project

Forms themselves are very easy to make accessible through markup.  That
isn't the point.  Case in point, Amazon doesn't rely on a captcha for
anything.  Instead, prior to writing a review, they require you have
made a
purchase and that the credit card go through.  Neither does Ebay.
Captchas
or Human Auth's don't make forms more accessible, they make them less
so, by
making a person prove they are real and not a bot.  

For a small site like mine, my solution is working very well.  Not many
of
us have to implement sites the size of Amazon or Ebay.  


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility


-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 1:20 PM
To: CF-Talk
Subject: RE: ANN: CFFormProtect, new open source project

What about huge sites like Amazon.com?  I can understand the desire to
make
forms more accessible, but it seems like you need to draw a line at some
point.  If you're getting thousands of form submissions a day, you're
going
to have to hire an army of people to manually sift through stuff.  I
think
that's why the big companies implement a customer service number for
people
that can't use the forms.

 -Original Message-
 From: Sandra Clark [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 26, 2006 6:13 AM
 To: CF-Talk
 Subject: RE: ANN: CFFormProtect, new open source project
 
 I went a different route on my blog.  Besides accessibility issues, I 
 wanted to make it my responsibility rather than my users to prove they

 are human.
 So I maintain a blacklist.
 
 More importantly I set two session variables on my comment form (a 
 session.commentuser and a session.commentdatetime) which I use on the 
 comment add page.  If the session variables don't exist (meaning the 
 posting didn't come from my form on my site, then the user is 
 blacklisted using both ip and email.  (When I was getting bombarded by

 spam comments, I logged them all and realized that spammers do re-use 
 ip addresses and email addresses).
 I also maintain a word blacklist that blacklists all comments 
 containing frequent spam words.  I add to that all the time.
 
 When a new user comes in, the comment gets posted and an email comes 
 to me with the comment.  I have the option of either whitelisting a 
 user (in which case they can post from that email and ip without 
 further intervention from me.  If the user is blacklisted already, 
 their comment gets thrown out and never sees the light of day.  New 
 posters are sent to me and I have the opportunity to whitelist or 
 blacklist them at that point.
 
 My spam has dropped from 100-250 spam comments a day to about
 5-15 a week,
 which is extremely manageable.  I need to rework the word blacklist so

 that I can update that automatically (currently its in an .ini file, 
 which I am adding to manually and uploading).
 
 Although both Captcha's and Human Auth tags are understandable in the 
 context of being bombarded by spam, I don't think its fair to require 
 our users to prove they are human.

EMF idahopower.com made the following annotations.


--
This transmission may contain information that is privileged,
confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure,
copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this
transmission
in error, please immediately contact the sender and destroy the material
in
its entirety, whether in electronic or hard copy format. Thank you. 



==






~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258146
Subscription: 

Re: OT: Open DNS Server / Recursion

2006-10-26 Thread Eric Haskins
Dont block DNS requests at the firewall. Your customers wont be happy when
their sites dont resolve :)

We have recursion turned off on our DotCom DNS because we only host 6
Domains. All our coporate users use a Recursing DNS server to do their
surfing. So if it is for both Surfing and Hosting then you need recursive
lookups. If the server will only answer requests for your domains then turn
off recursive lookups to save some traffic.  In either case dont block port
53 at the firewall or by bye websites :)

Eric Haskins
Web Systems Developer
Rooms To Go



On 10/26/06, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Thursday 26 October 2006 13:43, Jenny Gavin-Wear wrote:
  I have a problem in that when I disable Recursive look ups the DNS
 servers
  then fail to answer DNS queries from the local IP addresses.
  Any ideas anyone please?

 Don't turn recursive lookups off :-)
 They are what makes your DNS server go off and ask other ones, so when you
 turn if off *bam* no resolved hosts apart whatever the server itself knows
 about.
 A more normal solution is to block incoming DNS requests at the firewall.

 --
 Tom Chiverton
 Helping to competently architect web-enabled initiatives

 

 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.


 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Open DNS Server / Recursion

2006-10-26 Thread Russ
Easy... don't disable recursive lookups.  

Without recursive lookups, your DNS server will only respond to queries
about things that it knows... i.e. the dns entries hosted on your server.   

In order for it to resolve domains that it knows nothing about, it must go
and do a recursive lookup using other dns servers. 

Russ

 -Original Message-
 From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 26, 2006 8:44 AM
 To: CF-Talk
 Subject: OT: Open DNS Server / Recursion
 
 Totally off topic.
 
 I run DNS servers for a number of domains and also mail servers for those
 domains.
 
 I have a problem in that when I disable Recursive look ups the DNS servers
 then fail to answer DNS queries from the local IP addresses.
 
 Any ideas anyone please?
 
 Jenny
 
 Jennifer Gavin-Wear
 Fast Track Online
 Tel: 01262 602013
 http://www.fasttrackonline.co.uk/
 
 
 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.408 / Virus Database: 268.13.11/497 - Release Date:
 25/10/2006
 
 
 
 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


SOAP and WSDL.

2006-10-26 Thread J W
I'll try to make this as simple as possible in hope I get a response.

I have a particular web service I need to consume. Using its WSDL file I
have locally, how can I make a direct SOAP call to it using the actual XML
SOAP envelope?

It balks when trying to use cfinvoke with CFinvokearguments, giving me a
method doesn't exit error. I figure I can invoke the service somehow using
CFHTTP and using the entire soap envelope to call the web service. Am I
barking up the wrong tree here?

Looking at the actual soap body inside the envelope, Since its XML there are
a number of child tags inside i.e.

soapenv:Body
the_request
security_header
 some_elementwhatever/some_element
 another_elementwhatever2/another_element
/security_header
config_header
 some_configelementwhatever/some_configelement
 another_configelementwhatever2/another_configelement
/config_header
data
 some_dataelementwhatever/some_dataelement
 another_dataelementwhatever2/another_dataelement
/data
/the_request
/soapenv:body

Thats it, no magic, no soap headers, nothing. Its all contained within the
body. Side note: How does CFinvoke arguments keep track of what child
elements they are under in the call?

Any help would be appreciated.. Thanks!

Jeff


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


using cfhttp to submit to a form processing page on another server

2006-10-26 Thread Andy Matthews
I'm testing something for a local contest. The details say that you can
submit as many times as you like so I'm trying out the old cfhttp the form
variables to their processing page.

When I run it once it works just fine, and appears to submit successfully.
So I bumped it up to 500 and went on doing my work. But it just sat and spun
for a few minutes then timed out with this error:

The request has exceeded the allowable time limit Tag: cfhttp
The error occurred on line 4.

So I reduced it further and further until I found that I could set it to 10
and it would run. That's little better than doing it all by hand so I want
to find out how I can go about increasing the time limit or something that
will let me run it at least 50 or 100 times in a row.

This is the code I'm using:
cfloop from=1 to=25 index=i
cfhttp url=http://dannyandnina.com/thanks.php; method=post
cfhttpparam name=state type=formField value=43
cfhttpparam name=town type=formField value=206
/cfhttp
cfoutput#i#br //cfoutput
/cfloop

Even s5 times out. This is one of things which my PHP friends would say that
PHP would have no problem with, and I know CF is every bit as powerful and
useful, but why am I encountering this issue?

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258150
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 cfhttp to submit to a form processing page on another server

2006-10-26 Thread Snake
Why not just set it to a value that works, and set a schedules task to call
this page every minute

Snake 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: 26 October 2006 19:37
To: CF-Talk
Subject: using cfhttp to submit to a form processing page on another server

I'm testing something for a local contest. The details say that you can
submit as many times as you like so I'm trying out the old cfhttp the form
variables to their processing page.

When I run it once it works just fine, and appears to submit successfully.
So I bumped it up to 500 and went on doing my work. But it just sat and spun
for a few minutes then timed out with this error:

The request has exceeded the allowable time limit Tag: cfhttp The error
occurred on line 4.

So I reduced it further and further until I found that I could set it to 10
and it would run. That's little better than doing it all by hand so I want
to find out how I can go about increasing the time limit or something that
will let me run it at least 50 or 100 times in a row.

This is the code I'm using:
cfloop from=1 to=25 index=i
cfhttp url=http://dannyandnina.com/thanks.php; method=post
cfhttpparam name=state type=formField value=43
cfhttpparam name=town type=formField value=206
/cfhttp
cfoutput#i#br //cfoutput
/cfloop

Even s5 times out. This is one of things which my PHP friends would say that
PHP would have no problem with, and I know CF is every bit as powerful and
useful, but why am I encountering this issue?

!//--
andy matthews
web developer
certified advanced coldfusion programmer ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Help Initializing Pseudo-Constructor using CFOBJECT

2006-10-26 Thread Aaron Roberson
Charlie.

I must say that Web Assist has awesome support (you have to pay for it
though, but I got five free incidents when I purchased the product). A
tech called me just know, sent me to a website where I could login to
Breeze and share my screen. He then took over the page in Dreamweaver
and showed me how to do what I was trying to do, explaining
everything.

Unless Dreamweaver supports using createObject and cfinvoke I am not
going to bother with cfinvoke. I will just keep using cfset and
createObject() to instantiate my object and cfset to invoke each
method.

Thanks,
Aaron

On 10/26/06, Charlie Griefer [EMAIL PROTECTED] wrote:
 Aaron:

 I don't use DW and I'm not familiar with Web Assist's eCart... so I'm
 afraid I can't really be of help there.

 What I can tell you is yes, you can instantiate a CFC using
 createObject(), and invoke methods via the cfinvoke tag afterwards.

 On 10/26/06, Aaron Roberson [EMAIL PROTECTED] wrote:
  Charlie,
 
  My reason for opting for cfobject is a bit unique. I am working with
  tech support at Web Assist for their eCart product. Currently, it does
  recognize CFC Queries as recordsets. I have noticed that Dreamweaver
  does recognize CFC Queries when using placing !--- CFC Query --- as
  a comment between cfinvoke/cfinvoke tags.
 
  This made me think that WA eCart could recognize CFC Queries in the
  same way. However, I don't want to invoke my component each time I
  invoke one of its methods. Therefore, I was thinking of using cfobject
  to instantiate the component and cfinvoke to call the method and place
  the DW specific comment between the tags.
 
  I'm not even sure if Web Assist will implement such a compatability
  feature, but that is what I suggested to them.
 
  Is it possible to use createobject instead of cfobject and then use
  the variable name for the object as the component name in cfinvoke?
  Here is an example of what I am asking:
 
  cfset gateway = createObject(component, myCFC).init(application.dsn) /
  cfinvoke component=gateway method=getRecordset
  returnvariable=qRecordset!--- CFC Query ---/cfinvoke
 
  Unfortunately, Dreamweaver doesn't even support using createObject or
  cfobject. When I place the DW comments between the cfinvoke / tags
  when specifying the component name as the cfobject name or
  createObject variable name Dreamweaver says that the component could
  not be found it and does not display the recordset in the Bindings tab
  of the Application panel. I submitted a feature request to Adobe, but
  who knows when they will even look at it and how much longer still
  until they do something about it (not a slant on Adobe's team, just a
  reality when dealing with a corporation that size). I'm wondering what
  CFEclipses support of these things is like?
 
  -Aaron
 
  On 10/26/06, Charlie Griefer [EMAIL PROTECTED] wrote:
   i believe you'd need a cfinvoke for your init() method.
  
   so you need to insert cfinvoke before the one you have listed.
   cfinvoke component=gateway method=init dsn=#application.dsn# /
  
   just out of curiousity...any reason you want cfobject over the
   createObject() way?  I'm sure when it all boils down you'll have 6 of
   1, half-dozen of the other...but at the very least, the createObject()
   allows the method chaining so it's easier to invoke the init() when
   you first instantiate your CFC.
  
   I've also read (I think Sean C. said it) that the method chaining
   syntax is a little tighter as it prevents any race condition issues
   that may arise (especially if you're creating your CFC into the
   application scope).
  
   On 10/26/06, Aaron Roberson [EMAIL PROTECTED] wrote:
I have been creating and invoking my CFCs like such:
   
cfset gateway = createObject(component,
appName.path.cfc).init(application.dsn) /
cfset qRecordset = gateway.getRecords() /
   
But I am considering using cfobject instead. Here is a comparison:
   
cfobject name=gateway component=appName.path.cfc
cfinvoke component=gateway method=getRecords 
returnvariable=qRecordset
   
The only problem is that I don't know how to pass the datasource name
to the init function upon creating the object using cfobject.
   
What am I missing? Any help would be appreciated.
   
Thanks,
Aaron
   
   
  
  
 
 

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


cftry and transactions

2006-10-26 Thread Steve Milburn
Hi folks

Can anyone tell me what is wrong with the following code?  It is a 
snippet of code from a cfc I am working on.  The problem I am having if 
that if one of the queries inside the loop fails for whatever reason 
(ie, db constraint error), the previous inserts are not removed from the 
db.  Shouldn't the rollback in the cfcatch take care of that for me? 

Thanks

cftry
cftransaction action=begin /
   
cfstoredproc procedure=addSequence datasource=sis
cfprocparam value=#arguments.seqName# 
cfsqltype=cf_sql_varchar type=in /
cfprocparam type=out cfsqltype=cf_sql_bigint 
variable=sequenceID /
/cfstoredproc
   
cfloop from=1 to=#arrayLen(seqArray)# index=index
cfquery name=addSequence datasource=sis
insert into sequenceLookup (sequenceID, examID, 
placeInOrder) values (
cfqueryparam value=#sequenceID# 
cfsqltype=cf_sql_bigint /,
cfqueryparam value=#seqArray[index][1]# 
cfsqltype=cf_sql_bigint /,
cfqueryparam value=#seqArray[index][2]# 
cfsqltype=cf_sql_bigint /
)
/cfquery
/cfloop
   
cfset returnObj[status] = true /
cfset returnObj[message] = Sequence Added. /
   
cftransaction action=commit /
cfcatch type=any
cftransaction action=rollback /
cfset returnObj[message] = cfcatch.Message  :   
cfcatch.Detail / 
/cfcatch
   
  /cftry
---
---


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258153
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 cfhttp to submit to a form processing page on another server

2006-10-26 Thread Ian Skinner
I believe you are running against the maximum request time out.  A setting on 
how long a page can be running.  This can be adjusted in either the 
administrator or with the cfapplication... tag.  I believe the url parameter 
is been deprecated in the current version of CF.

Another way we got around this issue just yesterday.  Only run one cfhttp per 
request, but then relocate to the page afterwards so that it runs again.  
You'll probably want some kind of trigger to stop this from going on endlessly. 
 We used a counter in the application scope.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: cftry and transactions

2006-10-26 Thread Steve Milburn
running CF7 and SQL Server 2005.

thanks


Steve Milburn wrote:
 Hi folks

 Can anyone tell me what is wrong with the following code?  It is a 
 snippet of code from a cfc I am working on.  The problem I am having if 
 that if one of the queries inside the loop fails for whatever reason 
 (ie, db constraint error), the previous inserts are not removed from the 
 db.  Shouldn't the rollback in the cfcatch take care of that for me? 

 Thanks

 cftry
 cftransaction action=begin /

 cfstoredproc procedure=addSequence datasource=sis
 cfprocparam value=#arguments.seqName# 
 cfsqltype=cf_sql_varchar type=in /
 cfprocparam type=out cfsqltype=cf_sql_bigint 
 variable=sequenceID /
 /cfstoredproc

 cfloop from=1 to=#arrayLen(seqArray)# index=index
 cfquery name=addSequence datasource=sis
 insert into sequenceLookup (sequenceID, examID, 
 placeInOrder) values (
 cfqueryparam value=#sequenceID# 
 cfsqltype=cf_sql_bigint /,
 cfqueryparam value=#seqArray[index][1]# 
 cfsqltype=cf_sql_bigint /,
 cfqueryparam value=#seqArray[index][2]# 
 cfsqltype=cf_sql_bigint /
 )
 /cfquery
 /cfloop

 cfset returnObj[status] = true /
 cfset returnObj[message] = Sequence Added. /

 cftransaction action=commit /
 cfcatch type=any
 cftransaction action=rollback /
 cfset returnObj[message] = cfcatch.Message  :   
 cfcatch.Detail / 
 /cfcatch

   /cftry
 ---
 ---


 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258155
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 cfhttp to submit to a form processing page on another server

2006-10-26 Thread Matt Quackenbush
You can also use cfsetting requesttimeout=number of seconds / to adjust
the timeout.
 

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 1:47 PM
To: CF-Talk
Subject: RE: using cfhttp to submit to a form processing page on another
server

I believe you are running against the maximum request time out.  A setting
on how long a page can be running.  This can be adjusted in either the
administrator or with the cfapplication... tag.  I believe the url
parameter is been deprecated in the current version of CF.

Another way we got around this issue just yesterday.  Only run one cfhttp
per request, but then relocate to the page afterwards so that it runs again.
You'll probably want some kind of trigger to stop this from going on
endlessly.  We used a counter in the application scope.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any attachments is for the
sole use of the intended
recipient(s) and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If you
are not the intended recipient, please contact the sender and delete any
copies of this message. 






~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: cftry and transactions

2006-10-26 Thread Stone, Mary L CTR NAWCAD, Bldg 447
 try this:

cfcatch type=any
cftransaction action=rollback /
cfset returnObj[message] = cfcatch.Message  :  
cfcatch.Detail /
  cfset blnOk = false  //of course set this to true outside
cfcatch first
/cfcatch

cfif blnOk
cftransaction action=commit /
/cfif 
/cftransaction
   
  /cftry
Lori 


-Original Message-
From: Steve Milburn [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 14:50
To: CF-Talk
Subject: cftry and transactions

Hi folks

Can anyone tell me what is wrong with the following code?  It is a
snippet of code from a cfc I am working on.  The problem I am having if
that if one of the queries inside the loop fails for whatever reason
(ie, db constraint error), the previous inserts are not removed from the
db.  Shouldn't the rollback in the cfcatch take care of that for me? 

Thanks

cftry
cftransaction action=begin /
   
cfstoredproc procedure=addSequence datasource=sis
cfprocparam value=#arguments.seqName# 
cfsqltype=cf_sql_varchar type=in /
cfprocparam type=out cfsqltype=cf_sql_bigint 
variable=sequenceID /
/cfstoredproc
   
cfloop from=1 to=#arrayLen(seqArray)# index=index
cfquery name=addSequence datasource=sis
insert into sequenceLookup (sequenceID, examID,
placeInOrder) values (
cfqueryparam value=#sequenceID# 
cfsqltype=cf_sql_bigint /,
cfqueryparam value=#seqArray[index][1]# 
cfsqltype=cf_sql_bigint /,
cfqueryparam value=#seqArray[index][2]# 
cfsqltype=cf_sql_bigint /
)
/cfquery
/cfloop
   
cfset returnObj[status] = true /
cfset returnObj[message] = Sequence Added. /
   
cftransaction action=commit /
cfcatch type=any
cftransaction action=rollback /
cfset returnObj[message] = cfcatch.Message  :   
cfcatch.Detail / 
/cfcatch
   
  /cftry
---
---




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258157
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 cfhttp to submit to a form processing page on another server

2006-10-26 Thread Aaron Roberson
What state and town are you voting for...?

On 10/26/06, Andy Matthews [EMAIL PROTECTED] wrote:
 I'm testing something for a local contest. The details say that you can
 submit as many times as you like so I'm trying out the old cfhttp the form
 variables to their processing page.

 When I run it once it works just fine, and appears to submit successfully.
 So I bumped it up to 500 and went on doing my work. But it just sat and spun
 for a few minutes then timed out with this error:

 The request has exceeded the allowable time limit Tag: cfhttp
 The error occurred on line 4.

 So I reduced it further and further until I found that I could set it to 10
 and it would run. That's little better than doing it all by hand so I want
 to find out how I can go about increasing the time limit or something that
 will let me run it at least 50 or 100 times in a row.

 This is the code I'm using:
 cfloop from=1 to=25 index=i
 cfhttp url=http://dannyandnina.com/thanks.php; method=post
 cfhttpparam name=state type=formField value=43
 cfhttpparam name=town type=formField value=206
 /cfhttp
 cfoutput#i#br //cfoutput
 /cfloop

 Even s5 times out. This is one of things which my PHP friends would say that
 PHP would have no problem with, and I know CF is every bit as powerful and
 useful, but why am I encountering this issue?

 !//--
 andy matthews
 web developer
 certified advanced coldfusion programmer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-


 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258158
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 cfhttp to submit to a form processing page on another server

2006-10-26 Thread Ian Skinner
You can also use cfsetting requesttimeout=number of seconds / to adjust the 
timeout.
 

Ahh yes, that is what I meant, not the cfapplication ... tag.  I always get 
these confused.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: cftry and transactions

2006-10-26 Thread Stone, Mary L CTR NAWCAD, Bldg 447
Never mind.  I am not sure about cf 7 but on our earlier versions
sometimes the rollback would not work unless I did it that way.


Lori


-Original Message-
From: Stone, Mary L CTR NAWCAD, Bldg 447
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006 15:01
To: CF-Talk
Subject: RE: cftry and transactions

 try this:

cfcatch type=any
cftransaction action=rollback /
cfset returnObj[message] = cfcatch.Message  :  
cfcatch.Detail /
  cfset blnOk = false  //of course set this to true outside
cfcatch first
/cfcatch

cfif blnOk
cftransaction action=commit /
/cfif
/cftransaction
   
  /cftry
Lori 


-Original Message-
From: Steve Milburn [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 14:50
To: CF-Talk
Subject: cftry and transactions

Hi folks

Can anyone tell me what is wrong with the following code?  It is a
snippet of code from a cfc I am working on.  The problem I am having if
that if one of the queries inside the loop fails for whatever reason
(ie, db constraint error), the previous inserts are not removed from the
db.  Shouldn't the rollback in the cfcatch take care of that for me? 

Thanks

cftry
cftransaction action=begin /
   
cfstoredproc procedure=addSequence datasource=sis
cfprocparam value=#arguments.seqName# 
cfsqltype=cf_sql_varchar type=in /
cfprocparam type=out cfsqltype=cf_sql_bigint 
variable=sequenceID /
/cfstoredproc
   
cfloop from=1 to=#arrayLen(seqArray)# index=index
cfquery name=addSequence datasource=sis
insert into sequenceLookup (sequenceID, examID,
placeInOrder) values (
cfqueryparam value=#sequenceID# 
cfsqltype=cf_sql_bigint /,
cfqueryparam value=#seqArray[index][1]# 
cfsqltype=cf_sql_bigint /,
cfqueryparam value=#seqArray[index][2]# 
cfsqltype=cf_sql_bigint /
)
/cfquery
/cfloop
   
cfset returnObj[status] = true /
cfset returnObj[message] = Sequence Added. /
   
cftransaction action=commit /
cfcatch type=any
cftransaction action=rollback /
cfset returnObj[message] = cfcatch.Message  :   
cfcatch.Detail / 
/cfcatch
   
  /cftry
---
---






~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258160
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 cfhttp to submit to a form processing page on another server

2006-10-26 Thread Andy Matthews
Nashville, TN. Not that I care if they move here, but it really does fit a
lot of their criteria. I figured what the heck.

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Aaron Roberson [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 2:04 PM
To: CF-Talk
Subject: Re: using cfhttp to submit to a form processing page on another
server


What state and town are you voting for...?

On 10/26/06, Andy Matthews [EMAIL PROTECTED] wrote:
 I'm testing something for a local contest. The details say that you can
 submit as many times as you like so I'm trying out the old cfhttp the form
 variables to their processing page.

 When I run it once it works just fine, and appears to submit successfully.
 So I bumped it up to 500 and went on doing my work. But it just sat and
spun
 for a few minutes then timed out with this error:

 The request has exceeded the allowable time limit Tag: cfhttp
 The error occurred on line 4.

 So I reduced it further and further until I found that I could set it to
10
 and it would run. That's little better than doing it all by hand so I want
 to find out how I can go about increasing the time limit or something that
 will let me run it at least 50 or 100 times in a row.

 This is the code I'm using:
 cfloop from=1 to=25 index=i
 cfhttp url=http://dannyandnina.com/thanks.php; method=post
 cfhttpparam name=state type=formField value=43
 cfhttpparam name=town type=formField value=206
 /cfhttp
 cfoutput#i#br //cfoutput
 /cfloop

 Even s5 times out. This is one of things which my PHP friends would say
that
 PHP would have no problem with, and I know CF is every bit as powerful and
 useful, but why am I encountering this issue?

 !//--
 andy matthews
 web developer
 certified advanced coldfusion programmer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-






~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: CF chat in CFMX?

2006-10-26 Thread Andy Matthews
It does have to be CF based. I didn't notice that line about 6.1. That's
perfect!

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 25, 2006 10:35 PM
To: CF-Talk
Subject: RE: CF chat in CFMX?


http://www.opensourcecf.com/cfopenchat/


This chat room was written using Coldfusion MX 7 and ajaxCFC. If you're
here, you probably know what those are. It has been tested and will run on
Coldfusion MX 6.1.


-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 25, 2006 5:48 PM
To: CF-Talk
Subject: CF chat in CFMX?

Does anyone know of a CFMX based chat system? I found a list of apps on
cfopensource but the one I saw is CF7 only.

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-






~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: U Breeze Preso Tonight

2006-10-26 Thread Andy Matthews
Can't wait to be there in person!

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 11:43 AM
To: CF-Talk
Subject: MG:U Breeze Preso Tonight


**From the Nashville ColdFusion User Group (http://www.ncfug.com)**

PRESENTATION:
Stephen Cutter Blades on Object-Oriented development with Model-Glue
Unity.

WHAT YOU WILL LEARN / TOPICS COVERED:

 * Why MVC?
 * How does autowiring speed your development?
 * Installation of the Core Unity Frameworks (Model-Glue,
Coldspring, Reactor)
 * Creating a new Model-Glue application
 * Configuration files explained
 * Defining Model, View, Controller
 * The Power of Unity
 * Defining scaffolds for automatic db interaction
 * Modifying and extending auto generated code
 * Debugging your app
 * Sample application

** All attendees must RSVP by sending an e-mail to rsvp AT ncfug DOT com. **

BREEZE INFORMATION:
This meeting will be broadcast via Breeze. All interested participants
must register for the Breeze portion of the meeting in advance. To
register, please send an e-mail to rsvp AT ncfug DOT com and include
your name and the text Will attend via Breeze. Please keep in mind
that sometimes there are audio problems when presenting via Breeze. If
there are audio problems during this presentation we will do our best to
address them but we will not halt the presentation to troubleshoot
issues. Broadcasting this preso via Breeze is a community service we
offer while our in-person portion of the meeting is the main focus of
the evening. Please keep this in mind if you are attending via Breeze.



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


ColdFusion 7.0 Tags and Functions Poster

2006-10-26 Thread Wolfe, Aaron
Hello,
We are now a volume license customer, and we don't get the boxed version
of CF anymore.  Is there any way or place to the ColdFusion 7.0 Tags and
Functions Poster?
Thanks,

Aaron D. Wolfe
Senior Web Developer
The Berry Company; A BellSouth Company
3170 Kettering Blvd.
Dayton, OH 45439
[EMAIL PROTECTED]
937 296-4870
800 366-2379 x4870


--
The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential, proprietary and or privileged 
material. Any review, retransmission, dissemination or other use of, or taking 
of any action in reliance upon this information by persons or entities other 
than the intended recipient is prohibited. If you received this email in error, 
please contact the sender and delete the material from all computers.

This electronic mail message was sent from L. M. Berry  Company or Berry 
Network, Inc. Our primary business address is 3170 Kettering Blvd., Dayton, OH 
45439. This message may constitute a commercial solicitation or advertisement 
as defined by the CAN-SPAM act of 2003. If you do not wish to receive future 
commercial electronic mail solicitations or advertisements from L. M. Berry  
Company or Berry Network, Inc., please send a request to [EMAIL PROTECTED]

==


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


MS Access driver (not Unicode) error.

2006-10-26 Thread Ian Skinner
I am having trouble creating an ms access DSN.

When I create the DSN I am getting this error.

-
Unable to update the ColdFusion MX 7 ODBC Server.
An error occurred when performing a file operation WRITE on file 
C:\JRun4\servers\BSApps\cfusion.ear\cfusion.war\WEB-INF\cfusion\db\slserver54\admin\test.inp.
The cause of this exception was: java.io.FileNotFoundException: 
C:\JRun4\servers\BSApps\cfusion.ear\cfusion.war\WEB-INF\cfusion\db\slserver54\admin\test.inp
 (The system cannot find the path specified).
-

But this does create a row on the DataSource table.  When I then try to delete 
this DSN I receive the following error.

The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.

-
The following information is meant for the website developer for debugging 
purposes.
Error Occurred While Processing Request
An exception occurred when invoking an external process.
The cause of this exception was that: java.io.IOException: CreateProcess: 
C:\JRun4\servers\BSApps\cfusion.ear\cfusion.war\WEB-INF\cfusion\db\slserver54\admin\swcla.exe
 -l dsd 'Macromedia ColdFusion MX 7 ODBC Server' 'test' error=3.
 
The error occurred in _sl54del.cfm: line 12
Called from msaccess.cfm: line 56
Called from msaccess.cfm: line 39
Called from msaccess.cfm: line 1
Called from _sl54del.cfm: line 12
Called from msaccess.cfm: line 56
Called from msaccess.cfm: line 39
Called from msaccess.cfm: line 1

-1 : Unable to display error's location in a CFML template.
-

Here is some of my system information.

-
System Information
Server Details
Server Product  ColdFusion MX
Version 7,0,2,142559  
Edition Developer  
Serial Number   Developer  
Operating SystemWindows 2000  
OS Version  5.0  
JVM Details
Java Version1.4.2_09  
-

Any help?

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


images not respecting clear in cfdocument PDF

2006-10-26 Thread Zoe Gillenwater
First things first: I'm not a CF developer. I'm a designer/XHTML/CSS person, 
who works with a CF developer. So please spell things out for me, and forgive 
my ignorance.

A site I am working on uses the cfdocument tag to create PDFs of pages. The 
pages that are being converted are very image-heavy, and all of the images are 
floated, using CSS. They also have CSS clears on them to ensure that if one 
image wants to start before the previous one has ended they don't get hung up 
on one another. This works great in the HTML, but sometimes -- not always -- 
the clears are not respected in the PDFs that cfdocument outputs. I see no 
pattern in which images get caught on previous images.

Here's a PDF that exhibits the problem (second image gets hung up on
first one, but third image is fine):
http://www.saferoutesinfo.org/guide/tpo_pdf.cfm?ITEM=PageCHAPTER_ID=C353Page=guiding_principles_for_applying_srts_engineering_solutions.cfmPageTitle=Guiding%20Principles%20for%20Applying%20SRTS%20Engineering%20Solutions

Here's the page that the PDF was created from:
http://www.saferoutesinfo.org/guide/engineering/guiding_principles_for_applying_srts_engineering_solutions.cfm

Here's the style sheet that styles the PDFs:
http://www.saferoutesinfo.org/guide/css/pdf.css

Does anyone know if this is a known issue in cfdocument? Is there a
workaround (other than not floating the images, which I can't do)?

Thanks,
Zoe

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258166
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 cfhttp to submit to a form processing page on another server

2006-10-26 Thread Andy Matthews
That's a good idea. Thanks for the suggestion Ian!

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 1:47 PM
To: CF-Talk
Subject: RE: using cfhttp to submit to a form processing page on another
server


I believe you are running against the maximum request time out.  A setting
on how long a page can be running.  This can be adjusted in either the
administrator or with the cfapplication... tag.  I believe the url
parameter is been deprecated in the current version of CF.

Another way we got around this issue just yesterday.  Only run one cfhttp
per request, but then relocate to the page afterwards so that it runs again.
You'll probably want some kind of trigger to stop this from going on
endlessly.  We used a counter in the application scope.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-

C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.






~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: ColdFusion 7.0 Tags and Functions Poster

2006-10-26 Thread Bryan Stevenson
Talk to Michael at Tera-tech...he's probably already seen your post ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


cf_richTextArea

2006-10-26 Thread Axel Jensen
The link on PIM's blog doesn't seem to work,

 

Can anyone help a brother out?

 

 

 





 

Coldfusion Experts

 



Axel Jensen 

CF Webtools


11204 Davenport, Suite 200b 
Omaha, NE 68154 
http://www.cfwebtools.com http://www.cfwebtools.com/  
402-408-3733 Ext 106 


MSN: [EMAIL PROTECTED]


 

 

 



 https://www.plaxo.com/add_me?u=38656972822v0=4352522k0=921011193 Add me
to your address book...

 http://www.plaxo.com/signature Want a signature like this?

 





~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Constructing multi-user/multi-site applications...

2006-10-26 Thread Rick Faircloth
Ok.so I'm getting hammered as a custom designer/developer by
sites such as Z57.com (a real estate service/site provider) because
they can set up sites for their clients on-the-fly.

I develop custom sites, one-at-a-time.cost is much greater, time-to-live
is longer, so some of my clients are starting to question whether or not
they should go with the template-driven, packaged solutions of Z57.com
or Realtor.com.

There are two approaches to development at this point.

One, build complete sites as templates and sell the templates,
each as a complete site with separate database, etc.

Two, build one application which uses variables for everything on the
site, and store them in a database, and by using the CGI variable
to check for the domain name requested (CGI.Server_Name?),
set all the variables accordingly and have the site application load
all the appropriate content for the site.

The question.which way is best?  Will the One Application to Rule Them All
approach cause a much greater drain on my server?  Will the dynamic site
approach be slower in responsiveness?

Separate sites are much simpler, but I have to get directly involved with
each
client to do that.  With one application to dynamically build sites, I can
set it up
and watch it run, setting up sites for clients on the fly.

Anyone doing this kind of thing?

Thoughts?

Thanks,

Rick

PS - Remember, right now (and hopefully until CF 8 comes out) I want to
run this on CF 4.5.  I don't want to through a time-consuming learning curve
for CF 7, with the release of CF 8 coming soon to a server near you. 

I know if I build it with 4.5 now, I'll have to rebuild it with CF 8 again
later,
but I would have time to get to know CF 8 better first.







~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Can I write code in CF 8 for CF 4.5?

2006-10-26 Thread Rick Faircloth
Greetings, all.

I need to set up a development box and stop developing
directly to my production server, which is running CF 4.5.

I could set up 4.5 on the dev box and know that I have
consistency with the production server.

However, I already have CF 7 setup and could use it for
development.

Question:  If I write 4.5-style code in CF 7, will it run?

My primary objective is a development environment
compatible with my CF 4.5 production server.  However,
I would like to have CF 7 as the development server so I can
tinker with its enhancements, too.

Advice?

Thanks,

Rick



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


uploading multiple files questions

2006-10-26 Thread daniel kessler
I'm trying to upload multiple files to the server from a form with multiple file
buttons.  The code for the upload is below.  I have a couple of problems.

- I receive an error from Safari (not IE, or Firefox): Safari can’t open the 
page
“http://hhp.umd.edu/dean/notes/additem.cfm”. The error was: “POSIX error: 
Is
a directory” (NSPOSIXErrorDomain:21)

- so in the code, I check the file size.  I grabbed this code from something I 
did
years ago, but it uploaded one file.  I don't see the file name designated where
the file size is checking.  Which file then is it checking?  Or more a practical
question is how do I get it to check the file that's currently uploading?  It 
may be
for all I can tell.

  code  --
cfloop from=1 to=#Form.fileCount# index=uf
   cfset the_file_field = evaluate('form.take_aways_#uf#')
   cfif NOT structKeyExists(form,'take_aways_#uf#') OR the_file_field EQ 
''
   cfset the_file_field = 
   cfelse
   !--- Check that the directory exists to avoid getting an error
message. ---
   cfset newDirectory = listlast(listfirst(session.user.dn),=)
   cfset currentDirectory = 
GetDirectoryFromPath(GetTemplatePath()) 
note_files/#newDirectory#

   !--- Check to see if the Directory exists ---
   cfif NOT DirectoryExists(#currentDirectory#)
   cfdirectory action = create directory = 
#currentDirectory# 
   cfoutputpYour directory has been created./p/cfoutput
   cfelse
   cfoutputpYour had a directory./p/cfoutput
   /cfif
   cfoutput#currentDirectory#/cfoutput
   !--- check the CGI environment variable Content_Length to make
sure the file being uploaded is less than 1 MB in size.  If it is not, halt
processing ---

   CFIF Val(CGI.CONTENT_LENGTH) GT 1048576
   p class='md_red_font'The file is too large.  The image file 
must be
1 megabyte or smaller.
   a href='javascript:history.go(-1);'BACK/a.
   /p
   cfelse
   cftry
   cffile
   action=upload
   filefield=Form.take_aways_#uf#
   destination=#currentDirectory#
   nameconflict=MakeUnique
   
   !--- if an unauthorized file type upload is attempted ---
   cfcatch type=Any
   cflocation 
url=notes.cfm?fileuploaderror=truemsg=#cfcatch.message# addtoken=No
   /cfcatch
   /cftry
 cfset the_file_field ='#CFFILE.serverFileName#.#CFFILE.ServerFileExt#'
   /CFIF
   /cfif
/cfloop 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: images not respecting clear in cfdocument PDF

2006-10-26 Thread Jon Clausen
Zoe,

I'm looking at your source code for the page that the PDF is based on  
along with the PDF and, this is just a guess, but I think the PDF  
image styling may be choking on the designated list (dl/dl)  
elements in your XHTML.

At least that seems to coincide with the clearing issues.  The pdf's  
generated by cfdocument handle generic HTML and CSS well, but  
sometimes have problems with tags that aren't as common.

Also, I've personally found that I sometimes need to brute force  
the CSS for cfdocument PDF's.   By that, I mean calling all your  
selectors as specifically as possible and using !important more  
liberally than you might on an HTML page to override any default  
styling.   An example using your CSS:


div#content img.right {
/*display: inline;*/
clear: right!important;
float: right!important;
margin: 0 0 .8em 1em;
margin: .2em 0 1em 1.4em;
}

instead of

..right {
/*display: inline;*/
clear: right;
float: right;
margin: 0 0 .8em 1em;
margin: .2em 0 1em 1.4em;
}

Here's a great tutorial on the hierarchy of CSS selectors:   http:// 
www.stuffandnonsense.co.uk/archives/css_specificity_wars.html

Also, remember you are dealing with a print medium instead of a  
screen medium. Using px and pt  for dimensions and text sizes  
gives you much more control in this medium than in the variable-width  
screen where em is preferrable.

Hope that helps.

Jon

On Oct 26, 2006, at 3:53 PM, Zoe Gillenwater wrote:

 First things first: I'm not a CF developer. I'm a designer/XHTML/ 
 CSS person, who works with a CF developer. So please spell things  
 out for me, and forgive my ignorance.

 A site I am working on uses the cfdocument tag to create PDFs of  
 pages. The pages that are being converted are very image-heavy, and  
 all of the images are floated, using CSS. They also have CSS clears  
 on them to ensure that if one image wants to start before the  
 previous one has ended they don't get hung up on one another.  
 This works great in the HTML, but sometimes -- not always -- the  
 clears are not respected in the PDFs that cfdocument outputs. I see  
 no pattern in which images get caught on previous images.

 Here's a PDF that exhibits the problem (second image gets hung up on
 first one, but third image is fine):
 http://www.saferoutesinfo.org/guide/tpo_pdf.cfm? 
 ITEM=PageCHAPTER_ID=C353Page=guiding_principles_for_applying_srts_en 
 gineering_solutions.cfmPageTitle=Guiding%20Principles%20for% 
 20Applying%20SRTS%20Engineering%20Solutions

 Here's the page that the PDF was created from:
 http://www.saferoutesinfo.org/guide/engineering/ 
 guiding_principles_for_applying_srts_engineering_solutions.cfm

 Here's the style sheet that styles the PDFs:
 http://www.saferoutesinfo.org/guide/css/pdf.css

 Does anyone know if this is a known issue in cfdocument? Is there a
 workaround (other than not floating the images, which I can't do)?

 Thanks,
 Zoe

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: MG:U Breeze Preso Tonight

2006-10-26 Thread Casey Dougall
On 10/26/06, Nick Tong - TalkWebSolutions.co.uk [EMAIL PROTECTED] wrote:

 will this be recorded?

 On 26/10/06, Cutter (CFRelated) [EMAIL PROTECTED] wrote:
 
  **From the Nashville ColdFusion User Group (http://www.ncfug.com)**
 
  PRESENTATION:
  Stephen Cutter Blades on Object-Oriented development with Model-Glue
  Unity.


Same question here. I won't be home in time to watch. Anyway we can gain
access to a recording of that puppy?

Casey


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Can I write code in CF 8 for CF 4.5?

2006-10-26 Thread John Paul Ashenfelter
Rick,

Having been in this situation for a few clients, my strong advice is
DEVELOP ON THE SAME PLATFORM AS DEPLOYMENT. You're going to screw up,
simple as that. For example, CFDUMP isn't in CF4.5. You can't use
UDFs. So many different ways to screw up. Trust me, I know :)

One option is to create a VMWare instance and run IIS4/CF4.5 or
whatever the deployment platform is in the free VMPlayer. [Aside: I
found VMWare Workstation some of the best $200 I ever spent on
software]

Another option is to use one web server (eg IIS) for CF4.5 and another
(eg Apache2) for CFMX. Or use the embedded server for CFMX and use the
desktop webserver for CF4.5.

Lots of possible solutions, but you *really* want to keep on the same
platform or you'll cause yourself all kinds of problems.


On 10/26/06, Rick Faircloth [EMAIL PROTECTED] wrote:
 Greetings, all.

 I need to set up a development box and stop developing
 directly to my production server, which is running CF 4.5.

 I could set up 4.5 on the dev box and know that I have
 consistency with the production server.

 However, I already have CF 7 setup and could use it for
 development.

 Question:  If I write 4.5-style code in CF 7, will it run?

 My primary objective is a development environment
 compatible with my CF 4.5 production server.  However,
 I would like to have CF 7 as the development server so I can
 tinker with its enhancements, too.

 Advice?

 Thanks,

 Rick



 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Can I write code in CF 8 for CF 4.5?

2006-10-26 Thread Aaron Rouse
While I agree with this, I get the impression he just does CF 4.5 for all
clients and therefore that is mainly all he knows.  With that being the case
then chances are he will never get bit.  He could however probably run CF
4.5 and CF7 on the same machine and no VMWare just use the built in web
server for CF7

On 10/26/06, John Paul Ashenfelter [EMAIL PROTECTED] wrote:

 Rick,

 Having been in this situation for a few clients, my strong advice is
 DEVELOP ON THE SAME PLATFORM AS DEPLOYMENT. You're going to screw up,
 simple as that. For example, CFDUMP isn't in CF4.5. You can't use
 UDFs. So many different ways to screw up. Trust me, I know :)

 One option is to create a VMWare instance and run IIS4/CF4.5 or
 whatever the deployment platform is in the free VMPlayer. [Aside: I
 found VMWare Workstation some of the best $200 I ever spent on
 software]

 Another option is to use one web server (eg IIS) for CF4.5 and another
 (eg Apache2) for CFMX. Or use the embedded server for CFMX and use the
 desktop webserver for CF4.5.

 Lots of possible solutions, but you *really* want to keep on the same
 platform or you'll cause yourself all kinds of problems.




-- 
Aaron Rouse
http://www.happyhacker.com/


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Can I write code in CF 8 for CF 4.5?

2006-10-26 Thread Russ
Don't you feel silly now that VMWare server is free :-P

Russ

 -Original Message-
 From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 26, 2006 4:50 PM
 To: CF-Talk
 Subject: Re: Can I write code in CF 8 for CF 4.5?
 
 Rick,
 
 Having been in this situation for a few clients, my strong advice is
 DEVELOP ON THE SAME PLATFORM AS DEPLOYMENT. You're going to screw up,
 simple as that. For example, CFDUMP isn't in CF4.5. You can't use
 UDFs. So many different ways to screw up. Trust me, I know :)
 
 One option is to create a VMWare instance and run IIS4/CF4.5 or
 whatever the deployment platform is in the free VMPlayer. [Aside: I
 found VMWare Workstation some of the best $200 I ever spent on
 software]
 
 Another option is to use one web server (eg IIS) for CF4.5 and another
 (eg Apache2) for CFMX. Or use the embedded server for CFMX and use the
 desktop webserver for CF4.5.
 
 Lots of possible solutions, but you *really* want to keep on the same
 platform or you'll cause yourself all kinds of problems.
 
 
 On 10/26/06, Rick Faircloth [EMAIL PROTECTED] wrote:
  Greetings, all.
 
  I need to set up a development box and stop developing
  directly to my production server, which is running CF 4.5.
 
  I could set up 4.5 on the dev box and know that I have
  consistency with the production server.
 
  However, I already have CF 7 setup and could use it for
  development.
 
  Question:  If I write 4.5-style code in CF 7, will it run?
 
  My primary objective is a development environment
  compatible with my CF 4.5 production server.  However,
  I would like to have CF 7 as the development server so I can
  tinker with its enhancements, too.
 
  Advice?
 
  Thanks,
 
  Rick
 
 
 
 
 
 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


  1   2   >