RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Rick Faircloth
I see that page and the code's role in displaying the message.

But the part that I'm trying to figure is how ex2_process.cfm
is working to provide the validation and return that message
to ex2.3_mailing_list_validation.cfm.

ex2_process.cfm is the page doing your server-side validation,
right?

ex2.3_mailing_list_validation.cfm is just your client-side validation,
form, and error/success message display page, correct?

Rick


-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 8:56 PM
To: CF-Talk
Subject: RE: Client-side validation or Server-side Validation?

Rick,

>Hmmm... do you have two methods, JS and non-JS intertwined?
>The part of the code below that is operable seems to depend on
>whether JS is in use (the "structKeyExists(url, "ajax") etc., or
>whether JS is not in use (the part after the cfelse... cfincluding
>the #form.formUrl#, which would be the ex2.3_mailing_list_validation.cfm
>page, right?)
>
>Or am I just "lost in the sauce"?

You continue to overcomplicate the issue. I sent you the only "server"
specific code on that page. You can view the source in the example to see
the rest.

There is no JS/non-JS. It's pretty basic. If your browser isn't support JS,
then all the JS code is simple ignored. You really need to use the "View
Source" code in your browser and take advantage of the fact you can look
behind the scenes.

-Dan




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

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


RE: Who is wrong ?

2007-04-17 Thread Dave Watts
> I understand this whole debate on escaping ampersands but 
> it's almost too late to even worry about them. ?a=1&b=2 has 
> been in use way before I got into programming. Now that it's 
> in such wide use, this standard should be reversed. & should 
> be reconsidered for xml and not the other way around.

That's simply not going to happen. The ampersand is the character used to
mark the start of an entity. Changing this would require changing every XML
parser in existence. Like the one in your cell phone. Do you want to buy a
new cell phone to fix this problem?

> I also understand that XML was here before the Internet, it 
> just never caught on until 20+ years later. Not my fault but 
> in the world of the Internet it does make things a real pain 
> in the ass. And since the Internet is bigger then XML, its 
> the one who should part ways with Ampersands!!! So you should 
> make use of ";" in place of "&" in your URLs??? Not that I 
> care but, from an SEO standpoint who has any proof this holds 
> up? I don't. I know putting & in my URLs works, while not the 
> best, having variables in your URLs in this manor, it does work.

I don't think you have to worry about it. While your XHTML documents will
fail validation, there's nothing stopping you from using standalone
ampersands in those documents. The only reason I brought up the thing in the
first place was simply to point out what the standards say.

And of course, for the sake of accuracy, XML didn't predate the internet.
But a lot of the rules and concepts used in XML, and HTML, are derived from
SGML, which has been around for a while.

Finally, I would expect characters other than ampersands to work as well as,
or better than, ampersands themselves for SEO purposes, since identifiable
dynamic URL elements have historically been considered negatively.

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

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

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


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

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


RE: Emergency Problem with ColdFusion

2007-04-17 Thread Dave Watts
> If you are really in a bind and cannot fix the error - could 
> always consider deleting CF and reinstalling.

Before you do that, be careful to document and archive your existing
settings.

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

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

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


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

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


RE: Emergency Problem with ColdFusion

2007-04-17 Thread Dave Watts
> If the server itself is rebooting, this may not be a CF 
> problem at all. You might get good results if you just post 
> as much information - exact symptoms, log file snippets, etc - here.

Oh, and don't forget to mention what OS and specific version of CF you're
using. Is it a Windows box? Do you (ugh) have automatic updates enabled?
Maybe a recent patch disagreed with your server; I've seen a bit of that
lately.

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

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

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


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

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


RE: Emergency Problem with ColdFusion

2007-04-17 Thread Dave Watts
> Our mission critical CF Application is down because out of 
> no-where the CF Server is endlessly rebooting - and we cant 
> understand why!
> 
> Adobe closes at 5pm PT so we are out of luck - is there 
> ANYONE who can provide emergency ColdFusion Server support 
> after hours?  Please contact [EMAIL PROTECTED]

If the server itself is rebooting, this may not be a CF problem at all. You
might get good results if you just post as much information - exact
symptoms, log file snippets, etc - here.

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

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

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


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

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


RE: Emergency Problem with ColdFusion

2007-04-17 Thread Pete
If you are really in a bind and cannot fix the error - could always consider
deleting CF and reinstalling.

I could be a workaround (not the ideal method) but if you cannot find
anything else then it might be a last resort.

Regards



-Original Message-
From: Ryan, Terrence [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 18 April 2007 11:28 AM
To: CF-Talk
Subject: RE: Emergency Problem with ColdFusion

Also the jrun logs might also contain the reason the server won't start.
They can be found in:
\logs
Or
\runtime\logs 

Terrence Ryan
Senior Systems Programmer
Wharton Computing and Information Technology   
E-mail:     [EMAIL PROTECTED]


-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 9:23 PM
To: CF-Talk
Subject: Re: Emergency Problem with ColdFusion

Hopefully you get the hands-on help you need, but in the meantime you
need to look in the logs (from the OS, since CF won't start) to see
what the error is.




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

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


Re: Who is wrong ?

2007-04-17 Thread Casey Dougall
On 4/17/07, Dave Watts <[EMAIL PROTECTED]> wrote:
>
> > Ok, I see now. But it applies to XHTML, not standard HTML
>
> We recommend that HTTP server implementors, and in particular, CGI
> implementors support the use of ";" in place of "&" to save authors the
> trouble of escaping "&" characters in this manner."


I understand this whole debate on escaping ampersands but it's almost too
late to even worry about them. ?a=1&b=2 has been in use way before I got
into programming. Now that it's in such wide use, this standard should be
reversed. & should be reconsidered for xml and not the other way around.

I also understand that XML was here before the Internet, it just never
caught on until 20+ years later. Not my fault but in the world of the
Internet it does make things a real pain in the ass. And since the Internet
is bigger then XML, its the one who should part ways with Ampersands!!! So
you should make use of ";" in place of "&" in your URLs??? Not that I care
but, from an SEO standpoint who has any proof this holds up? I don't. I know
putting & in my URLs works, while not the best, having variables in your
URLs in this manor, it does work.

Casey


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

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


RE: Emergency Problem with ColdFusion

2007-04-17 Thread Ryan, Terrence
Also the jrun logs might also contain the reason the server won't start. They 
can be found in:
\logs
Or
\runtime\logs 

Terrence Ryan
Senior Systems Programmer
Wharton Computing and Information Technology   
E-mail:     [EMAIL PROTECTED]


-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 9:23 PM
To: CF-Talk
Subject: Re: Emergency Problem with ColdFusion

Hopefully you get the hands-on help you need, but in the meantime you
need to look in the logs (from the OS, since CF won't start) to see
what the error is.


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

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


RE: Reading cookies

2007-04-17 Thread Eric Roberts
Without setting it from that domain...you can't.  That is part of the
browser security.  What companies do...to track...is to ether use a banner
or a small 1x1 clear gif image that resides on the server that you want to
collect info on.  You can then parse the server logs for every time the
image is downloaded.

Eric

-Original Message-
From: Matthew Friedman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 8:00 PM
To: CF-Talk
Subject: Reading cookies

I am trying to figure out a way that I can read a cookie that I have set on
a clients browser from another domain.

The other domain is a partner of ours and will allow me to any type of
script or code on their site to allow this for tracking proposes.

I did try to set a cookie on the users broswer and then when the user is on
the partner domain, I tried to access the cookie with an image pipe that
called a page on my server, and then tried to access the cookie - that did
not work.

If any on has any ideas or thoughts, this would be helpful.

Thanks.
Matt



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

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


Re: Emergency Problem with ColdFusion

2007-04-17 Thread James Holmes
Hopefully you get the hands-on help you need, but in the meantime you
need to look in the logs (from the OS, since CF won't start) to see
what the error is.

On 4/18/07, Ben Shichman <[EMAIL PROTECTED]> wrote:
> Help!
>
> Our mission critical CF Application is down because out of no-where the CF 
> Server is endlessly rebooting - and we cant understand why!
>
> Adobe closes at 5pm PT so we are out of luck - is there ANYONE who can 
> provide emergency ColdFusion Server support after hours?  Please contact 
> [EMAIL PROTECTED]

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

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

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


Emergency Problem with ColdFusion

2007-04-17 Thread Ben Shichman
Help!

Our mission critical CF Application is down because out of no-where the CF 
Server is endlessly rebooting - and we cant understand why!

Adobe closes at 5pm PT so we are out of luck - is there ANYONE who can provide 
emergency ColdFusion Server support after hours?  Please contact [EMAIL 
PROTECTED]

Thanks!!!

Ben

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

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


Reading cookies

2007-04-17 Thread Matthew Friedman
I am trying to figure out a way that I can read a cookie that I have set on a 
clients browser from another domain.

The other domain is a partner of ours and will allow me to any type of script 
or code on their site to allow this for tracking proposes.

I did try to set a cookie on the users broswer and then when the user is on the 
partner domain, I tried to access the cookie with an image pipe that called a 
page on my server, and then tried to access the cookie - that did not work.

If any on has any ideas or thoughts, this would be helpful.

Thanks.
Matt

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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Dan G. Switzer, II
Rick,

>Hmmm... do you have two methods, JS and non-JS intertwined?
>The part of the code below that is operable seems to depend on
>whether JS is in use (the "structKeyExists(url, "ajax") etc., or
>whether JS is not in use (the part after the cfelse... cfincluding
>the #form.formUrl#, which would be the ex2.3_mailing_list_validation.cfm
>page, right?)
>
>Or am I just "lost in the sauce"?

You continue to overcomplicate the issue. I sent you the only "server"
specific code on that page. You can view the source in the example to see
the rest.

There is no JS/non-JS. It's pretty basic. If your browser isn't support JS,
then all the JS code is simple ignored. You really need to use the "View
Source" code in your browser and take advantage of the fact you can look
behind the scenes.

-Dan


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

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


Flash Forms: ComboBox help

2007-04-17 Thread George Lu
Hi,

I'm using Flash Remoting in adding/removing an item in a combo box (drop
down list). I can add the item to the list after remote call (addItemAt())
but I can't do the same thing for removing the item from the list using
removeItemAt().

Please help!

George


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

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


RE: Force a page refresh

2007-04-17 Thread jennygw
Hi Ty,

Thanks for this, but no joy as yet.

Any idea what I might be doing wrong please?

Jenny

-Original Message-
From: Ty Strange [mailto:[EMAIL PROTECTED]
Sent: 18 April 2007 00:48
To: CF-Talk
Subject: Re: Force a page refresh


>I've tried a few ways to force a page to refresh, no joy so far.
>
>have tried cfheader, adding a time stamp to the url and a meta no-cache.
>
>Page 1: form with file field
>page 2: processes file upload, thumbnailing etc, and returns user to page 1
>
>the problem being that the old image shows unless the user hits refresh in
>the browser.
>
>Any ideas please?
>
>Jenny


Jenny,
Wrap this code block inside a custom tag and call it from the top of your
page:















Cheers,
Ty



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

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


Re: Force a page refresh

2007-04-17 Thread Ty Strange
>I've tried a few ways to force a page to refresh, no joy so far.
>
>have tried cfheader, adding a time stamp to the url and a meta no-cache.
>
>Page 1: form with file field
>page 2: processes file upload, thumbnailing etc, and returns user to page 1
>
>the problem being that the old image shows unless the user hits refresh in
>the browser.
>
>Any ideas please?
>
>Jenny


Jenny,
Wrap this code block inside a custom tag and call it from the top of your page:















Cheers,
Ty

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

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


Re: Force a page refresh

2007-04-17 Thread Ty Strange
>I've tried a few ways to force a page to refresh, no joy so far.
>
>have tried cfheader, adding a time stamp to the url and a meta no-cache.
>
>Page 1: form with file field
>page 2: processes file upload, thumbnailing etc, and returns user to page 1
>
>the problem being that the old image shows unless the user hits refresh in
>the browser.
>
>Any ideas please?
>
>Jenny


Wrap this code block into a custom tag and call it from the top of the page:















Cheers,
Ty

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

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


RE: Who is wrong ?

2007-04-17 Thread Dave Watts
> Ok, I see now. But it applies to XHTML, not standard HTML 

If you read the quote carefully, it refers to common mishandling of
ampersands within URIs in HTML user agents. But anyway, here's the relevant
quote from the HTML 4.01 spec:

http://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2

"B.2.2 Ampersands in URI attribute values

The URI that is constructed when a form is submitted may be used as an
anchor-style link (e.g., the href attribute for the A element).
Unfortunately, the use of the "&" character to separate form fields
interacts with its use in SGML attribute values to delimit character entity
references. For example, to use the URI "http://host/?x=1&y=2"; as a linking
URI, it must be written http://host/?x=1&y=2";> or http://host/?x=1&y=2";>.

We recommend that HTTP server implementors, and in particular, CGI
implementors support the use of ";" in place of "&" to save authors the
trouble of escaping "&" characters in this manner."

> Anyway, this is obviously in contradiction with RFC 1738.

No, it isn't, actually. RFC 1738 specifies how URLs should look when they're
used in HTTP requests, etc. The HTML specification specifies how URLs should
be included within documents. There's no reason those can't be two different
things; if they are, it would be the job of the user agent to transform them
from one to the other.

> In HTML, what's inside an attribute is NOT HTML, it is just a 
> string value. Of course, one can pass a string contaning HTML 
> in a parameter, but the string does not have to be HTML encoded 
> to be a valid HTML attribute.

Have you never heard of HTML character entities? Why on earth do you think
they exist?

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

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

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


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

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


RE: SSL Domain redirect without error message

2007-04-17 Thread Russ
> -Original Message-
> From: Dave Watts [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 17, 2007 7:49 PM
> To: CF-Talk
> Subject: RE: SSL Domain redirect without error message
> 
> > Either I'm doing something wrong or the only way to do it is
> > to get a wild card ssl certificate that covers both domains :
> > www.xyzdomain.com and xyzdomain.com 
> 
> You're not doing anything wrong, and that's exactly what you'll have to do
> if you want people to be able to use either host name.
> 

While I'm not sure if this is the correct solution, but I will defer to Dave
on this, I don't think you need a wild card SSL certificate.  Considering
the pricing I've seen, it's not worth it to get a wildcard certificate for
just two subdomains.  It would make sense to get a separate certificate for
each.  

Considering the pricing of the SSL certificates at GoDaddy or through my
site at X-Registrar.com/SSL ($20/yr for single certificate, $200/yr for
wildcard), it's a no-brainer to pick up an extra SSL certificate, if just to
make the warning go away.  

Russ


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

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


Re: Vehicle mileage

2007-04-17 Thread Jon Clausen
This is a Coldfusion mailing list   :-)

Will this help?:  http://office.microsoft.com/en-us/templates/ 
TC060884581033.aspx

Fill in the first 5 days using a formula in A2  for the date  
reference ( =A1+2 for first cell, A2+1 for the second date down,  
etc.) and then just copy/past  the blocks down 52 times.

HTH,

Jon

On Apr 17, 2007, at 6:50 PM, Casey Dougall wrote:

> Now I like this but... no one has excel around here?
>
>
> 

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

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


RE: SSL Domain redirect without error message

2007-04-17 Thread Dave Watts
> Like always you are right.

I wish.

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

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

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


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

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


Re: SSL Domain redirect without error message

2007-04-17 Thread Victor Moore
Thanks Dave,

Like always you are right. As per my previous email, I think it's working
the way it should and the certificate is given for certain domain and one
shouldn't be able to change it willy nilly. It will defeat the purpose

Thanks
Victor

On 4/17/07, Dave Watts <[EMAIL PROTECTED]> wrote:
>
> > Either I'm doing something wrong or the only way to do it is
> > to get a wild card ssl certificate that covers both domains :
> > www.xyzdomain.com and xyzdomain.com 
>
> You're not doing anything wrong, and that's exactly what you'll have to do
> if you want people to be able to use either host name.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> This email has been processed by SmoothZap - www.smoothwall.net
>
>
> 

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

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


Re: Vehicle mileage

2007-04-17 Thread Casey Dougall
Now I like this but... no one has excel around here?


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

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


RE: SSL Domain redirect without error message

2007-04-17 Thread Dave Watts
> Either I'm doing something wrong or the only way to do it is 
> to get a wild card ssl certificate that covers both domains : 
> www.xyzdomain.com and xyzdomain.com 

You're not doing anything wrong, and that's exactly what you'll have to do
if you want people to be able to use either host name.

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

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

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


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

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


RE: SSL Domain redirect without error message

2007-04-17 Thread Dave Watts
> You would need to do this at the web server level. Are you 
> running Apache or IIS? If you're running Apache, I could give 
> you some code that would do this for you. ;) If you're 
> running IIS, Google for information on setting up a 301 redirect.
> 
> Because this redirection is done at the web server level (as 
> opposed to sending something to the client machine like a 
> CFLOCATION would do) I'm 95% sure that this will give you a 
> redirect without an error message. 
> The CFLOCATION (or javascript, or whatever) requires the web 
> server to send a response back to the client. This will 
> result in the SSL error which you're trying to avoid.

I don't think that would work, either. The client will check the server's
certificate for validity before any response is sent to the client; in fact,
before the HTTP request is actually made by the client. Only after the SSL
handshake is successful, does any actual request data get sent to the
server.

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

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

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


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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Rick Faircloth
The display of form errors with JS off seems similar to what I do now.
(I've only validated with CF up until now...)

I submit the form back to itself, and at the top of the page, if
a certain form variable exists, the CF code is run to validate all
entries.

I create a struct, usually called Form_Errors to hold the error
messages and as I validate each entry, a Form_Errors message
is created, e.g. Form_Errors.Name_Error, which might be
"You must enter your name.", if no name is entered.

All fields are validated, then any error messages shown along with
any data in the fields the user entered.  If all fields pass validation,
then the user is sent to a success page.

Seems like a similar process to your ex2_process.cfm page.

I'm uncertain as to how the rest of it interacts.  Perhaps it'll become
clearer when I study it more.

Thanks for the example!

Rick

Hmmm... do you have two methods, JS and non-JS intertwined?
The part of the code below that is operable seems to depend on
whether JS is in use (the "structKeyExists(url, "ajax") etc., or 
whether JS is not in use (the part after the cfelse... cfincluding
the #form.formUrl#, which would be the ex2.3_mailing_list_validation.cfm
page, right?)

Or am I just "lost in the sauce"?

:o\





-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 4:18 PM
To: CF-Talk
Subject: RE: Client-side validation or Server-side Validation?

Rick,

>There's no reason to use . Server-side errors should/will only
>occur when the client has already tried filling out the form and something
>failed and you need to display them a message.
>
>So, there's no reason to even display a message unless there was a failure
>caught by the server. Regardless of whether or not JS was enabled, you need
>to display the message to the user.

Here's an example of exactly what I'm talking about:
http://www.pengoworks.com/workshop/jquery_demo/ex2.3_mailing_list_validation
...cfm

(Watch line wrapping.)

And here's what the CF code looks like:

  

   
   
 #stAction.message#
   
 
  

  
E-mail Address:
  

  
  


Try running the page w/JS enabled. Try just submitting the form and then
enter some data that's not an e-mail address. 

If you notice, the error messages will display w/out the URL ever
changing--this is because the validation is being done on the client-side. 

Now if you disable JS and reload the page and repeat the process, you'll
notice the URL changes. This is because the validation occurs at the server.
All I'm doing is re-displaying the page but outputting an errors the server
may have generated.

You can view the source code to view the client-side validation. About 90%
of the code for doing the client-side validation is just comments explaining
what's going on.

-Dan




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

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


Re: Vehicle mileage

2007-04-17 Thread Doug
Very cool!!! I appreciate the help.





Doug B.

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

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


RE: Global Component

2007-04-17 Thread Kevin Aebig
It's mainly the authentication stuff that takes up room for our purposes,
and rolling it into a single location makes it way more convenient to deal
with. Digging up the 12 separate locations buried deep where the calls
actually come from makes maintenance and upgrades difficult...

I've implemented shared key encryption (between C# and Coldfusion which was
a complete nightmare) and it takes up quite a bit of room, so this also
helps to keep things separate and organized.

Thanks again for your help,

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:41 PM
To: CF-Talk
Subject: Re: Global Component

Well, of course depending on your needs it could make sense, I was more
thinking of exposing functionslity via WS to your CFC.

What are your needs? Interesting debate.



  



"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 21:27:54 2007
Subject: RE: Global Component

And out of curiosity why wouldn't I? I can think of a few good uses for
this...

Cheers,

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:21 PM
To: CF-Talk
Subject: Re: Global Component

Well you wouldn't want to do it for a web service. But yes, you can pass
components to and from components AFAIK.


 



"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 21:21:03 2007
Subject: RE: Global Component

Mapping... perfect. One last question... is it possible to return a created
Object back from a CFC?

EX.












Thanks for help,

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:06 PM
To: CF-Talk
Subject: Re: Global Component

so use the application scope. Load it in at app start up. Job done, or do
you mean you want to load it from a common path? If so then use a mapping to
it 



"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 21:02:55 2007
Subject: RE: Global Component

I just want to be able to easily access the same component from any
application scope with the same ease as using a custom tag...

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 1:47 PM
To: CF-Talk
Subject: Re: Global Component

Eh? You mean a component within a shared scope?






"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, U

Re: Vehicle mileage

2007-04-17 Thread Richard Dillman
OOps dubbled up on the milage there.





 
  
   #dateformat(i, "mm/dd/yy")#
   Start miles   #miles#
   
   End miles#miles#
   ===
  
 



On 4/17/07, Richard Dillman <[EMAIL PROTECTED]> wrote:
>
> Give this a shot.
>
> 
> 
> 
> 
>  
>   
>   
>#dateformat(i, "mm/dd/yy")#
>Start miles   #miles#
>
>End miles#miles#
>===
>   
>  
> 
>
>
> On 4/17/07, Doug <[EMAIL PROTECTED]> wrote:
> >
> > Err..u yeah you could say that :-/
> >
> >
> >
> >
> > Doug B.
> >
> > 

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

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


Re: Vehicle mileage

2007-04-17 Thread Richard Dillman
Give this a shot.





 
  
  
   #dateformat(i, "mm/dd/yy")#
   Start miles   #miles#
   
   End miles#miles#
   ===
  
 



On 4/17/07, Doug <[EMAIL PROTECTED]> wrote:
>
> Err..u yeah you could say that :-/
>
>
>
>
> Doug B.
>
> 

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

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


Re: Vehicle mileage

2007-04-17 Thread Doug
Err..u yeah you could say that :-/




Doug B.

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

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


Re: Vehicle mileage

2007-04-17 Thread Richard Dillman
Sounds like someone is doing their taxes and forgot to keep a log.

On 4/17/07, Doug <[EMAIL PROTECTED]> wrote:
>
> Kinda do not know where to start on this one. I am doing taxes and know
> my mileage for each day, although I did not write it down (Yeah I know)
> Anyways I would like to figure a way to list all my mileage and print it
> out for each day of the year. Any ideas on where to start?
>
>
> IE:
>
> Mileage driven each way = 36 miles * 2 = 72 miles daily excluding
> weekends * 52 weeks in the year.
>
>
> I would like it to output like so through the year and not include
> weekend dates
>
> 01/06/06
> Start miles   72569
> End miles72641
> 01/07/06
> Start Miles  72641
> End Miles   72713
>
> 

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

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


Vehicle mileage

2007-04-17 Thread Doug
Kinda do not know where to start on this one. I am doing taxes and know 
my mileage for each day, although I did not write it down (Yeah I know) 
Anyways I would like to figure a way to list all my mileage and print it 
out for each day of the year. Any ideas on where to start?


IE:

Mileage driven each way = 36 miles * 2 = 72 miles daily excluding 
weekends * 52 weeks in the year.


I would like it to output like so through the year and not include 
weekend dates

01/06/06
Start miles   72569
End miles72641
01/07/06
Start Miles  72641
End Miles   72713

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

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


Re: SSL Domain redirect without error message

2007-04-17 Thread Victor Moore
Hi Stephens,

I'm afraid this won't work either. Your SSL certificate is for
basketbasics.com domain.
if you type https://www.basketbasics.com you will get a browser notification
message and thinking about the purpose of a SSL certificate it makes sense.

Thanks

Victor

On 4/17/07, Stephens, Larry V <[EMAIL PROTECTED]> wrote:
>
> I have a certificate on my basketbasics.com account (in that name). I
> use a javascript redirect in the root that redirects either
> basketbasics.com or www.basketbasics.com and it works okay for me. (See
> below) I don't know if how the certificate is installed is a function of
> this or not.
>
> 

Re: Global Component

2007-04-17 Thread Robertson-Ravo, Neil (RX)
Well, of course depending on your needs it could make sense, I was more
thinking of exposing functionslity via WS to your CFC.

What are your needs? Interesting debate.



  



"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 21:27:54 2007
Subject: RE: Global Component

And out of curiosity why wouldn't I? I can think of a few good uses for
this...

Cheers,

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:21 PM
To: CF-Talk
Subject: Re: Global Component

Well you wouldn't want to do it for a web service. But yes, you can pass
components to and from components AFAIK.


 



"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 21:21:03 2007
Subject: RE: Global Component

Mapping... perfect. One last question... is it possible to return a created
Object back from a CFC?

EX.












Thanks for help,

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:06 PM
To: CF-Talk
Subject: Re: Global Component

so use the application scope. Load it in at app start up. Job done, or do
you mean you want to load it from a common path? If so then use a mapping to
it 



"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 21:02:55 2007
Subject: RE: Global Component

I just want to be able to easily access the same component from any
application scope with the same ease as using a custom tag...

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 1:47 PM
To: CF-Talk
Subject: Re: Global Component

Eh? You mean a component within a shared scope?






"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.

: Site Check please: www.CodeFetcher.com

2007-04-17 Thread Peter Donahue
Hello Curt and listers,

Your site is great. I checked it out and found it very easy to navigate.
While there I downloaded a few CF code snipids for use in several projects.
If you used the CF Form Validation program others discussed here I did not
have any trouble with filling out the new account form. In fact I doubt my
screen reader even knew it was there.

Does the site use AJAX? This too presented no problem. Until the screen
reader developers create scripting to detect pages that use AJAX and read
the changed text automatically one needs to arrow to the area that has
changed and read the updated text. Over-all this is not a problem. Great job
on your Web site. I'll check back often for new goodies and will upload some
of my own.

I downloaded the current date program but am looking for some  CF code
to include the current time as well. Does anyone have code that will allow
me to display the time in the users time zone in addition to the date? When
completed I want the lines to read:
Today is, (Current date).
The time is: (Current time).

I'm also looking for a CF  hit counter to include on the sites home
pages. I used one a while back that required me to store the hits in a
database. Are there hit counters that do not require the use of a database I
can install? All of the CF hit counters I've seen are accessible to screen
readers. Thanks for your help.

Peter Donahue
- Original Message - 
From: "Curt Schryver" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, April 17, 2007 2:18 PM
Subject: Re: Site Check please: www.CodeFetcher.com


Still looking for a response on this one.



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

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


RE: Global Component

2007-04-17 Thread Kevin Aebig
And out of curiosity why wouldn't I? I can think of a few good uses for
this...

Cheers,

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:21 PM
To: CF-Talk
Subject: Re: Global Component

Well you wouldn't want to do it for a web service. But yes, you can pass
components to and from components AFAIK.


 



"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 21:21:03 2007
Subject: RE: Global Component

Mapping... perfect. One last question... is it possible to return a created
Object back from a CFC?

EX.












Thanks for help,

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:06 PM
To: CF-Talk
Subject: Re: Global Component

so use the application scope. Load it in at app start up. Job done, or do
you mean you want to load it from a common path? If so then use a mapping to
it 



"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 21:02:55 2007
Subject: RE: Global Component

I just want to be able to easily access the same component from any
application scope with the same ease as using a custom tag...

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 1:47 PM
To: CF-Talk
Subject: Re: Global Component

Eh? You mean a component within a shared scope?






"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 20:46:33 2007
Subject: Global Component

This might sound ridiculous, but I'm trying to have an easily accessible CFC
that would be somewhat similar to a Custom Tag. I'm thinking that its
possible, but for the time being I'm running blank.

 

Thanks,

 

!k

 

--

[K  n  o  w  l  e  d  g  e  E  n  a  b   l   e  d  S  y  s  t  e
m  s]

Business Solutions  +  Creative Services  +  Security Consulting

Web: www.keslabs.com   

Email: [EMAIL PROTECTED] 

Phone: 306.683.6451

 
















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

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

Re: Global Component

2007-04-17 Thread Robertson-Ravo, Neil (RX)
Well you wouldn't want to do it for a web service. But yes, you can pass
components to and from components AFAIK.


 



"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 21:21:03 2007
Subject: RE: Global Component

Mapping... perfect. One last question... is it possible to return a created
Object back from a CFC?

EX.












Thanks for help,

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:06 PM
To: CF-Talk
Subject: Re: Global Component

so use the application scope. Load it in at app start up. Job done, or do
you mean you want to load it from a common path? If so then use a mapping to
it 



"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 21:02:55 2007
Subject: RE: Global Component

I just want to be able to easily access the same component from any
application scope with the same ease as using a custom tag...

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 1:47 PM
To: CF-Talk
Subject: Re: Global Component

Eh? You mean a component within a shared scope?






"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 20:46:33 2007
Subject: Global Component

This might sound ridiculous, but I'm trying to have an easily accessible CFC
that would be somewhat similar to a Custom Tag. I'm thinking that its
possible, but for the time being I'm running blank.

 

Thanks,

 

!k

 

--

[K  n  o  w  l  e  d  g  e  E  n  a  b   l   e  d  S  y  s  t  e
m  s]

Business Solutions  +  Creative Services  +  Security Consulting

Web: www.keslabs.com   

Email: [EMAIL PROTECTED] 

Phone: 306.683.6451

 














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

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


RE: Global Component

2007-04-17 Thread Kevin Aebig
Mapping... perfect. One last question... is it possible to return a created
Object back from a CFC?

EX.












Thanks for help,

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:06 PM
To: CF-Talk
Subject: Re: Global Component

so use the application scope. Load it in at app start up. Job done, or do
you mean you want to load it from a common path? If so then use a mapping to
it 



"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 21:02:55 2007
Subject: RE: Global Component

I just want to be able to easily access the same component from any
application scope with the same ease as using a custom tag...

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 1:47 PM
To: CF-Talk
Subject: Re: Global Component

Eh? You mean a component within a shared scope?






"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 20:46:33 2007
Subject: Global Component

This might sound ridiculous, but I'm trying to have an easily accessible CFC
that would be somewhat similar to a Custom Tag. I'm thinking that its
possible, but for the time being I'm running blank.

 

Thanks,

 

!k

 

--

[K  n  o  w  l  e  d  g  e  E  n  a  b   l   e  d  S  y  s  t  e
m  s]

Business Solutions  +  Creative Services  +  Security Consulting

Web: www.keslabs.com   

Email: [EMAIL PROTECTED] 

Phone: 306.683.6451

 












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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Dan G. Switzer, II
Rick,

>There's no reason to use . Server-side errors should/will only
>occur when the client has already tried filling out the form and something
>failed and you need to display them a message.
>
>So, there's no reason to even display a message unless there was a failure
>caught by the server. Regardless of whether or not JS was enabled, you need
>to display the message to the user.

Here's an example of exactly what I'm talking about:
http://www.pengoworks.com/workshop/jquery_demo/ex2.3_mailing_list_validation
..cfm

(Watch line wrapping.)

And here's what the CF code looks like:

  

   
   
 #stAction.message#
   
 
  

  
E-mail Address:
  

  
  


Try running the page w/JS enabled. Try just submitting the form and then
enter some data that's not an e-mail address. 

If you notice, the error messages will display w/out the URL ever
changing--this is because the validation is being done on the client-side. 

Now if you disable JS and reload the page and repeat the process, you'll
notice the URL changes. This is because the validation occurs at the server.
All I'm doing is re-displaying the page but outputting an errors the server
may have generated.

You can view the source code to view the client-side validation. About 90%
of the code for doing the client-side validation is just comments explaining
what's going on.

-Dan


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

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


Re: Client-side validation or Server-side Validation?

2007-04-17 Thread Gareth Hughes
Not sure this will help/be of interest but this is what I do.

On my page I set a bunch of eror messages like:




I use jQuery validation plugin with a hack called 'remote' which allows me 
to do ajax validation on fields it will benefit (checking user names are 
unique for example). So my JS looks something like:

  var validator = $('##myForm').validate({
   event: 'blur',
   focusInvalid: false,
   rules: {
userName: {required: true, remote: 
'/com/users.cfc?method=remotevalidation&field=username'},
firstName: {required: true}
   messages: {
userName: "#errormsg.userName #",
firstName: "#errormsg.firstName#"
   }
  });

This takes care of client side validation if the user has JS enabled and 
gives the benefit of ajax validation on certain fields.

The form is self-referencing (i.e. it posts to itself). Above all the HTML 
goodness I detect if the form has been submitted and, if it has, pass the 
form structure to 'addUserValidation' function in the user.cfc. This 
validates each form field, passing certain fields (such as userName) back to 
the 'remoteValidation' function to avoid doubling up code. The function 
creates a list of any fields that fail validation which is passed back to 
the form page which, in turn, loops through the list and presents the 
appropriate error messages (the same ones used for the JS) to the user. If 
the fields all validate, the form struct is passed to another function which 
performs all the logic (and then basically redirects the user to a success 
page). And that takes care of server-side validation.

If the user has JS they get the benefit of real-time validation prior to 
submitting the form. If they don't have JS the form submits normally. JS or 
not the form goes through the server-side validation.

So far this is working well for me. However there is one major, major flaw. 
The only way I could get the ajax to work was to make it syncronous which 
freezes the browser until a response is received. Under the circumstances (a 
dedicated CMS app on a dedicated server on an internal network) I'm happy 
for my client to take that risk :). Otherwise the ajax stuff would be out of 
the window until I figure out a way to do it asyncronously.

Cheers!

Gareth 


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

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


Re: Global Component

2007-04-17 Thread Robertson-Ravo, Neil (RX)
so use the application scope. Load it in at app start up. Job done, or do
you mean you want to load it from a common path? If so then use a mapping to
it 



"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 21:02:55 2007
Subject: RE: Global Component

I just want to be able to easily access the same component from any
application scope with the same ease as using a custom tag...

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 1:47 PM
To: CF-Talk
Subject: Re: Global Component

Eh? You mean a component within a shared scope?






"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 20:46:33 2007
Subject: Global Component

This might sound ridiculous, but I'm trying to have an easily accessible CFC
that would be somewhat similar to a Custom Tag. I'm thinking that its
possible, but for the time being I'm running blank.

 

Thanks,

 

!k

 

--

[K  n  o  w  l  e  d  g  e  E  n  a  b   l   e  d  S  y  s  t  e
m  s]

Business Solutions  +  Creative Services  +  Security Consulting

Web: www.keslabs.com   

Email: [EMAIL PROTECTED] 

Phone: 306.683.6451

 










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

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


RE: Global Component

2007-04-17 Thread Kevin Aebig
I just want to be able to easily access the same component from any
application scope with the same ease as using a custom tag...

!k

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 1:47 PM
To: CF-Talk
Subject: Re: Global Component

Eh? You mean a component within a shared scope?






"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 20:46:33 2007
Subject: Global Component

This might sound ridiculous, but I'm trying to have an easily accessible CFC
that would be somewhat similar to a Custom Tag. I'm thinking that its
possible, but for the time being I'm running blank.

 

Thanks,

 

!k

 

--

[K  n  o  w  l  e  d  g  e  E  n  a  b   l   e  d  S  y  s  t  e
m  s]

Business Solutions  +  Creative Services  +  Security Consulting

Web: www.keslabs.com   

Email: [EMAIL PROTECTED] 

Phone: 306.683.6451

 








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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Dan G. Switzer, II
Rick,

>   flakes

There's no reason to use . Server-side errors should/will only
occur when the client has already tried filling out the form and something
failed and you need to display them a message.

So, there's no reason to even display a message unless there was a failure
caught by the server. Regardless of whether or not JS was enabled, you need
to display the message to the user. 

However, if your JS is implemented correctly and the user has JS enabled,
then they should never ever see a server generated message.

Theirs is absolutely no reason for you to be trying to use the 
tag.

-Dan


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

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


Re: Client-side validation or Server-side Validation?

2007-04-17 Thread Gareth Hughes
Then you have a caching issue. Anything inside  only 
displays with JS off. Enable JS, close your browser, reopen and try the page 
again.

- Original Message - 
From: "Rick Faircloth" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, April 17, 2007 8:48 PM
Subject: RE: Client-side validation or Server-side Validation?


Well to test my code I created a .cfm page
and put this code in a table...

flakes

With JS disabled or with the  tags removed,
"flakes" was shown on the screen.

When I enabled JS and left the  tag in,
"flakes" again was shown on the screen.

Rick


-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 17, 2007 2:53 PM
To: CF-Talk
Subject: RE: Client-side validation or Server-side Validation?

"
What's the method to this madness?

Do I set up some checking to see if JS is turned on
and then execute certain code accordingly?

Do I put alternate code (CF code that displays error
messages) inside  tags to only run it if
JS is disabled?
"

There may be some confusion here.  When thinking about this, it is very
important to keep in mind that CF runs on the server and JS runs on the
client AND NEVER THE TWO SHALL MIX!

This can get muddled in one's mind when thinking about dynamic JS code
generation and|or AJAX.  But even here, the CF code runs on the server
ONLY and the JS code runs on the client ONLY.

So the short answer to your last question is NO.  Putting CF code inside
 tags would never work.  The server has no idea if JS is
enables and the client would have no idea what to do with the CF code.

For me the highest level of looking at this is first build your
application with NO JS.  Just use old fashioned server/client
request/response patterns to handle the validation.  This is the fall
back code for when JS is disabled.  A user fills out the form, it is
submitted to the server, the server does the validations, if problems
our found they are displayed to the user and the user is allowed to fix
them and resubmit the form.

Then JS enhances can be added.  These can short circuit the server/clent
request/response cycle.  Either validates the data in the client or
makes AJAX request to the server for more complex validations with
hidden requests.  Then either report the errors and allow correction or
allow the form to be submitted to the server where the validations are
repeated.  Yes repeated because your server can NOT rely on the user
validations happened.

What I am suggesting is that it's not a big stretch to create a
framework/library/system that uses one set of rules to run both the
server side validation and be used to create the JS code that will run
the client side validation.  Just make sure that the application works
correctly without this code, then if it is disabled it just falls back
to the client server round trips.  The cfinput/cffrom functionality in
CF exactly this already, but if one wants something more universal then
one will need to expand on this foundation.






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

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


Re: Global Component

2007-04-17 Thread Robertson-Ravo, Neil (RX)
Eh? You mean a component within a shared scope?






"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: Kevin Aebig
To: CF-Talk
Sent: Tue Apr 17 20:46:33 2007
Subject: Global Component

This might sound ridiculous, but I'm trying to have an easily accessible CFC
that would be somewhat similar to a Custom Tag. I'm thinking that its
possible, but for the time being I'm running blank.

 

Thanks,

 

!k

 

--

[K  n  o  w  l  e  d  g  e  E  n  a  b   l   e  d  S  y  s  t  e
m  s]

Business Solutions  +  Creative Services  +  Security Consulting

Web: www.keslabs.com   

Email: [EMAIL PROTECTED] 

Phone: 306.683.6451

 






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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Rick Faircloth
Well to test my code I created a .cfm page
and put this code in a table...

flakes

With JS disabled or with the  tags removed,
"flakes" was shown on the screen.

When I enabled JS and left the  tag in,
"flakes" again was shown on the screen.

Rick


-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:53 PM
To: CF-Talk
Subject: RE: Client-side validation or Server-side Validation?

"
What's the method to this madness?

Do I set up some checking to see if JS is turned on
and then execute certain code accordingly?

Do I put alternate code (CF code that displays error
messages) inside  tags to only run it if
JS is disabled?
"

There may be some confusion here.  When thinking about this, it is very
important to keep in mind that CF runs on the server and JS runs on the
client AND NEVER THE TWO SHALL MIX!

This can get muddled in one's mind when thinking about dynamic JS code
generation and|or AJAX.  But even here, the CF code runs on the server
ONLY and the JS code runs on the client ONLY.

So the short answer to your last question is NO.  Putting CF code inside
 tags would never work.  The server has no idea if JS is
enables and the client would have no idea what to do with the CF code.

For me the highest level of looking at this is first build your
application with NO JS.  Just use old fashioned server/client
request/response patterns to handle the validation.  This is the fall
back code for when JS is disabled.  A user fills out the form, it is
submitted to the server, the server does the validations, if problems
our found they are displayed to the user and the user is allowed to fix
them and resubmit the form.

Then JS enhances can be added.  These can short circuit the server/clent
request/response cycle.  Either validates the data in the client or
makes AJAX request to the server for more complex validations with
hidden requests.  Then either report the errors and allow correction or
allow the form to be submitted to the server where the validations are
repeated.  Yes repeated because your server can NOT rely on the user
validations happened.

What I am suggesting is that it's not a big stretch to create a
framework/library/system that uses one set of rules to run both the
server side validation and be used to create the JS code that will run
the client side validation.  Just make sure that the application works
correctly without this code, then if it is disabled it just falls back
to the client server round trips.  The cfinput/cffrom functionality in
CF exactly this already, but if one wants something more universal then
one will need to expand on this foundation.




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

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


Global Component

2007-04-17 Thread Kevin Aebig
This might sound ridiculous, but I'm trying to have an easily accessible CFC
that would be somewhat similar to a Custom Tag. I'm thinking that its
possible, but for the time being I'm running blank.

 

Thanks,

 

!k

 

--

[K  n  o  w  l  e  d  g  e  E  n  a  b   l   e  d  S  y  s  t  e
m  s]

Business Solutions  +  Creative Services  +  Security Consulting

Web: www.keslabs.com   

Email: [EMAIL PROTECTED] 

Phone: 306.683.6451

 




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

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


Re: Site Check please: www.CodeFetcher.com

2007-04-17 Thread Curt Schryver
Still looking for a response on this one.

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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Ian Skinner
"
> RIGHT!  You understand this, correct?

Can't say I understand how it's done, 
"

When you build a form on a HTML page it is sent as plain text to a
browser, the browser renders it according to the rules.  When the user
completes and submits the form a plain text request with all the data is
sent to the server.  This browser is on my system and I have complete
control over what is put into that request.  

How these requests are built is a well understood public standard, if
not how would we be making our livings.  If one wanted to, they could
build a properly formatted response in a text editor and send it your
server without even using a browser.  If one did not even use a browser,
how would any client side validation ever have any effect?

IE does not make it as obvious as other browsers how to play with the
responses and requests, but it is not hard.  Firefox has simple
downloadable plugins that make it dirt simple to build any response I
want to send to your server and any client side validation will be
completely irrelevant to this.


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

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


Re: Who is wrong ?

2007-04-17 Thread Claude Schneegans
 >>You can also set up some rewrite rules with Apache's mod_rewrite or 
one of the IIS filters.

Which IIS filter?
I can see about ISAPI filters in IIS, but where are they?
Do I have to develop my own ?

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


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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Ian Skinner
#Form_Errors.Name_Error#<
/nos
cript>

While this line is perfectly syntactically correct, I do not believe it
will function as you expect it to.  Follow through the process of the
request.  CF receives a request form a user client (passed on from the
web server).  It process ALL the CF instructions it finds in the request
resource (aPage.cfm) and sends the entire results back to the client;
again through the web server.  So what would happen with your line is
that CF would attempt to render the variable #form_errors.Name_error#.
Most likely it would not exist since no user interaction with the form
has occurred yet, but if you had set to some default value, that value
would be rendered to the result to be sent to the client.  Then the
browser would get it and then show whatever the default value was,
before any user interaction has occurred because the server has already
rendered it. 


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

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


Re: changing directory

2007-04-17 Thread daniel kessler
Thanks Sam - that seems like a good idea.

>You can do this with CF:
>
>Copy the folder to the new folder.
>
>Do a cfdirectory call to get all files in the new (or old) folder.
>
>Loop over and write a file to the old folder that has something like:
>   
>
>Test!
>
>You may also want to look at using cfheader and a status code of 302
>(I think) as that will tell browsers and search engines that the page
>has moved permanently.  See Google for more.
>
>Cheers,
>
>Sam Farmer
>http://samfarmer.instantspot.com/blog/
>
>On 4/12/07, daniel kessler <[EMAIL PROTECTED]> wrote:
>>

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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Ian Skinner
"
What's the method to this madness?

Do I set up some checking to see if JS is turned on
and then execute certain code accordingly?

Do I put alternate code (CF code that displays error
messages) inside  tags to only run it if
JS is disabled?
"

There may be some confusion here.  When thinking about this, it is very
important to keep in mind that CF runs on the server and JS runs on the
client AND NEVER THE TWO SHALL MIX!

This can get muddled in one's mind when thinking about dynamic JS code
generation and|or AJAX.  But even here, the CF code runs on the server
ONLY and the JS code runs on the client ONLY.

So the short answer to your last question is NO.  Putting CF code inside
 tags would never work.  The server has no idea if JS is
enables and the client would have no idea what to do with the CF code.

For me the highest level of looking at this is first build your
application with NO JS.  Just use old fashioned server/client
request/response patterns to handle the validation.  This is the fall
back code for when JS is disabled.  A user fills out the form, it is
submitted to the server, the server does the validations, if problems
our found they are displayed to the user and the user is allowed to fix
them and resubmit the form.

Then JS enhances can be added.  These can short circuit the server/clent
request/response cycle.  Either validates the data in the client or
makes AJAX request to the server for more complex validations with
hidden requests.  Then either report the errors and allow correction or
allow the form to be submitted to the server where the validations are
repeated.  Yes repeated because your server can NOT rely on the user
validations happened.

What I am suggesting is that it's not a big stretch to create a
framework/library/system that uses one set of rules to run both the
server side validation and be used to create the JS code that will run
the client side validation.  Just make sure that the application works
correctly without this code, then if it is disabled it just falls back
to the client server round trips.  The cfinput/cffrom functionality in
CF exactly this already, but if one wants something more universal then
one will need to expand on this foundation.


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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Rick Faircloth
> RIGHT!  You understand this, correct?

Can't say I understand how it's done, but I do submit to the
chorus of voices on the list saying it's so...

Thanks for the tip on the info!

Rick

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:26 PM
To: CF-Talk
Subject: RE: Client-side validation or Server-side Validation?

"
Use CF as the basis for validation, then if JS is on,
generate some JS client-side validation code and
use CF for server-side.

If JS in not on, just use CF validation, both client-
and server-side...

Is there a fool-proof way to determine whether or not
someone is using JS?
"

I would not work so hard.  You are going to validate server-side no
matter what!  If you don't you are leaving yourself open to all kinds of
trouble from people who can bypass your client side validation and send
any data they want to your system.  RIGHT!  You understand this,
correct?

Now I can imagine it would not be hard to do this validation in a manner
that the same rules could be used to build the appropriate JS code (it's
no different then generating HTML code) for the client side validation.
Just write the JS to not be a hindrance if it is disabled, then who
cares if the user has it on or off.  Just make sure you don't create any
controls that don't work without JS, they just work NICER if the JS is
running.

So you spend a little bandwidth sending unused JS to clients that don't
use it.  I would think this would be much easier to deal with then
trying to create some complex system the switches the code one way or
the other depending on some not 100% reliable browser check.

I have found this resource [http://www.quirksmode.org/js/contents.html]
to be very informative for how to write good JS that enhances a user
experience without being a determent if it is disabled.  It's got some
great CSS information as well.




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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Rick Faircloth
Question...

Will CF code execute inside  tags if JS is available?

Let say, on the web page, I put the following in a cell to display
a validation failure message:

#Form_Errors.Name_Error#

The  is a placeholder for purely JS created error
messages.

The #Form_Errors.Name_Error# is typical of how I place
error
messages generarted by my CF method of returning validation error messages
to
a form page.

Can I combine the two as above?

Rick



-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:29 PM
To: CF-Talk
Subject: RE: Client-side validation or Server-side Validation?

This doesn't address exactly what you're proposing Ian, but this already

exists in CF for client side at least: cfform/cfinput.

That is true.  I was thinking of a larger, more robust system.  But yes
using the cfform/cfinput is an example of exactly what I am talking
about.  With these tags CF creates both the server side AND JS client
side code to validate form controls.

They existed at least as far back as CF4.5, but have been improved upon
considerable from version to version.




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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Rick Faircloth
> A good reason to upgrade, Rick!

jQuery is cheaper! (And I'm learning JS, too!)

Still holding out for CF 8...

Rick

-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:21 PM
To: CF-Talk
Subject: Re: Client-side validation or Server-side Validation?

> In other words, I would think it should not be too hard, and likely
> something like this exists in some framework or library out there, to
> create code that will use a set of validation rules to both validate
> data on the server and create the appropriate JS to be sent to the
> client for user side validation either stand alone or with AJAX style
> functionality when warranted.

This doesn't address exactly what you're proposing Ian, but this already 
exists in CF for client side at least: cfform/cfinput.  If you already have 
your server side validation set up, you can just add on cfform/cfinputs to 
get the client side validation you need (in most cases anyway).

Only available cfmx 6.1+ I think, but this is definitely the easiest way to 
get client side validation if you're not too comfortable with javascript.

A good reason to upgrade, Rick!

-- Josh




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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Rick Faircloth
What's the method to this madness?

Do I set up some checking to see if JS is turned on
and then execute certain code accordingly?

Do I put alternate code (CF code that displays error
messages) inside  tags to only run it if
JS is disabled?

What are the display control methods?

Rick

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 1:55 PM
To: CF-Talk
Subject: RE: Client-side validation or Server-side Validation?

But now what I need to know is how to go about using
dual validation...


I have nothing specific to which to point you.  But the idea that came
to me while I was skimming this thread is that CF is very good at
creating dynamic JavaScript to be sent to the client.  

In other words, I would think it should not be too hard, and likely
something like this exists in some framework or library out there, to
create code that will use a set of validation rules to both validate
data on the server and create the appropriate JS to be sent to the
client for user side validation either stand alone or with AJAX style
functionality when warranted.




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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Ian Skinner
This doesn't address exactly what you're proposing Ian, but this already

exists in CF for client side at least: cfform/cfinput.

That is true.  I was thinking of a larger, more robust system.  But yes
using the cfform/cfinput is an example of exactly what I am talking
about.  With these tags CF creates both the server side AND JS client
side code to validate form controls.

They existed at least as far back as CF4.5, but have been improved upon
considerable from version to version.


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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Bader, Terrence C CTR MARMC, 231
Easiest way is to have your initialization page have a
location=index.cfm?js=sure.  now this can be done in as
the entrance page and you can put a  or it can be a inline frame or a
popup.  or you can do a ajax call back to the server.

on the server side you would have something like 


and on the called pages by the above JS methods, you would have
something setting to 1.



but honestly if all you are doing is client side validation, who cares
if they have JS on/off... (unless you are maximizing the optimization of
bandwidth and don't event want to send the js code to the client)  if
they have it off, then it still gets caught on the server side which
will throw the error and this will always good to happen just in case.
if they have it on, js picks up automatically.  

~Terry

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 13:12
To: CF-Talk
Subject: RE: Client-side validation or Server-side Validation?

Sounds good, Ian...

Maybe someone's heard of something like that.

Use CF as the basis for validation, then if JS is on, generate some JS
client-side validation code and use CF for server-side.

If JS in not on, just use CF validation, both client- and server-side...

Is there a fool-proof way to determine whether or not someone is using
JS?

Rick

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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Dan G. Switzer, II
Rick,

>Sounds good, Ian...
>
>Maybe someone's heard of something like that.
>
>Use CF as the basis for validation, then if JS is on,
>generate some JS client-side validation code and
>use CF for server-side.
>
>If JS in not on, just use CF validation, both client-
>and server-side...
>
>Is there a fool-proof way to determine whether or not
>someone is using JS?

You don't need to do anything at all. The browser will simply ignore JS if
it's disabled in the browser.

You really should just do some experimentation yourself to see what the
actual behavior is. Just turn JS off in your browser and look to see how
your pages act. The best way to learn is to do.

-Dan


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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Ian Skinner
"
Use CF as the basis for validation, then if JS is on,
generate some JS client-side validation code and
use CF for server-side.

If JS in not on, just use CF validation, both client-
and server-side...

Is there a fool-proof way to determine whether or not
someone is using JS?
"

I would not work so hard.  You are going to validate server-side no
matter what!  If you don't you are leaving yourself open to all kinds of
trouble from people who can bypass your client side validation and send
any data they want to your system.  RIGHT!  You understand this,
correct?

Now I can imagine it would not be hard to do this validation in a manner
that the same rules could be used to build the appropriate JS code (it's
no different then generating HTML code) for the client side validation.
Just write the JS to not be a hindrance if it is disabled, then who
cares if the user has it on or off.  Just make sure you don't create any
controls that don't work without JS, they just work NICER if the JS is
running.

So you spend a little bandwidth sending unused JS to clients that don't
use it.  I would think this would be much easier to deal with then
trying to create some complex system the switches the code one way or
the other depending on some not 100% reliable browser check.

I have found this resource [http://www.quirksmode.org/js/contents.html]
to be very informative for how to write good JS that enhances a user
experience without being a determent if it is disabled.  It's got some
great CSS information as well.


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

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


Re: Client-side validation or Server-side Validation?

2007-04-17 Thread Josh Nathanson
> In other words, I would think it should not be too hard, and likely
> something like this exists in some framework or library out there, to
> create code that will use a set of validation rules to both validate
> data on the server and create the appropriate JS to be sent to the
> client for user side validation either stand alone or with AJAX style
> functionality when warranted.

This doesn't address exactly what you're proposing Ian, but this already 
exists in CF for client side at least: cfform/cfinput.  If you already have 
your server side validation set up, you can just add on cfform/cfinputs to 
get the client side validation you need (in most cases anyway).

Only available cfmx 6.1+ I think, but this is definitely the easiest way to 
get client side validation if you're not too comfortable with javascript.

A good reason to upgrade, Rick!

-- Josh


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

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


Re: Client-side validation or Server-side Validation?

2007-04-17 Thread Will Tomlinson
>Which is exactly why I started this thread... to broaden my understanding of
>the issues... 

I'm workin on an app right now where it's incredibly important to be 
bulletproof. I just turned off JS, then started writing my validation routines 
with CF. 

I'm validating checkboxes, selects, radio buttons, etc... 

Then when I was finished, I added my JS (cfform) to it. 

Will

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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Rick Faircloth
Sounds good, Ian...

Maybe someone's heard of something like that.

Use CF as the basis for validation, then if JS is on,
generate some JS client-side validation code and
use CF for server-side.

If JS in not on, just use CF validation, both client-
and server-side...

Is there a fool-proof way to determine whether or not
someone is using JS?

Rick

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 1:55 PM
To: CF-Talk
Subject: RE: Client-side validation or Server-side Validation?

But now what I need to know is how to go about using
dual validation...


I have nothing specific to which to point you.  But the idea that came
to me while I was skimming this thread is that CF is very good at
creating dynamic JavaScript to be sent to the client.  

In other words, I would think it should not be too hard, and likely
something like this exists in some framework or library out there, to
create code that will use a set of validation rules to both validate
data on the server and create the appropriate JS to be sent to the
client for user side validation either stand alone or with AJAX style
functionality when warranted.




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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Michael E. Carluen
Wow, this thread kept going like the energizer bunny.

@Rick, on your next projects, first, try building your form, its processing
page, and your server-side validation in pure CF.  Once that is done,
separately slap in your JS bells and whistles, including your client-side
validation, and your *ajax form helpers*, second.  You'd be amazed on just
how much this approach will address most of the issues talked about in this
thread. After doing this approach for awhile, you'd learn how to be
efficient and won't be too much of a hassle at all.

Keep in mind that you should be leveraging the CF and JS for why you use
them in the first place- that is, CF for server side data integrity mgt, and
JS/ajax for the richer UI.  

Even on a javascript disabled client, you may loose the richer UI, but still
not compromise the data integrity and control you have on the server side.

@Claude, Dan S., Paul V.: I definitely agree with your points.

Finally, here is an example of a poorly executed "Javascript Required" site.

https://www.smithbarney.com/app-bin/homepage/servlets/HomepageServlet

On Firefox or IE, simply view the page on enabled and disabled JS. Its
developers simply neglected to detect JS on the client's browser, it does
not even provide the necessary instructions to remedy the login form and
display problem.

Michael




> -Original Message-
> From: Rick Faircloth [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 17, 2007 10:42 AM
> To: CF-Talk
> Subject: RE: Client-side validation or Server-side Validation?
> 
> But now what I need to know is how to go about using
> dual validation...
> 
> I can dream up some schemes, but I'm sure that wheel's
> been driven many miles already, so if anyone knows of
> some info or tutorial on the subject as to the best way to
> approach it, I'd be delighted to check it out...
> 
> Rick
> 
> 


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

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


RE: ffmpeg

2007-04-17 Thread Rick Faircloth
I didn't expect that to be at the bottom of the page...

Rick


-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 10:31 AM
To: CF-Talk
Subject: Re: ffmpeg

On Tuesday 17 Apr 2007, Rick Faircloth wrote:
> Can you tell me basically what it does and what it's used for typically?

Like the bottom of http://ffmpeg.mplayerhq.hu/index.html you mean ?

-- 
Tom Chiverton
Helping to simultaneously embrace 24/365 convergence
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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




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

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


RE: SSL Domain redirect without error message

2007-04-17 Thread Stephens, Larry V
I have a certificate on my basketbasics.com account (in that name). I
use a javascript redirect in the root that redirects either
basketbasics.com or www.basketbasics.com and it works okay for me. (See
below) I don't know if how the certificate is installed is a function of
this or not.


RE: ffmpeg

2007-04-17 Thread Rick Faircloth
Sound good!

The "on-the-fly" part is especially intriguing!

Thanks,

Rick

-Original Message-
From: Richard Cooper [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 10:26 AM
To: CF-Talk
Subject: Re: ffmpeg

Thanks Russ, I'll have a look at that but I think Adrian just saved the day
and sent me the right files :)

Rick, ffmpeg is a piece of software to record, convert and stream audio &
video files. I am going to be using it to convert all uploaded video files
into one standard format, Flash Video Files (FLV).

You can run it using cfexecute and convert the files on the fly. I came
across some sample code in google (searched coldfusion + ffmpeg) which
covered its use. Fingers crossed it'll will be very useful.



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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Ian Skinner
But now what I need to know is how to go about using
dual validation...


I have nothing specific to which to point you.  But the idea that came
to me while I was skimming this thread is that CF is very good at
creating dynamic JavaScript to be sent to the client.  

In other words, I would think it should not be too hard, and likely
something like this exists in some framework or library out there, to
create code that will use a set of validation rules to both validate
data on the server and create the appropriate JS to be sent to the
client for user side validation either stand alone or with AJAX style
functionality when warranted.


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

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


RE: Error invoking CFC for gateway myGateway: String index out of range: -1

2007-04-17 Thread Everett, Al \(NIH/NIGMS\) [C]
(Trying again, as this seems to have not been received.) 

Well, thanks for all the feedback.

Oddly, all of the gateways on our development server throw this error,
but the same gateways work fine in our test and production environments.
Code is all the same and the servers are SUPPOSED to be identical.

Any ideas? 

> "Error invoking CFC for gateway myGateway: String index out of range:
-1 "
> 
> Anyone have any experience with this error?
> 
> The cfc is essentially empty at this point. It's an initiator gateway
and all I have (after removing things trying to debug) is just an
> onIncomingMessage() function that doesn't do anything.
> 
> I've restarted the gateway after each code change, but the error stays
the same.
> 
> Ideas?

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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Rick Faircloth
> This is the problem with making general conclusions about how things work
> based on your own experiences.

Which is exactly why I started this thread... to broaden my understanding of
the issues... 

Rick

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 12:42 PM
To: CF-Talk
Subject: RE: Client-side validation or Server-side Validation?

> I can see where you're coming from Jochem... the need for 
> one-size-fits-all email for all types of devices.  And I'm 
> sure we'll all be working towards that as a routine eventually.
 
Why wait? You can use text email already!

> My references were mostly to users reading email on PC screens.
> 
> Just my little world...  :o)

This is the problem with making general conclusions about how things work
based on your own experiences. Right now, for any purpose other than
marketing, text email is almost always a better choice than HTML email.

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

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

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




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

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


Re: SSL Domain redirect without error message

2007-04-17 Thread Jordan Michaels
You would need to do this at the web server level. Are you running 
Apache or IIS? If you're running Apache, I could give you some code that 
would do this for you. ;) If you're running IIS, Google for information 
on setting up a 301 redirect.

Because this redirection is done at the web server level (as opposed to 
sending something to the client machine like a CFLOCATION would do) I'm 
95% sure that this will give you a redirect without an error message. 
The CFLOCATION (or javascript, or whatever) requires the web server to 
send a response back to the client. This will result in the SSL error 
which you're trying to avoid.

Hope this helps!

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
BlueDragon Alliance Member
[EMAIL PROTECTED]


Victor Moore wrote:
> Hi,
> 
> I have the following scenario:
> site: https://www.xyzdomain.com has a valid SSL certificate
> if users type https://xyzdomain.com they get invalid
> cert error.
> 
> What is the best way to do a redirect (from https://xyzdomain.com  to
> https://www.xyzdomain.com  )  without getting an
> error.
> One possible solution (I think) is to have  a redirect file (basically a js
> script) and then pointing the  403.4 message to this file (not tested yet).
> Are there any other solutions?
> 
> Thanks
> Victor
> 
> 
> 

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

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


Re: JDBC Connection Problem

2007-04-17 Thread Jamie Jackson
It turned out that the driver wasn't happy here, 
D:\jrun4\servers\xxx\cfusion.ear\cfusion.war\WEB-INF\lib\basisjdbc.jar, and 
CFMX7 was only half-heartedly using it.

I probably could have added the path to the classpath, but instead, I just 
moved the jar up to a higher lib directory (D:\jrun4\servers\lib).

Works fine now.

Thanks,
Jamie

> I'm trying to connect to a database via JDBC. I can connect through 
> Java apps running on the Web server (using CFMX7's built-in JVM), but 
> the same data source configuration in the CFMX7 admin throws an 
> error:
> 
> Connection verification failed for data source: BASIS10
> java.sql.SQLException: Timed out trying to establish connection
> The root cause was that: java.sql.SQLException: Timed out trying to 
> establish connection
> 
> Here's what I'm using to (successfully) connect directly through a 
> Java app (personal info exxed out).
> D:\JRun4\jre\bin\java -classpath .;D:\jrun4\servers\xxx\cfusion.
> ear\cfusion.war\WEB-INF\lib\basisjdbc.jar TestConnection com.opentext.
> basis.jdbc.BasisDriver jdbc:opentext:basis://xxx:[EMAIL PROTECTED]
> xx:7300/library_docs xxx xxx
> 
> Any ideas what's wrong, or how to troubleshoot?
> 
> Thanks,
> Jamie
> 
> P.S. Yes, it's a weird DB (OpenText BASIS), but it uses JDBC.

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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Rick Faircloth
But now what I need to know is how to go about using
dual validation...

I can dream up some schemes, but I'm sure that wheel's
been driven many miles already, so if anyone knows of
some info or tutorial on the subject as to the best way to
approach it, I'd be delighted to check it out...

Rick


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 12:42 PM
To: CF-Talk
Subject: RE: Client-side validation or Server-side Validation?

> I can see where you're coming from Jochem... the need for 
> one-size-fits-all email for all types of devices.  And I'm 
> sure we'll all be working towards that as a routine eventually.
 
Why wait? You can use text email already!

> My references were mostly to users reading email on PC screens.
> 
> Just my little world...  :o)

This is the problem with making general conclusions about how things work
based on your own experiences. Right now, for any purpose other than
marketing, text email is almost always a better choice than HTML email.

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

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

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




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

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


Re: Please Help! ORA-01704: string literal too long Error (CFMX)

2007-04-17 Thread Doug Bezona
Wow, haven't run into that one in a long time.

Some of this is from the CF 5 days, but one or a combination of these should
help.

1. Make sure there aren't any restrictions set on the datasource in the
ColdFusion administrator ("Enable retrieval of long text" disabled, etc.)

2. Try a different driver - as Dave suggested, first make sure you have the
most up-to-date CF drivers, and if that doesn't help,  try an alternate JDBC
driver, or even ODBC a shot.

3. Use CFQUERYPARAM. This one was generally the "magic bullet" for me in the
past. Oracle just seems much happier getting long string data in a bind
variable rather than as a literal.


On 4/17/07, Brad Stone <[EMAIL PROTECTED]> wrote:
>
> All:
>
> I have a situation where well-formed INSERT or UPDATE pass-thru queries
> fail through the native Oracle driver, but executes successfully in Toad or
> SQL*Plus:
>
> [Macromedia][Oracle JDBC Driver][Oracle]ORA-01704: string literal too long
>
> I'm running CFMX 6.1 and Oracle 10G.  I've verified this in three
> Oracle/CF instances.  There are no extended character sets (all one byte
> characters.)  Using default Oracle 10G character set.
>
> I am aware that this was an issue with versions of CF prior to version 5.0- 
> all the posts out there simply seem to interate this fact (but it doesn't
> help in solving the problem.)  Has there anybody out there dealt with this
> problem, and found a fix (outside of using CLOBS?)
>
> Thanks!
>
>
>
>
>
> 

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

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


Re: SSL Domain redirect without error message

2007-04-17 Thread George Abraham
You know, the best thing to do might be to give them a "domain not found"
error when they enter in xyzdomain.com. That way, they do recheck the
address.

George

On 4/17/07, George Abraham <[EMAIL PROTECTED]> wrote:
>
> Hmm, that is true, the middle site would also have to have the SSL cert
> cover it.
>
> George
>
> On 4/17/07, Victor Moore < [EMAIL PROTECTED]> wrote:
> >
> > Hi George,
> >
> > Thank you for your response. Unfortunately it won't work (as far as I
> > can
> > tell).
> > I am ding a redirection now, but the message pops up before the
> > redirection
> > occurs.
> > Either I'm doing something wrong or the only way to do it is to get a
> > wild
> > card ssl certificate that covers both domains : www.xyzdomain.com and
> > xyzdomain.com 
> >
> > Thanks
> > Victor
> >
> > On 4/17/07, George Abraham < [EMAIL PROTECTED]> wrote:
> > >
> > > Victor,
> > > If you do have access to the web server's configuration, why not
> > define a
> > > site called https://xyzdomain.com and then have a single page in the
> > home
> > > directory there that redirects to the correct site:
> > > https://www.xyzdomain.com ? I usually have a single such directory
> > that I
> > > have all such sites point to and there I have a index.cfm page that
> > > essentially has this code:
> > >
> > > 
> > >  > > url="https://www.#CGI.HTTP_HOST#')"
> > addtoken="No">
> > > 
> > >
> > > or some similar type of code. Other people may have better solutions
> > > though.
> > >
> > > HTH
> > > George
> > >
> > >
> >
> >
> > 

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

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


Re: SSL Domain redirect without error message

2007-04-17 Thread George Abraham
Hmm, that is true, the middle site would also have to have the SSL cert
cover it.

George

On 4/17/07, Victor Moore <[EMAIL PROTECTED]> wrote:
>
> Hi George,
>
> Thank you for your response. Unfortunately it won't work (as far as I can
> tell).
> I am ding a redirection now, but the message pops up before the
> redirection
> occurs.
> Either I'm doing something wrong or the only way to do it is to get a wild
> card ssl certificate that covers both domains : www.xyzdomain.com and
> xyzdomain.com 
>
> Thanks
> Victor
>
> On 4/17/07, George Abraham <[EMAIL PROTECTED]> wrote:
> >
> > Victor,
> > If you do have access to the web server's configuration, why not define
> a
> > site called https://xyzdomain.com and then have a single page in the
> home
> > directory there that redirects to the correct site:
> > https://www.xyzdomain.com? I usually have a single such directory that I
> > have all such sites point to and there I have a index.cfm page that
> > essentially has this code:
> >
> > 
> > https://www.#CGI.HTTP_HOST#')" addtoken="No">
> > 
> >
> > or some similar type of code. Other people may have better solutions
> > though.
> >
> > HTH
> > George
> >
> >
>
>
> 

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

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


Re: Who is wrong ?

2007-04-17 Thread Claude Schneegans
 >>Did everyone miss the function that I posted earlier that fixes the 
problem?

No, I've seen it and eventually going to implement it.
For the moment I'm trying to implement a filter on IIS server as 
suggested by Russ, but
it does not look trivial ;-)

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


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

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


RE: Who is wrong ?

2007-04-17 Thread Paul Vernon
>  >>For what it's worth, I've seen similar behaviour from 
> certain search engines, where links have ampersands in them.
> 
> That's the case: the make an url to their own site, passing 
> the result link as a parameter.
> In the process they escape all characters, which they should not do.
> 
>  >> It's trivial to put a filter at the front of your request 
> to strip names that contain "amp;"
> at the beginning. 
> 
> Ok, I'll try to implement something in my application.cfm

Did everyone miss the function that I posted earlier that fixes the problem?

Paul




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

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


RE: ffmpeg

2007-04-17 Thread Kevin Aebig
Don't quote me on this, but I believe that there was a way to do it with
ffmpeg, but it requires quite a bit of hacking and slashing.

!k

-Original Message-
From: Russ [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 10:23 AM
To: CF-Talk
Subject: RE: ffmpeg

Speaking of ffmpeg, it doesn't seem to support conversion to ON6 (flash8)
flv.  Is there another product that does this?  I would like to be able to
do this on the fly from CF or something.  

Russ

> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 17, 2007 11:04 AM
> To: CF-Talk
> Subject: Re: ffmpeg
> 
> I used it at my last job to:
> 
> convert mov/wmv to flv
> resize
> take screen grabs from parts of the film to use for screen shots
> 
> 
> On 4/17/07, Russ <[EMAIL PROTECTED]> wrote:
> > Ffmpeg basically lets you convert between different video/audio formats
> and lets you encode using certain algorithms.
> >
> > Russ
> >
> > > -Original Message-
> > > From: Rick Faircloth [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, April 17, 2007 10:10 AM
> > > To: CF-Talk
> > > Subject: RE: ffmpeg
> > >
> > > Hi, Richard...
> > >
> > > I do a lot of work with video and I'm curious about ffmpeg.
> > > I went to the main site, but like many of these sites, there's
> > > no basic "What is ffmpeg?" statement.
> > >
> > > Can you tell me basically what it does and what it's used for
> typically?
> > >
> > > Rick
> > >
> > >
> > > -Original Message-
> > > From: Richard Cooper [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, April 17, 2007 9:44 AM
> > > To: CF-Talk
> > > Subject: Re: ffmpeg
> > >
> > > Hi Adrian,
> > >
> > > I found a couple of options a zip file with loads of files which
> looked
> > > like
> > > they needed to be compiled and I also found an exe (can't remember
> where)
> > >
> > > When I ran the exe I had an error "unable to locate component": This
> > > application has failed to start because pthreadGC2.dll was not found.
> > > Re-installing the application may fix this problem.
> > >
> > > Do you remeber where you got your exe from?
> > > Was it here: http://ffmpeg.mplayerhq.hu/download.html
> > > or one of these:
> > > http://www.mplayerhq.hu/design7/dload.html
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> 
> 



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

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


Re: Who is wrong ?

2007-04-17 Thread Claude Schneegans
 >>You can also set up some rewrite rules with Apache's mod_rewrite or 
one of
the IIS filters.

Ah good idea, I'll see what I can do.

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


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

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


Re: Who is wrong ?

2007-04-17 Thread Claude Schneegans
 >>it discusses the HREF attribute of an element.

Ok, I see now. But it applies to XHTML, not standard HTML
Anyway, this is obviously in contradiction with RFC 1738.

In HTML, what's inside an attribute is NOT HTML, it is just a string value.
Of course, one can pass a string contaning HTML in a parameter, but the 
string does not have to be
HTML encoded to be a valid HTML attribute.


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


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

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


Re: SSL Domain redirect without error message

2007-04-17 Thread Victor Moore
Hi George,

Thank you for your response. Unfortunately it won't work (as far as I can
tell).
I am ding a redirection now, but the message pops up before the redirection
occurs.
Either I'm doing something wrong or the only way to do it is to get a wild
card ssl certificate that covers both domains : www.xyzdomain.com and
xyzdomain.com 

Thanks
Victor

On 4/17/07, George Abraham <[EMAIL PROTECTED]> wrote:
>
> Victor,
> If you do have access to the web server's configuration, why not define a
> site called https://xyzdomain.com and then have a single page in the home
> directory there that redirects to the correct site:
> https://www.xyzdomain.com? I usually have a single such directory that I
> have all such sites point to and there I have a index.cfm page that
> essentially has this code:
>
> 
> https://www.#CGI.HTTP_HOST#')" addtoken="No">
> 
>
> or some similar type of code. Other people may have better solutions
> though.
>
> HTH
> George
>
>


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

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


RE: Who is wrong ?

2007-04-17 Thread Russ
You can also set up some rewrite rules with Apache's mod_rewrite or one of
the IIS filters.  This would perform much faster then doing it in CF.  

Russ

> -Original Message-
> From: Claude Schneegans [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 17, 2007 12:32 PM
> To: CF-Talk
> Subject: Re: Who is wrong ?
> 
>  >>For what it's worth, I've seen similar behaviour from certain search
> engines, where links have ampersands in them.
> 
> That's the case: the make an url to their own site, passing the result
> link as a parameter.
> In the process they escape all characters, which they should not do.
> 
>  >> It's trivial to put a filter at the front of your request to strip
> names that contain "amp;"
> at the beginning.
> 
> Ok, I'll try to implement something in my application.cfm
> 
>  >>Hardly an ideal solution, but it's more reasonable
> than changing the third-party search engine (unless you've got better
> friends than I do).
> 
> Especially that I don't even know them. I just noticed that the referrer
> tells the visitor came from their site.
> 
> Thanks.
> 
> 
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275588
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 and Java

2007-04-17 Thread Russ
Also check the CF error log.  I was just having the same kind of proble...
Error 500, I checked the cf log and it said that the class name is not
defined.  Turns out I needed to modify my jar packager to include the new
package that I just added.  

Russ



> -Original Message-
> From: Russ [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 17, 2007 12:21 PM
> To: CF-Talk
> Subject: RE: CF and Java
> 
> Does the code work when you run it from java?  In the main method, do
> something like:
> 
> IRMark irmark=new IRMark("somefile.xml");
> System.out.println(irmark.doStuff());
> 
> Russ
> 
> > -Original Message-
> > From: Andrew Whone [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 17, 2007 10:23 AM
> > To: CF-Talk
> > Subject: Re: CF and Java
> >
> > I got Russ's code working but if I do this:
> >  public class IRMark  {
> >  protected String filename;
> >   public IRMark (String filename) throws Exception
> >   {
> > this.filename=filename;
> > // Init the Apache XML security library
> > Init.init();
> > }
> >   public String doStuff()
> >   {
> > return filename;
> >}
> > }
> > I get an Object Instantiation Exception
> > and if i do this
> >  public class IRMark  {
> >  protected String filename;
> >   public IRMark (String filename) throws Exception
> >   {
> > this.filename=filename;
> >
> > }
> >   public String doStuff()
> >   {
> > // Init the Apache XML security library
> > Init.init();
> > return filename;
> >}
> > }
> > I get this
> > 500 org/apache/xml/security/Init
> > org/apache/xml/security/Init
> > no errors
> > I tried the latter with the rest of the code but cannot get anything
> else
> > Any suggestions?
> > A+
> >
> >
> 
> 

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

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


Re: SSL Domain redirect without error message

2007-04-17 Thread George Abraham
Victor,
If you do have access to the web server's configuration, why not define a
site called https://xyzdomain.com and then have a single page in the home
directory there that redirects to the correct site:
https://www.xyzdomain.com? I usually have a single such directory that I
have all such sites point to and there I have a index.cfm page that
essentially has this code:


https://www.#CGI.HTTP_HOST#')" addtoken="No">


or some similar type of code. Other people may have better solutions though.

HTH
George



On 4/17/07, Victor Moore <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have the following scenario:
> site: https://www.xyzdomain.com has a valid SSL certificate
> if users type https://xyzdomain.com they get invalid
> cert error.
>
> What is the best way to do a redirect (from https://xyzdomain.com  to
> https://www.xyzdomain.com  )  without getting an
> error.
> One possible solution (I think) is to have  a redirect file (basically a
> js
> script) and then pointing the  403.4 message to this file (not tested
> yet).
> Are there any other solutions?
>
> Thanks
> Victor
>


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

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


Re: Who is wrong ?

2007-04-17 Thread Claude Schneegans
 >>For what it's worth, I've seen similar behaviour from certain search
engines, where links have ampersands in them.

That's the case: the make an url to their own site, passing the result 
link as a parameter.
In the process they escape all characters, which they should not do.

 >> It's trivial to put a filter at the front of your request to strip 
names that contain "amp;"
at the beginning. 

Ok, I'll try to implement something in my application.cfm

 >>Hardly an ideal solution, but it's more reasonable
than changing the third-party search engine (unless you've got better
friends than I do).

Especially that I don't even know them. I just noticed that the referrer 
tells the visitor came from their site.

Thanks.


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

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


RE: ffmpeg

2007-04-17 Thread Russ
Speaking of ffmpeg, it doesn't seem to support conversion to ON6 (flash8)
flv.  Is there another product that does this?  I would like to be able to
do this on the fly from CF or something.  

Russ

> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 17, 2007 11:04 AM
> To: CF-Talk
> Subject: Re: ffmpeg
> 
> I used it at my last job to:
> 
> convert mov/wmv to flv
> resize
> take screen grabs from parts of the film to use for screen shots
> 
> 
> On 4/17/07, Russ <[EMAIL PROTECTED]> wrote:
> > Ffmpeg basically lets you convert between different video/audio formats
> and lets you encode using certain algorithms.
> >
> > Russ
> >
> > > -Original Message-
> > > From: Rick Faircloth [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, April 17, 2007 10:10 AM
> > > To: CF-Talk
> > > Subject: RE: ffmpeg
> > >
> > > Hi, Richard...
> > >
> > > I do a lot of work with video and I'm curious about ffmpeg.
> > > I went to the main site, but like many of these sites, there's
> > > no basic "What is ffmpeg?" statement.
> > >
> > > Can you tell me basically what it does and what it's used for
> typically?
> > >
> > > Rick
> > >
> > >
> > > -Original Message-
> > > From: Richard Cooper [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, April 17, 2007 9:44 AM
> > > To: CF-Talk
> > > Subject: Re: ffmpeg
> > >
> > > Hi Adrian,
> > >
> > > I found a couple of options a zip file with loads of files which
> looked
> > > like
> > > they needed to be compiled and I also found an exe (can't remember
> where)
> > >
> > > When I ran the exe I had an error "unable to locate component": This
> > > application has failed to start because pthreadGC2.dll was not found.
> > > Re-installing the application may fix this problem.
> > >
> > > Do you remeber where you got your exe from?
> > > Was it here: http://ffmpeg.mplayerhq.hu/download.html
> > > or one of these:
> > > http://www.mplayerhq.hu/design7/dload.html
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> 
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275584
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- send mail problem

2007-04-17 Thread Brad Wood
> Can you connect with any other mail client using the same connection
> information? How about from another machine?

I know the problem is happening from all 12 of our CF servers, and
apparently from our Java App server as well.  I think it is a safe bet
that 13 app servers didn't break at the same time.

Of course, now the techs made another "change" and we are getting
"connect refused".  I probed the server with nmap and found that port 25
is no longer open.  *sigh*

I guess it's going to be a long day.  :)

~Brad

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

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


Help- send mail problem

2007-04-17 Thread Brad Wood
Our mail server (MS Exchange) quit sending mail this morning.  Our techs
are trying to blame the CF servers, but we are pretty sure something
changed on the mail server.

The error started out as: Could not connect to SMTP host: 10.10.0.14,
port: 25; nested exception is: java.net.ConnectException: Connection
refused
Our techs "made a change" and then the error changed to: "Could not
connect to SMTP host: 10.10.0.14, port: 25, response: -1"

I can't find anything on Google.  Probably because retarded Google
thinks "-1" means I don't want to search for "1" regardless of if I
place it in quotes.
Our techs are clueless and keep telling us to "try it again now".

Can anyone shed some light on:
1) This is or is not a CF problem (pretty certain it isn't)
2) What the fix might be...


Thanks.

~Brad

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

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


Re: Who is wrong ?

2007-04-17 Thread Barney Boisvert
We're not talking about documents here, we're talking about URLs,
which don't conform to HTML or XML specifications.  URLs embedded
inside an HTML/XML document must conform to the spec, and therefore
have entity-escaped ampersands, but URLs themselves have literla
(unescaped) ampersands.

For what it's worth, I've seen similar behaviour from certain search
engines, where links have ampersands in them.  It's trivial to put a
filter at the front of your request to strip names that contain "amp;"
at the beginning.  Hardly an ideal solution, but it's more reasonable
than changing the third-party search engine (unless you've got better
friends than I do).

cheers,
barneyb

On 4/17/07, Dave Watts <[EMAIL PROTECTED]> wrote:
> > URLs should contain unescaped ampersands.  This URL:
> >
> >.../index.cfm?id=3&cat=dusty
> >
> > defines two params, one named 'id, and one named 'amp;cat',
> > with values you can surmise.
>
> Actually, I think that's incorrect:
>
> http://www.w3.org/TR/xhtml1/#C_12
>
> "n both SGML and XML, the ampersand character ("&") declares the beginning
> of an entity reference (e.g., ® for the registered trademark symbol
> "(r)"). Unfortunately, many HTML user agents have silently ignored incorrect
> usage of the ampersand character in HTML documents - treating ampersands
> that do not look like entity references as literal ampersands. XML-based
> user agents will not tolerate this incorrect usage, and any document that
> uses an ampersand incorrectly will not be "valid", and consequently will not
> conform to this specification. In order to ensure that documents are
> compatible with historical HTML user agents and XML-based user agents,
> ampersands used in a document that are to be treated as literal characters
> must be expressed themselves as an entity reference (e.g. "&"). For
> example, when the href attribute of the a element refers to a CGI script
> that takes parameters, it must be expressed as
> http://my.site.dom/cgi-bin/myscript.pl?class=guest&name=user rather than
> as http://my.site.dom/cgi-bin/myscript.pl?class=guest&name=user.";
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> This email has been processed by SmoothZap - www.smoothwall.net
>
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275579
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- send mail problem

2007-04-17 Thread Lincoln Milner
Something similar to this has happened to us a few times.  What we've
seen is when the Exchange server no longer accepts your CF server as a
mail relay.  If Exchange is set up to only allow mail from trusted
relays, and your server isn't on that list, it'll refuse the email.

We've had that list of trusted servers get "mysteriously" changed at
least 4 times, even when the admin swears "nothing was changed."

So you may want them to check that, and see if adding it (if it isn't
added) helps.  It may not, but that's been our problem in the past.

HTH

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 11:41 AM
To: CF-Talk
Subject: Help- send mail problem

Our mail server (MS Exchange) quit sending mail this morning.  Our techs
are trying to blame the CF servers, but we are pretty sure something
changed on the mail server.

The error started out as: Could not connect to SMTP host: 10.10.0.14,
port: 25; nested exception is: java.net.ConnectException: Connection
refused
Our techs "made a change" and then the error changed to: "Could not
connect to SMTP host: 10.10.0.14, port: 25, response: -1"

I can't find anything on Google.  Probably because retarded Google
thinks "-1" means I don't want to search for "1" regardless of if I
place it in quotes.
Our techs are clueless and keep telling us to "try it again now".

Can anyone shed some light on:
1) This is or is not a CF problem (pretty certain it isn't)
2) What the fix might be...


Thanks.

~Brad



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275578
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 and Java

2007-04-17 Thread Russ
Does the code work when you run it from java?  In the main method, do
something like:

IRMark irmark=new IRMark("somefile.xml");
System.out.println(irmark.doStuff());

Russ

> -Original Message-
> From: Andrew Whone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 17, 2007 10:23 AM
> To: CF-Talk
> Subject: Re: CF and Java
> 
> I got Russ's code working but if I do this:
>  public class IRMark  {
>  protected String filename;
>   public IRMark (String filename) throws Exception
>   {
> this.filename=filename;
>   // Init the Apache XML security library
>   Init.init();
>   }
>   public String doStuff()
>   {
>   return filename;
>}
> }
> I get an Object Instantiation Exception
> and if i do this
>  public class IRMark  {
>  protected String filename;
>   public IRMark (String filename) throws Exception
>   {
> this.filename=filename;
> 
>   }
>   public String doStuff()
>   {
>   // Init the Apache XML security library
>   Init.init();
>   return filename;
>}
> }
> I get this
> 500 org/apache/xml/security/Init
> org/apache/xml/security/Init
> no errors
> I tried the latter with the rest of the code but cannot get anything else
> Any suggestions?
> A+
> 
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275583
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- send mail problem

2007-04-17 Thread Dave Watts
> Can anyone shed some light on:
> 1) This is or is not a CF problem (pretty certain it isn't)

I would bet it's not a CF problem. CF is no different from any other SMTP
client, as far as Exchange is concerned.

> 2) What the fix might be...

Can you connect with any other mail client using the same connection
information? How about from another machine?

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

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

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


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

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


RE: Who is wrong ?

2007-04-17 Thread Dave Watts
> Well, this is true for HTML, but here we are inside a url address.
> You're not supposed to pass HTML in a url address, aren't you ?

Presumably, that URL is contained within an HTML page. Most of the links I
click are actually within HTML pages. I can't speak for your experience,
though.

> The document you are refering to does not contain the string "url".
 
No. It discusses the HREF attribute of an element. Hey, did you know, the
anchor tag is an element? Gee, I wonder what kind of thing you put in an
HREF attribute, anyway?

> > http://my.site.dom/cgi-bin/myscript.pl?class=guest&name=user
> > rather than
> > as http://my.site.dom/cgi-bin/myscript.pl?class=guest&name=user.";
>
> If it is true, then CF does not interpret it correctly and 
> does not give me the two parameters "class" and "name"

Since it's a standard, issued by the governing standards body, I would
assume that it's true. Of course, that doesn't mean that browsers and
servers correctly honor that standard.

>  furthermore, one can read in 
> http://www.ietf.org/rfc/rfc1738.txt :
> 
> "Many URL schemes reserve certain characters for a special meaning: 
> their appearance in the scheme-specific part of the URL has a 
> designated semantics. If the character corresponding to an octet 
> is reserved in a scheme, the octet must be encoded.
> The characters ";", "/", "?", ":", "@", "=" and "&" are the 
> characters which may be reserved for special meaning within a 
> scheme. No other characters may be reserved within a scheme."
> 
> This means that the character & has a special meaning (delimiting a
> parameter) and that if the character must be passed in a string 
> inside some parameter value, then it should be encoded.

You are correct that it has a special meaning. That doesn't mean you're
correct in your assumption of what that special meaning is. It appears to me
that the special meaning is to point out the beginning of a character
entity.

That said, I'm more interested in whether things work well than their
standards conformance, so I don't bother encoding ampersands as character
entities in URLs, myself.

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

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

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


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

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


Re: ffmpeg

2007-04-17 Thread Raymond Camden
I should probably whip up a good blog example of doing video
conversion sometime. :)

On 4/17/07, Raymond Camden <[EMAIL PROTECTED]> wrote:
> I used it at my last job to:
>
> convert mov/wmv to flv
> resize
> take screen grabs from parts of the film to use for screen shots
>
>
> On 4/17/07, Russ <[EMAIL PROTECTED]> wrote:
> > Ffmpeg basically lets you convert between different video/audio formats and 
> > lets you encode using certain algorithms.
> >
> > Russ
> >
> > > -Original Message-
> > > From: Rick Faircloth [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, April 17, 2007 10:10 AM
> > > To: CF-Talk
> > > Subject: RE: ffmpeg
> > >
> > > Hi, Richard...
> > >
> > > I do a lot of work with video and I'm curious about ffmpeg.
> > > I went to the main site, but like many of these sites, there's
> > > no basic "What is ffmpeg?" statement.
> > >
> > > Can you tell me basically what it does and what it's used for typically?
> > >
> > > Rick
> > >
> > >
> > > -Original Message-
> > > From: Richard Cooper [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, April 17, 2007 9:44 AM
> > > To: CF-Talk
> > > Subject: Re: ffmpeg
> > >
> > > Hi Adrian,
> > >
> > > I found a couple of options a zip file with loads of files which looked
> > > like
> > > they needed to be compiled and I also found an exe (can't remember where)
> > >
> > > When I ran the exe I had an error "unable to locate component": This
> > > application has failed to start because pthreadGC2.dll was not found.
> > > Re-installing the application may fix this problem.
> > >
> > > Do you remeber where you got your exe from?
> > > Was it here: http://ffmpeg.mplayerhq.hu/download.html
> > > or one of these:
> > > http://www.mplayerhq.hu/design7/dload.html
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275571
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- send mail problem

2007-04-17 Thread Brad Wood
Thanks for the suggestion.  I asked the techs and they said that the ip
addresses for all of our cf servers are in the trusted relay list so
that couldn't be the problem.  Or at least they say, but I don't know
anything about how Exchange is configured.

~Brad

-Original Message-
From: Lincoln Milner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 10:48 AM
To: CF-Talk
Subject: RE: Help- send mail problem

Something similar to this has happened to us a few times.  What we've
seen is when the Exchange server no longer accepts your CF server as a
mail relay.  If Exchange is set up to only allow mail from trusted
relays, and your server isn't on that list, it'll refuse the email.

We've had that list of trusted servers get "mysteriously" changed at
least 4 times, even when the admin swears "nothing was changed."

So you may want them to check that, and see if adding it (if it isn't
added) helps.  It may not, but that's been our problem in the past.

HTH

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

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


Please Help! ORA-01704: string literal too long Error (CFMX)

2007-04-17 Thread Brad Stone
All:

I have a situation where well-formed INSERT or UPDATE pass-thru queries fail 
through the native Oracle driver, but executes successfully in Toad or SQL*Plus:

[Macromedia][Oracle JDBC Driver][Oracle]ORA-01704: string literal too long

I'm running CFMX 6.1 and Oracle 10G.  I've verified this in three Oracle/CF 
instances.  There are no extended character sets (all one byte characters.)  
Using default Oracle 10G character set.

I am aware that this was an issue with versions of CF prior to version 5.0 - 
all the posts out there simply seem to interate this fact (but it doesn't help 
in solving the problem.)  Has there anybody out there dealt with this problem, 
and found a fix (outside of using CLOBS?)

Thanks!





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

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


RE: Client-side validation or Server-side Validation?

2007-04-17 Thread Dave Watts
> I can see where you're coming from Jochem... the need for 
> one-size-fits-all email for all types of devices.  And I'm 
> sure we'll all be working towards that as a routine eventually.
 
Why wait? You can use text email already!

> My references were mostly to users reading email on PC screens.
> 
> Just my little world...  :o)

This is the problem with making general conclusions about how things work
based on your own experiences. Right now, for any purpose other than
marketing, text email is almost always a better choice than HTML email.

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

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

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


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

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


  1   2   >