RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Andrew Scott
Sean,

I am going to ask in a different way, and I would hope that you can provide a 
code example to explain you reasoning in more detail. When learning design 
patterns in Java, the book Head First Design Patterns gives a good example on 
the duck, with interfaces and implementation.

I would like for someone like yourself help us understand this in CF better, 
because I am not getting it from the technical side that you mention, call me 
stupid but I don't get it.

After reading this book, I see that when creating interfaces I can create an 
object and know that these methods are going to exist for the object. But to 
confuse the issue you say that CF doesn't need it, and I believe it provides a 
stronger mechanism for robust code.

So if we take the duck example in the book, how would you apply this in 
Coldfusion without using interfaces?



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



-Original Message-
From: Sean Corfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 10 July 2007 7:00 PM
To: CF-Talk
Subject: Re: SURVEY RESULTS: Is ColdFusion OO?

On 7/10/07, Andrew Scott <[EMAIL PROTECTED]> wrote:
> Sean why are you so against this? I welcome this with great open arms...

Java needed interfaces because it is a statically typed language and
had chosen not to support multiple inheritance. It had no choice.

In ColdFusion, all type checking is done at run time. So if you use
interfaces, you will get a *runtime* check, just like all the other
checks. And if you screw up, you'll get a runtime error. If you use
interfaces, the error just has different text in it (OK, that's a
*slight* oversimplification :)

Furthermore, since CF is a dynamic language, you can change methods on
an object after constructing it, thus removing any guarantees that an
interface would buy you. You remove a method or simply replace a
method with a different signature. The interface no longer applies.

Then there's the actual details of how cfinterface performs its type
check. It requires that the function signatures match exactly, as do
the return types. That's not how interfaces work in statically typed
languages. An interface defines a constraining API, not an exact API:
you can specify arguments (in an implementation class method) that are
compatible with the interface method arguments (e.g., adding optional
arguments or using more permissive types). You can also specify more
constrained return types since those can't violate the interface
(i.e., an implementation method can return a subtype of the interface
method's return type).

Finally (thank god you say!), other dynamic OO languages don't have
interfaces - and don't need them. The only reason CF8 has interfaces
is to satisfy the CF-should-be-more-like-Java crowd. And, yes, I admit
I was the person who entered the original ER to add interfaces and,
yes, I whipped up support from the community. I regret that. I should
have left well alone. I've probably done more to cause the
CF-should-be-more-like-Java argument than anyone and that was a big
mistake on my part. I've seen the light now... I hope others do too...
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

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



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


Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Sean Corfield
On 7/10/07, Eric Roberts <[EMAIL PROTECTED]> wrote:
> Why can't you have overloading in a dynamically typed language?

Because of the overhead of performing overload resolution - which
you'd have to do at runtime in a dynamic language.

Read this for more details:

http://corfield.org/entry/Overloading_is_not_OO

> If I remember correctly from my C days, you can overload in C...

No, you can't. C did have a little magic to allow a very limited
amount of 'fudging' this in the Standard library however...
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

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

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

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


Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Nicholas Tunney
You would almost have to set up a hierarchy in a dynamically typed 
language.  If you didn't and had an overloaded method, one expecting 
string and one expecting numeric, and passed in 1.92, which method would 
it call?

Nicholas M. Tunney
Blog: http://www.nictunney.com

Adobe Certified Advanced ColdFusion MX7 Developer
Adobe Certified Instructor
Adobe Community Expert



Eric Roberts wrote:
> Why can't you have overloading in a dynamically typed language?  Overloading
> isn't just sending over an argument with a different type...it is also
> sending over different numbers of arguments.  If I remember correctly from
> my C days, you can overload in C...so I would agree that these have nothing
> to do with OO.
>
> Eric
>
> -Original Message-
> From: Sean Corfield [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 10, 2007 3:02 AM
> To: CF-Talk
> Subject: Re: SURVEY RESULTS: Is ColdFusion OO?
>
> On 7/9/07, Steve Brownlee <[EMAIL PROTECTED]> wrote:
>   
>> - Overloading
>> - Generics
>> - Method overriding
>> - Static methods
>> - And most importantly, it's not typed (i.e. you can't cast a Sphere CFC
>> 
> as
>   
>> a Ball CFC, among a myriad of other possibilities)
>> 
>
> None of these has the slightest thing to do with OO. Lots of OO
> languages out there do not have any of these features!
>
> This is exactly my point: you're blinded by Java. Generics in
> particular are ANTI-OO. Generic programming is completely orthogonal
> to OO. Read some of the literature. Read about the STL in C++.
>
> You CANNOT have overloading in a dynamically typed language.
>
> ColdFusion already has method overriding.
>
> Static methods have nothing to do with OO (they are in fact more
> procedural than OO).
>
> Casting types has nothing to do with OO - in a dynamic language, you
> don't NEED casts - the objects already behave the right way.
>   

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Eric Roberts
Why can't you have overloading in a dynamically typed language?  Overloading
isn't just sending over an argument with a different type...it is also
sending over different numbers of arguments.  If I remember correctly from
my C days, you can overload in C...so I would agree that these have nothing
to do with OO.

Eric

-Original Message-
From: Sean Corfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 3:02 AM
To: CF-Talk
Subject: Re: SURVEY RESULTS: Is ColdFusion OO?

On 7/9/07, Steve Brownlee <[EMAIL PROTECTED]> wrote:
> - Overloading
> - Generics
> - Method overriding
> - Static methods
> - And most importantly, it's not typed (i.e. you can't cast a Sphere CFC
as
> a Ball CFC, among a myriad of other possibilities)

None of these has the slightest thing to do with OO. Lots of OO
languages out there do not have any of these features!

This is exactly my point: you're blinded by Java. Generics in
particular are ANTI-OO. Generic programming is completely orthogonal
to OO. Read some of the literature. Read about the STL in C++.

You CANNOT have overloading in a dynamically typed language.

ColdFusion already has method overriding.

Static methods have nothing to do with OO (they are in fact more
procedural than OO).

Casting types has nothing to do with OO - in a dynamic language, you
don't NEED casts - the objects already behave the right way.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

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



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


Re: Named anchor + url params in IE

2007-07-10 Thread Mike Little
came across this thread in my search for a solution. was this ever sorted as i 
am having the exact problem with IE7??

mike

>I'm finding that urls with both parameters and a named anchor, like this:
>
>  somesite/somedir/somefile.cfm?method=go&action=showHelp#help_sql
>
>...work fine in Firefox, but not in IE. It goes to the page, but not to the
>requested anchor.
>
>
>Also tried this variant:
>
>  somesite/somedir/somefile.cfm#help_sql?method=go&action=showHelp
>
>...no joy in either browser.
>
>
>Has anyone else seen this behavior? More importantly, got a workaround?
>
>Thanks,
>
>Dave Merrill

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


Re: Selecting top row in access db

2007-07-10 Thread Mike Little
how about that - adding an additional column to the order by clause fixed it!

thanks heaps adrian.

>Have a read of this:
>
>http://articles.techrepublic.com.com/5100-22-5035113.html
>
>Might explain things.
>
>Adrian
>
>-Original Message-
>From: Mike Little
>Sent: 11 July 2007 00:19
>To: CF-Talk
>Subject: Re: Selecting top row in access db
>
>
>ok, it appears to be my order by clause. having simply ORDER BY article_id
>DESC works? if anyone can expand on this for me it would be appreciated as i
>really would like to order as i have in the query that does not work...
>
>query.
>>
>>Regards
>>Mike

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


Re: ImageCFC 2.18 released

2007-07-10 Thread Rey Bango
Great work Rick!

Rick Root wrote:
> ImageCFC 2.18 is now available.  I tested it with Coldfusion MX 7 on
> Linux, Coldfusion 8 beta on Windows and Linux, and Bluedragon 7 on
> Linux.
> 
> It works much better than 2.17 did.
> 
> A future version will probably cause image.cfc to act as an
> "intermediary" to cfimage in Coldfusion 8 to take advantage of the
> improved performance and image quality available by using cfimage...
> but for now.. it works :)
> 
> It's in subversion - http://svn.riaforge.org/imagecfc , and can also
> be downloaded as a zip file from riaforge as well:
> http://imagecfc.riaforge.org/index.cfm?event=action.download
> 
> Rick
> 
> 

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


RE: Selecting top row in access db

2007-07-10 Thread Adrian Lynch
Have a read of this:

http://articles.techrepublic.com.com/5100-22-5035113.html

Might explain things.

Adrian

-Original Message-
From: Mike Little
Sent: 11 July 2007 00:19
To: CF-Talk
Subject: Re: Selecting top row in access db


ok, it appears to be my order by clause. having simply ORDER BY article_id
DESC works? if anyone can expand on this for me it would be appreciated as i
really would like to order as i have in the query that does not work...

>I know this is gunna be something simple...
>
>I have a cfc which contains the following query (using access database)...
>
>username="#variables.dbusername#" password="#variables.dbpassword#">
>
>SELECT TOP 1
>article.*
>FROM article
>WHERE 1=1
>
>   AND article_id = cfsqltype="cf_sql_integer">
>
>
>   AND issue_id = cfsqltype="cf_sql_integer">
>
>ORDER BY issue_id DESC, order_key
>
>
>The query executes perfectly except that is returns 3 rows instead of one.
>In the debugging out it shows...
>
>qgetArticles (Datasource=GME14211S1A, Time=16ms, Records=3) in
>C:\CFusionMX\wwwroot\Interface\com\article.cfc @ 10:44:00.000
>
>SELECT TOP 1
>article.*
>FROM article
>WHERE 1=1
>ORDER BY issue_id DESC, order_key
>
>What am I doing wrong, as the TOP function is working fine in another
query.
>
>Regards
>Mike


~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Selecting top row in access db

2007-07-10 Thread Mike Little
ok, it appears to be my order by clause. having simply ORDER BY article_id DESC 
works? if anyone can expand on this for me it would be appreciated as i really 
would like to order as i have in the query that does not work...

>I know this is gunna be something simple...
>
>I have a cfc which contains the following query (using access database)...
>
>username="#variables.dbusername#" password="#variables.dbpassword#">
>
>SELECT TOP 1
>article.*
>FROM article
>WHERE 1=1
>
>   AND article_id = cfsqltype="cf_sql_integer">
>
>
>   AND issue_id = cfsqltype="cf_sql_integer">
>
>ORDER BY issue_id DESC, order_key
>
>
>The query executes perfectly except that is returns 3 rows instead of one.
>In the debugging out it shows...
>
>qgetArticles (Datasource=GME14211S1A, Time=16ms, Records=3) in
>C:\CFusionMX\wwwroot\Interface\com\article.cfc @ 10:44:00.000
>
>SELECT TOP 1
>article.*
>FROM article
>WHERE 1=1
>ORDER BY issue_id DESC, order_key
>
>What am I doing wrong, as the TOP function is working fine in another query.
>
>Regards
>Mike

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


Re: CF7.0.2 bug: cfform xml, not validating Range.

2007-07-10 Thread henry ho
FYI, 

validateat="onServer"

works.


>**BUG**
>Concise problem statement:
>Steps to reproduce bug:
> 1. make a cfform format="xml"
> 2. use the Range validation example from cfinput MX7 livedoc
> 3. submit form
> Results: range is not checked at all.
> Expected results: range is check just like when format="html"
>
>Just reported to Adobe...
>
>
>Are there any more undocumented limitation with cfform format="xml"?

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Metadata for code documentation (was RE: SURVEY RESULTS: Is ColdFusion OO?)

2007-07-10 Thread Jaime Metcher
> -Original Message-
> From: Tom Chiverton [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 10 July 2007 7:16 PM
> To: CF-Talk
> Subject: Re: SURVEY RESULTS: Is ColdFusion OO?
>
>
> On Tuesday 10 Jul 2007, Sean Corfield wrote:
> > In ColdFusion, all type checking is done at run time. So if you use
> > interfaces, you will get a *runtime* check, just like all the other
> > checks. And if you screw up, you'll get a runtime error. If you use
> > interfaces, the error just has different text in it (OK, that's a
> > *slight* oversimplification :)
>
> I want Interfaces so I can aid other developers intergrating with
> my code- it
> explictly codes the contract.
>

I love the idea of documenting the intention - something that can be very
obscure using mixins.  However, as Sean and Ben Nadel have pointed out,
there is no enforceable contract, so cfinterface turns into an elaborate
commenting mechanism with a runtime performance penalty.  That reminds me of
another idea for documenting intention in a structured way that *doesn't*
have a performance penalty.

I'm certainly not the first person to point this out, but you can add
arbitrary attributes to the cfcomponent, cffunction and cfargument tags that
then appear in the metadata.  I'd love to see the community generate some
momentum on a standard set of metadata to aid in code introspection.

For example, if converting code from typed to untyped for performance
reasons, instead of removing "type" and "returntype" attributes, why not
change them to "_type" and "_returntype", thus documenting the original
intention?.  If ducktyping, the _type attribute could read "any CFC that
implements getID()" for example.  It would then be simple matter to adapt
CF's builtin CFC introspection to read these attributes.

Similarly, if you have a function in a superclass like this:





why not add an "abstract" attribute to document the intention.  From there
it's not too hard to parse the metadata into XMI and produce a UML diagram,
if that's what floats your boat.  And I know there's somebody out there
(sorry -forgot who you are) who uses cfproperty tags to document composition
relationships.

This *is* just documentation, *not* an attempt to add Java-style
annotations, and isn't necessarily any more accurate than any other
documentation.  The cool thing is the ability to import it into other tools.

Jaime Metcher



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


ImageCFC 2.18 released

2007-07-10 Thread Rick Root
ImageCFC 2.18 is now available.  I tested it with Coldfusion MX 7 on
Linux, Coldfusion 8 beta on Windows and Linux, and Bluedragon 7 on
Linux.

It works much better than 2.17 did.

A future version will probably cause image.cfc to act as an
"intermediary" to cfimage in Coldfusion 8 to take advantage of the
improved performance and image quality available by using cfimage...
but for now.. it works :)

It's in subversion - http://svn.riaforge.org/imagecfc , and can also
be downloaded as a zip file from riaforge as well:
http://imagecfc.riaforge.org/index.cfm?event=action.download

Rick

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


CF7.0.2 bug: cfform xml, not validating Range.

2007-07-10 Thread henry ho
**BUG**
Concise problem statement:
Steps to reproduce bug:
 1. make a cfform format="xml"
 2. use the Range validation example from cfinput MX7 livedoc
 3. submit form
 Results: range is not checked at all.
 Expected results: range is check just like when format="html"

Just reported to Adobe...


Are there any more undocumented limitation with cfform format="xml"?

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


Selecting top row in access db

2007-07-10 Thread Mike | NZSolutions Ltd
I know this is gunna be something simple...

I have a cfc which contains the following query (using access database)...



SELECT TOP 1
article.*
FROM article
WHERE 1=1

AND article_id = 


AND issue_id = 

ORDER BY issue_id DESC, order_key


The query executes perfectly except that is returns 3 rows instead of one.
In the debugging out it shows...

qgetArticles (Datasource=GME14211S1A, Time=16ms, Records=3) in
C:\CFusionMX\wwwroot\Interface\com\article.cfc @ 10:44:00.000

SELECT TOP 1
article.*
FROM article
WHERE 1=1
ORDER BY issue_id DESC, order_key

What am I doing wrong, as the TOP function is working fine in another query.

Regards
Mike



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


Can't see the trees for the forest here ...

2007-07-10 Thread Imperial, Robert
Hello folks,
 
I am in need of some enlightenment here with an issue that has me
stumped. I have a from validation script that I use in several forms in
a small personnel editor I built. In one particular page this script is
not firing and I cannot for the life of me see why it's not. The one
thing that seems to somehow play a part in this scenario is a session
variable I set at login: SESSION.Auth.UserRole, this gets set to 1 or 2.
1 is a basic rights level, 2 is full rights. The only place I actually
use this is where I display a set of links to various functions within
the editor. Below is the basic set up for this:
 

Change my password Change password
now.
Add a New Web Administrator Add New 
View All
Registered IP Addresses View in web or as an Excel file.
All Faculty Members Add New Edit/Delete
All Administative Staff Add New Edit/Delete
All Nursing Staff Add New Edit/Delete

 Faculty
Members  
 Add New  
Edit/Delete 
Administrative
Personnel  
Add New  
Edit/Delete
Nursing
Staff  
Add New  
Edit/Delete

 
The actions for addadminpersonnel and addnursing load the same form with
some conditional stuff for preloading the form if the action is "edit"
 yada yada yada.
 
My script is in the head as shown below:
 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>


Add Member
  
function validateForm() {
var allOk = true;
var errorString = "The following are required
fields:\n";

// require first name
if (!document.addmember.First_Name.value) {
allOk = false;
errorString += "\n- First Name";
}
// require last name
if (!document.addmember.Last_Name.value) {
allOk = false;
errorString += "\n- Last Name";
}   

// require a division before processing the
request
if (!document.addmember.Division.selectedIndex >
0) {
allOk = false;
errorString += "\n- Division";
}
// validate their email
var validEmail =
/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if
(!validEmail.test(document.addmember.Email.value)) {
allOk = false;
errorString += "\n- Email Address";
}   
if (!allOk)   
{
alert(errorString);
return false;
} 
 
return allOk;
}




 
Trimmed this down but I think you get the idea ...



   



 
 



This just blows past my validation script and can't see why as this same
script is working just fine setup in pretty much the same way, just a
much larger form. Like I mentioned before, the only thing that seems to
be related is SESSION.Auth.UserRole. Email me off list if needed.
 
TIA!
 
Bob Imperial
DOM-IS Web Developer
Department of Medicine
125 Macnider Hall, CB 7005
UNC at Chapel Hill Chapel Hill, NC 27599
Phone: (919) 843-6151
 


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


Re: 500 Error on SWF files: Logs Follow-Up

2007-07-10 Thread Aaron Roberson
Oops. forgot you were on Windows. That explains CFDotNetIntegration. I'm on
Mac OSX.

Thanks,
Aaron

On 7/10/07, Cutter (CFRelated) <[EMAIL PROTECTED]> wrote:
>
> This is on Windows, so I just went to the MMC Services snap in to view
> the services, stop those that were running, etc. Default install of the
> CFDotNetIntegration (might be wrong name, but it's close) was in the
> root of the C:\ drive.
>
> Steve "Cutter" Blades
> Adobe Certified Professional
> Advanced Macromedia ColdFusion MX 7 Developer
> _
> http://blog.cutterscrossing.com
>
> Aaron Roberson wrote:
> > Could you share some commands. Also, where is CFDotNetIntergreation
> located?
> >
> > -Aaron
> >
> > On 7/10/07, Cutter (CFRelated) <[EMAIL PROTECTED]> wrote:
> >> I saw several bug trac entries whereby services were not removed (and
> in
> >> some cases still running) even after uninstall. I had stopped all
> >> cf/jrun services (odbc, verity, instances, etc.) prior to doing my
> >> uninstall. Verify that these instances, if still in place, are at least
> >> stopped. I also deleted the JRun folder, as well as the
> >> CFDotNetIntegration, prior to doing my reinstall.
> >>
> >> Steve "Cutter" Blades
> >> Adobe Certified Professional
> >> Advanced Macromedia ColdFusion MX 7 Developer
> >> _
> >> http://blog.cutterscrossing.com
> >
> >
> >
>
> 

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


RE: cfoutput acting weird ... need another set of eyes

2007-07-10 Thread Russ
Sounds to me like cookie.cbadmin contains 1

Russ



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 10, 2007 4:03 PM
> To: CF-Talk
> Subject: cfoutput acting weird ... need another set of eyes
> 
> I've got this simple table ...
> 
> 
>   
> Vote 6-12
> Months
>   
>   
> Vote 13-24
> Months
>   
> 
> 
> 
> I've saved and uploaded several times, but the links that are being
> produced on the page is ...
> http://www.domain.com/rb_new_verified.cfm?cat=1
> 
> Thanks
> 
> D
> 
> 

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: 500 Error on SWF files: Logs Follow-Up

2007-07-10 Thread Cutter (CFRelated)
This is on Windows, so I just went to the MMC Services snap in to view 
the services, stop those that were running, etc. Default install of the 
CFDotNetIntegration (might be wrong name, but it's close) was in the 
root of the C:\ drive.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Aaron Roberson wrote:
> Could you share some commands. Also, where is CFDotNetIntergreation located?
> 
> -Aaron
> 
> On 7/10/07, Cutter (CFRelated) <[EMAIL PROTECTED]> wrote:
>> I saw several bug trac entries whereby services were not removed (and in
>> some cases still running) even after uninstall. I had stopped all
>> cf/jrun services (odbc, verity, instances, etc.) prior to doing my
>> uninstall. Verify that these instances, if still in place, are at least
>> stopped. I also deleted the JRun folder, as well as the
>> CFDotNetIntegration, prior to doing my reinstall.
>>
>> Steve "Cutter" Blades
>> Adobe Certified Professional
>> Advanced Macromedia ColdFusion MX 7 Developer
>> _
>> http://blog.cutterscrossing.com
> 
> 
> 

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: cfoutput acting weird ... need another set of eyes

2007-07-10 Thread Greg Morphis
dump the cookie and take a look.. perhaps it got saved wrong..

On 7/10/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
> Can you directly look at the source code on the remote server and
> confirm that it contains the code you expect it to?
>
>
> 

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


RE: Make PDF from page then email PDF

2007-07-10 Thread Brad Wood
You can tell the cfdocument tag to save the PDF it generates to a temporary 
location with a unique name.  Then use the mimeattach attribute of the cfmail 
tag to attach the file to the E-mail.

The user won't have to mess with Outlook, or even have Acrobat installed on 
their machine, as this will all happen server-side.

~Brad

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 3:20 PM
To: CF-Talk
Subject: RE: Make PDF from page then email PDF

How would you use CFDocument and CFMail together?

I donâEUR(tm)t see a way to take the PDF that CFDocument makes and save it to 
the file system, or pass it as a variable to CFMailParam.

You know I though that Acrobat Reader would allow you to email the PDF once 
opened in your browser, but I donâEUR(tm)t see this option in acrobat reader.  
The closest I see is a button called "send to fedex kinkos" and that is not 
what I want.




-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 3:50 PM
To: CF-Talk
Subject: RE: Make PDF from page then email PDF

This wouldn't involve outlook, but I don't think you need it.

Use cfdocument to create the pdf and cfmail to send the E-mail attaching
the pdf to it.

Let the user type into a text area whatever they wish to be included in
the body of the E-mail.

~Brad

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 2:37 PM
To: CF-Talk
Subject: Make PDF from page then email PDF

I have a form that people fill out.

When they hit submit I want to make a PDF of data they submitted then
pop open an email in outlook with the PDF attached to it.

Then all the user has to do is fill in the email to send the PDF to and
hit submit.

Any suggestions on how to do this?








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


Re: cfoutput acting weird ... need another set of eyes

2007-07-10 Thread Ben Doom
Could you be doing something like:



What happens if you dump the cookie scope?

--Ben Doom

[EMAIL PROTECTED] wrote:
> I've got this simple table ...
> 
> 
>   
> Vote 6-12 
> Months
>   
>   
> Vote 13-24 
> Months
>   
> 
> 
> 
> I've saved and uploaded several times, but the links that are being produced 
> on the page is ...
> http://www.domain.com/rb_new_verified.cfm?cat=1
> 
> Thanks
> 
> D
> 
> 

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


Re: cfoutput acting weird ... need another set of eyes

2007-07-10 Thread Josh Nathanson
>I've saved and uploaded several times, but the links that are being 
>produced on the page is ...
>http://www.domain.com/rb_new_verified.cfm?cat=1

Maybe the 1 string is actually stored in the cookie 
you're evaluating.  It would be hard to set a cookie with that value I 
think, you would have to have some seriously funky code going on, but that 
would produce the output you're seeing.  Perhaps you could do a simple test 
to make sure the cookie value is 1 rather than 1.

-- Josh


- Original Message - 
From: "Ian Skinner" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, July 10, 2007 1:37 PM
Subject: Re: cfoutput acting weird ... need another set of eyes


> Can you directly look at the source code on the remote server and
> confirm that it contains the code you expect it to?
>
>
> 

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: 500 Error on SWF files: Logs Follow-Up

2007-07-10 Thread Aaron Roberson
Could you share some commands. Also, where is CFDotNetIntergreation located?

-Aaron

On 7/10/07, Cutter (CFRelated) <[EMAIL PROTECTED]> wrote:
>
> I saw several bug trac entries whereby services were not removed (and in
> some cases still running) even after uninstall. I had stopped all
> cf/jrun services (odbc, verity, instances, etc.) prior to doing my
> uninstall. Verify that these instances, if still in place, are at least
> stopped. I also deleted the JRun folder, as well as the
> CFDotNetIntegration, prior to doing my reinstall.
>
> Steve "Cutter" Blades
> Adobe Certified Professional
> Advanced Macromedia ColdFusion MX 7 Developer
> _
> http://blog.cutterscrossing.com


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

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


Re: Make PDF from page then email PDF

2007-07-10 Thread Raymond Camden
cfdocument has a name attribute. This will save the binary data into a
variable you can then write to the file system.

On 7/10/07, Chad Gray <[EMAIL PROTECTED]> wrote:
> How would you use CFDocument and CFMail together?
>
> I don't see a way to take the PDF that CFDocument makes and save it to the 
> file system, or pass it as a variable to CFMailParam.
>
> You know I though that Acrobat Reader would allow you to email the PDF once 
> opened in your browser, but I don't see this option in acrobat reader.  The 
> closest I see is a button called "send to fedex kinkos" and that is not what 
> I want.
>
>
>
>
> -Original Message-
> From: Brad Wood [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 10, 2007 3:50 PM
> To: CF-Talk
> Subject: RE: Make PDF from page then email PDF
>
> This wouldn't involve outlook, but I don't think you need it.
>
> Use cfdocument to create the pdf and cfmail to send the E-mail attaching
> the pdf to it.
>
> Let the user type into a text area whatever they wish to be included in
> the body of the E-mail.
>
> ~Brad
>
> -Original Message-
> From: Chad Gray [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 10, 2007 2:37 PM
> To: CF-Talk
> Subject: Make PDF from page then email PDF
>
> I have a form that people fill out.
>
> When they hit submit I want to make a PDF of data they submitted then
> pop open an email in outlook with the PDF attached to it.
>
> Then all the user has to do is fill in the email to send the PDF to and
> hit submit.
>
> Any suggestions on how to do this?
>
>
>
>
>
>
> 

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


Re: cfoutput acting weird ... need another set of eyes

2007-07-10 Thread Ian Skinner
Can you directly look at the source code on the remote server and 
confirm that it contains the code you expect it to?


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


Re: cfoutput acting weird ... need another set of eyes

2007-07-10 Thread coldfusion . developer
It's a cfm file. Strange huh.  This is basic stuff but it's acting weird.

>What the extension of the file you are editing viewing/editing?
>.html, or .cfm?
>
>~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:283414
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Make PDF from page then email PDF

2007-07-10 Thread Chad Gray
How would you use CFDocument and CFMail together?

I don’t see a way to take the PDF that CFDocument makes and save it to the 
file system, or pass it as a variable to CFMailParam.

You know I though that Acrobat Reader would allow you to email the PDF once 
opened in your browser, but I don’t see this option in acrobat reader.  The 
closest I see is a button called "send to fedex kinkos" and that is not what I 
want.




-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 3:50 PM
To: CF-Talk
Subject: RE: Make PDF from page then email PDF

This wouldn't involve outlook, but I don't think you need it.

Use cfdocument to create the pdf and cfmail to send the E-mail attaching
the pdf to it.

Let the user type into a text area whatever they wish to be included in
the body of the E-mail.

~Brad

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 2:37 PM
To: CF-Talk
Subject: Make PDF from page then email PDF

I have a form that people fill out.

When they hit submit I want to make a PDF of data they submitted then
pop open an email in outlook with the PDF attached to it.

Then all the user has to do is fill in the email to send the PDF to and
hit submit.

Any suggestions on how to do 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:283415
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 500 Error on SWF files: Logs Follow-Up

2007-07-10 Thread Cutter (CFRelated)
I saw several bug trac entries whereby services were not removed (and in 
some cases still running) even after uninstall. I had stopped all 
cf/jrun services (odbc, verity, instances, etc.) prior to doing my 
uninstall. Verify that these instances, if still in place, are at least 
stopped. I also deleted the JRun folder, as well as the 
CFDotNetIntegration, prior to doing my reinstall.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Aaron Roberson wrote:
> I did a complete uninstall but I may have messed something up because now I
> cannot reinstall. Installer freezes right way, prior to any windows or
> anything.
> 
> -Aaron
> 
> On 7/10/07, Cutter (CFRelated) <[EMAIL PROTECTED]> wrote:
>> Aaron,
>>
>> I had to do a complete uninstall, then reinstall. I'm good (for now). A
>> recent message from Adobe, in response to a forum follow-up, states that
>> the final Flex Live Cycle Data Services component will ship with the
>> release of CF8 (kinda figured that though).
>>
>> Steve "Cutter" Blades
>> Adobe Certified Professional
>> Advanced Macromedia ColdFusion MX 7 Developer
>> _
>> http://blog.cutterscrossing.com
>>
>> Aaron Roberson wrote:
 Maybe this helps point at the culprit?



>> http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=640&threadid=1259685&enterthread=y
>>>
>>> I downloaded license.jar, stopped the cfusion service, replaced the .jar
>>> file, then started cfusion but I still received the same error message.
>>>
>>> Next step, uninstall CF8 and reinstall. I uninstalled CF8, but now when
>> I
>>> try to reinstall CF8 the installer freezes right away. I'm in a worse
>>> position now than when I started.
>>>
>>> I tried downloading the beta again, extracting it, and installing, but
>> keep
>>> getting the same problem.
>>>
>>> A file called "cfinstall_err" is created on my desktop when I double
>> click
>>> the installer and it has the following line:
>>> IAResourceBundle: create resource bundle: en
>>>
>>> ?
>>>
>>>
>>>
>>
> 
> 

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


RE: cfoutput acting weird ... need another set of eyes

2007-07-10 Thread Brad Wood
What the extension of the file you are editing viewing/editing?
..html, or .cfm?

~Brad

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Tuesday, July 10, 2007 3:03 PM
To: CF-Talk
Subject: cfoutput acting weird ... need another set of eyes

I've got this simple table ...


  
Vote 6-12
Months
  
  
Vote 13-24
Months
  



I've saved and uploaded several times, but the links that are being
produced on the page is ...
http://www.domain.com/rb_new_verified.cfm?cat=1

Thanks

D



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


Re: cfoutput acting weird ... need another set of eyes

2007-07-10 Thread coldfusion . developer
> I've saved and uploaded several times, but the links that are being 
> produced on the page is ...
> http://www.domain.com/rb_new_verified.cfm?cat=1

Shouldn't it be... ?

> http://www.domain.com/rb_new_verified.cfm?cat=1

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


cfoutput acting weird ... need another set of eyes

2007-07-10 Thread coldfusion . developer
I've got this simple table ...


  
Vote 6-12 
Months
  
  
Vote 13-24 
Months
  



I've saved and uploaded several times, but the links that are being produced on 
the page is ...
http://www.domain.com/rb_new_verified.cfm?cat=1

Thanks

D

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


RE: Make PDF from page then email PDF

2007-07-10 Thread Brad Wood
This wouldn't involve outlook, but I don't think you need it.

Use cfdocument to create the pdf and cfmail to send the E-mail attaching
the pdf to it.

Let the user type into a text area whatever they wish to be included in
the body of the E-mail.

~Brad

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 2:37 PM
To: CF-Talk
Subject: Make PDF from page then email PDF

I have a form that people fill out.

When they hit submit I want to make a PDF of data they submitted then
pop open an email in outlook with the PDF attached to it.

Then all the user has to do is fill in the email to send the PDF to and
hit submit.

Any suggestions on how to do this?




~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Make PDF from page then email PDF

2007-07-10 Thread Chad Gray
I have a form that people fill out.

When they hit submit I want to make a PDF of data they submitted then pop open 
an email in outlook with the PDF attached to it.

Then all the user has to do is fill in the email to send the PDF to and hit 
submit.

Any suggestions on how to do this?


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


Re: Executing Code in a CFINCLUDE within CFMAIL

2007-07-10 Thread powell
That's what I've always done - much cleaner.  But - it does in fact work on V5, 
so that's what I'd say is the solution.  I've had "funny" things happen with 
tag processing inside of CFMAIL.
-reed

>Am not sure about an include inside the cfmail, never done it. But theory
>says it should, but practical who knows.
>
>I have always done
>
>
>
>
>
>But as he said Coldfusion V5.0, that is way out of the question.
>
>
>On 7/10/07, Tom Chiverton <[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:283407
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 500 Error on SWF files: Logs Follow-Up

2007-07-10 Thread Aaron Roberson
I did a complete uninstall but I may have messed something up because now I
cannot reinstall. Installer freezes right way, prior to any windows or
anything.

-Aaron

On 7/10/07, Cutter (CFRelated) <[EMAIL PROTECTED]> wrote:
>
> Aaron,
>
> I had to do a complete uninstall, then reinstall. I'm good (for now). A
> recent message from Adobe, in response to a forum follow-up, states that
> the final Flex Live Cycle Data Services component will ship with the
> release of CF8 (kinda figured that though).
>
> Steve "Cutter" Blades
> Adobe Certified Professional
> Advanced Macromedia ColdFusion MX 7 Developer
> _
> http://blog.cutterscrossing.com
>
> Aaron Roberson wrote:
> >> Maybe this helps point at the culprit?
> >>
> >>
> >>
> http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=640&threadid=1259685&enterthread=y
> >
> >
> > I downloaded license.jar, stopped the cfusion service, replaced the .jar
> > file, then started cfusion but I still received the same error message.
> >
> > Next step, uninstall CF8 and reinstall. I uninstalled CF8, but now when
> I
> > try to reinstall CF8 the installer freezes right away. I'm in a worse
> > position now than when I started.
> >
> > I tried downloading the beta again, extracting it, and installing, but
> keep
> > getting the same problem.
> >
> > A file called "cfinstall_err" is created on my desktop when I double
> click
> > the installer and it has the following line:
> > IAResourceBundle: create resource bundle: en
> >
> > ?
> >
> >
> >
>
> 

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


Re: verity: CF MX 6.1 recordcount neq recordssearched

2007-07-10 Thread Robertson-Ravo, Neil (RX)
>From memory I believe the doccount was/is available in 6.x







"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: Raymond Camden
To: CF-Talk
Sent: Tue Jul 10 19:18:44 2007
Subject: Re: verity: CF MX 6.1 recordcount neq recordssearched

Oh you probably did. I'm a bit slow. Really wish I could help you out.

On 7/10/07, John Stottlemire <[EMAIL PROTECTED]> wrote:
> I appologize, I thought I put CF 6.1 with updater 1 in my original post.
>
> >Oh - you are on cf6 then? As far as I know it should have shown you
> >the doc count in cf7 or higher. At this point I'm at a loss then. Most
> >of my Verity experience is with 7 and higher, where all the cool stuff
> >was added. ;)
> >
> >On 7/10/07, John Stottlemire <[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:283405
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: verity: CF MX 6.1 recordcount neq recordssearched

2007-07-10 Thread Raymond Camden
Oh you probably did. I'm a bit slow. Really wish I could help you out.

On 7/10/07, John Stottlemire <[EMAIL PROTECTED]> wrote:
> I appologize, I thought I put CF 6.1 with updater 1 in my original post.
>
> >Oh - you are on cf6 then? As far as I know it should have shown you
> >the doc count in cf7 or higher. At this point I'm at a loss then. Most
> >of my Verity experience is with 7 and higher, where all the cool stuff
> >was added. ;)
> >
> >On 7/10/07, John Stottlemire <[EMAIL PROTECTED]> wrote:
> >>
>
> 

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


SPRY Upload

2007-07-10 Thread Greg Johnson
I am trying to make a page with spry that never has to reload the page.  Just 
reloads the data in datasets etc.  But on one tab I need to do an upload.  How 
can I upload a file without refreshing the page and is cross platform 
compatible?  and free :)

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


Re: 500 Error on SWF files: Logs Follow-Up

2007-07-10 Thread Cutter (CFRelated)
Aaron,

I had to do a complete uninstall, then reinstall. I'm good (for now). A 
recent message from Adobe, in response to a forum follow-up, states that 
the final Flex Live Cycle Data Services component will ship with the 
release of CF8 (kinda figured that though).

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Aaron Roberson wrote:
>> Maybe this helps point at the culprit?
>>
>>
>> http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=640&threadid=1259685&enterthread=y
> 
> 
> I downloaded license.jar, stopped the cfusion service, replaced the .jar
> file, then started cfusion but I still received the same error message.
> 
> Next step, uninstall CF8 and reinstall. I uninstalled CF8, but now when I
> try to reinstall CF8 the installer freezes right away. I'm in a worse
> position now than when I started.
> 
> I tried downloading the beta again, extracting it, and installing, but keep
> getting the same problem.
> 
> A file called "cfinstall_err" is created on my desktop when I double click
> the installer and it has the following line:
> IAResourceBundle: create resource bundle: en
> 
> ?
> 
> 
> 

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


Re: verity: CF MX 6.1 recordcount neq recordssearched

2007-07-10 Thread John Stottlemire
I appologize, I thought I put CF 6.1 with updater 1 in my original post.

>Oh - you are on cf6 then? As far as I know it should have shown you
>the doc count in cf7 or higher. At this point I'm at a loss then. Most
>of my Verity experience is with 7 and higher, where all the cool stuff
>was added. ;)
>
>On 7/10/07, John Stottlemire <[EMAIL PROTECTED]> wrote:
>>

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


Re: verity: CF MX 6.1 recordcount neq recordssearched

2007-07-10 Thread Raymond Camden
Oh - you are on cf6 then? As far as I know it should have shown you
the doc count in cf7 or higher. At this point I'm at a loss then. Most
of my Verity experience is with 7 and higher, where all the cool stuff
was added. ;)

On 7/10/07, John Stottlemire <[EMAIL PROTECTED]> wrote:
>   EXTERNAL LANGUAGE MAPPED NAME ONLINE PATH REGISTERED
> 1 NO english NO collection1 YES C:\CFusionMX\verity\collections\ CF
> 2 NO english NO collection2 YES C:\CFusionMX\verity\collections\ CF
>
>
> >Hmm, I wonder if that was added to CF8 then.  Try running CFCOLLECTION
> >action=list, and tell me what doccount you see there.
> >
> >On 7/10/07, John Stottlemire <[EMAIL PROTECTED]> wrote:
> >>
>
> 

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


Re: 500 Error on SWF files: Logs Follow-Up

2007-07-10 Thread Aaron Roberson
> Maybe this helps point at the culprit?
>
>
> http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=640&threadid=1259685&enterthread=y


I downloaded license.jar, stopped the cfusion service, replaced the .jar
file, then started cfusion but I still received the same error message.

Next step, uninstall CF8 and reinstall. I uninstalled CF8, but now when I
try to reinstall CF8 the installer freezes right away. I'm in a worse
position now than when I started.

I tried downloading the beta again, extracting it, and installing, but keep
getting the same problem.

A file called "cfinstall_err" is created on my desktop when I double click
the installer and it has the following line:
IAResourceBundle: create resource bundle: en

?


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


Re: verity: CF MX 6.1 recordcount neq recordssearched

2007-07-10 Thread John Stottlemire
  EXTERNAL LANGUAGE MAPPED NAME ONLINE PATH REGISTERED 
1 NO english NO collection1 YES C:\CFusionMX\verity\collections\ CF 
2 NO english NO collection2 YES C:\CFusionMX\verity\collections\ CF 


>Hmm, I wonder if that was added to CF8 then.  Try running CFCOLLECTION
>action=list, and tell me what doccount you see there.
>
>On 7/10/07, John Stottlemire <[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:283398
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: verity: CF MX 6.1 recordcount neq recordssearched

2007-07-10 Thread Raymond Camden
Hmm, I wonder if that was added to CF8 then.  Try running CFCOLLECTION
action=list, and tell me what doccount you see there.

On 7/10/07, John Stottlemire <[EMAIL PROTECTED]> wrote:
> Answer - I just checked Admin/Verity Collections and do not see a way to see 
> the document count.  I've been getting the "recordssearched" by doing a 
> cfsearch without the criteria and then a cfdump.
>
>
> > Question - how are you checking the size of the verity collection? I
> > assume you are checking in the admin, looking at Document Count,
> > right?
> >
> > On 7/9/07, John Stottlemire <[EMAIL PROTECTED]> wrote:
> > > the key field in the cfindex = the primary key of the database table
> > (I don't think its duplicate keys).
> > >
> > > I purge the collection, do the query, update the collection and the
> > difference in recordcount / recordssearched is always recordcount -
> > 51
> > >
> > > the primary key is an "identity" and increments by 1.  if I order by
> > primary key desc then the first 51 primary key records are missing
> > from the collection, if I order by primary key asc then the last 51
> > primary key records are missing from the collection.
> > >
> > --
> ==> =
> > Raymond Camden, Camden Media
> >
> > Email: [EMAIL PROTECTED]
> > Blog  : ray.camdenfamily.com
> > AOL IM :
> cfjedimaster
>
> 

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


Re: verity: CF MX 6.1 recordcount neq recordssearched

2007-07-10 Thread John Stottlemire
Answer - I just checked Admin/Verity Collections and do not see a way to see 
the document count.  I've been getting the "recordssearched" by doing a 
cfsearch without the criteria and then a cfdump.   


> Question - how are you checking the size of the verity collection? I
> assume you are checking in the admin, looking at Document Count,
> right?
> 
> On 7/9/07, John Stottlemire <[EMAIL PROTECTED]> wrote:
> > the key field in the cfindex = the primary key of the database table 
> (I don't think its duplicate keys).
> >
> > I purge the collection, do the query, update the collection and the 
> difference in recordcount / recordssearched is always recordcount - 
> 51
> >
> > the primary key is an "identity" and increments by 1.  if I order by 
> primary key desc then the first 51 primary key records are missing 
> from the collection, if I order by primary key asc then the last 51 
> primary key records are missing from the collection.
> >
> -- 
==> =
> Raymond Camden, Camden Media
> 
> Email: [EMAIL PROTECTED]
> Blog  : ray.camdenfamily.com
> AOL IM : 
cfjedimaster

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


Re: Ant Logging

2007-07-10 Thread Cutter (CFRelated)
Thanks John Paul. I'm running my build directly from within Eclipse, so 
I'm just trying to figure it all out. Currently the console gives me a 
running tally, but it ends up truncated so I'm really trying to figure 
out how to get a flat-file log of all actions taken.

I am currently doing a SVN export to a temp directory, then doing a sync 
between the temp and my live code base. I'm still trying to figure out 
how to manage exclusions as well. Exclusions by file (e.g.: .fla files, 
etc.) are fairly easy, but trying to figure directory exclusions is 
giving me fits. I'm just not finding very well documented examples (but 
I'll be blogging it all once I figure it all out...)

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

John Paul Ashenfelter wrote:
> ant -v gives a lot of information while ant is running (eg every
> action performed by the SVN task instead of [svn] checkout
> started/stopped). If you're running automatically you can pipe that to
> a file or use one of the listeners to write more sophisticated logs
> 
> On 7/10/07, Cutter (CFRelated) <[EMAIL PROTECTED]> wrote:
>> Quick questions for those in the know. We're beginning to use Ant for
>> our deployment process. I'm trying to figure out how to get a log of the
>> file system changes that Ant performs during a sync operation (or a log
>> of any operation for that matter). Any suggestions? Pointers in the
>> right direction?
>>
>> --
>> Steve 'Cutter' Blades
>> Adobe Certified Expert
>> Advanced Macromedia ColdFusion MX 7 Developer
>> 
>> http://blog.cutterscrossing.com
>>
>> "The best way to predict the future is to help create it"
>>
>>
> 
> 

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


Re: Best way to read a zip file?

2007-07-10 Thread Massimo Foti
This is worth a try too:
http://www.cflib.org/udf.cfm?ID=787

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


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


Re: WebDAV

2007-07-10 Thread Scott McAllister
Thank you for pointing me in the right direction, Dave. 

-Scott

>> How well does CF interact with WebDAV? I've been given the 
>> task to upload files through WebDAV and have been having a 
>> hard time finding information on it.  Is it possible?
>
>What exactly do you mean by "interact"?
>
>WebDAV is a web server thing. IIS and Apache both provide WebDAV
>functionality. CF can interact with remote WebDAV servers via CFHTTP sunce
>6.1.

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Query Error: Duplicate entry?

2007-07-10 Thread Claude Schneegans
 >>There is already a check to see if the basket exists before adding 
the item, so shouldn't be a duplicate basket id.

Is there a lock from the time the basket is checket and the query is done?

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


~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


RE: CF8 500 error

2007-07-10 Thread Oğuz_Demirkapı
Hi Steve,

I think my JRun has been expired because of selecting "30 day trial" on 
installation.

I am working on now on our CF7 intranet server and I can wait until "Monday". :)



Sincerely,

Oğuz Demirkapı



-Original Message-
From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 09, 2007 3:41 PM
To: CF-Talk
Subject: Re: CF8 500 error

There were several threads, because of minor title changes. My errors 
(and those of others) were related to an internal component also being 
beta, and that beta expiring. This can be confirmed by turning your 
system clock back a month, restarting your cf service, and trying the 
page again.

My issue was related to any .swf file being passed to the Live Cycle 
DataServices SwfServlet (ANY swf file, not just Flex made files). I 
received an email this morning assuring me that it won't be a 'beta' 
component on CF8 release. A complete removal and reinstall of my 
development environment has repaired the issue (at least until the LCDS 
beta expires again).

Hope this helps.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com



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

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


Re: verity: CF MX 6.1 recordcount neq recordssearched

2007-07-10 Thread Raymond Camden
Question - how are you checking the size of the verity collection? I
assume you are checking in the admin, looking at Document Count,
right?

On 7/9/07, John Stottlemire <[EMAIL PROTECTED]> wrote:
> the key field in the cfindex = the primary key of the database table (I don't 
> think its duplicate keys).
>
> I purge the collection, do the query, update the collection and the 
> difference in recordcount / recordssearched is always recordcount - 51
>
> the primary key is an "identity" and increments by 1.  if I order by primary 
> key desc then the first 51 primary key records are missing from the 
> collection, if I order by primary key asc then the last 51 primary key 
> records are missing from the collection.
>
-- 
===
Raymond Camden, Camden Media

Email: [EMAIL PROTECTED]
Blog  : ray.camdenfamily.com
AOL IM : cfjedimaster

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


RE: Best way to read a zip file?

2007-07-10 Thread Bobby Hartsfield
You could try using COM




#theFile.Size#

Dump #fso# and #theFile# for more goodies.

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: Johnny Le [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 09, 2007 6:00 PM
To: CF-Talk
Subject: Best way to read a zip file?

Hi,

What is the best way to find out the size (in bytes) of a zip file?  I use
cffile to read it and then use the len() method but this is so insufficient.
When the zip file is reaching 100 MB, it crashes my server.
java.util.zip.ZipFile has a size() method, but it says it returns the number
of entries in the zip file instead of size in bytes.  So I don't know what
to do.  Help, please!
Thanks.

Johnny



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


Re: Ant Logging

2007-07-10 Thread John Paul Ashenfelter
ant -v gives a lot of information while ant is running (eg every
action performed by the SVN task instead of [svn] checkout
started/stopped). If you're running automatically you can pipe that to
a file or use one of the listeners to write more sophisticated logs

On 7/10/07, Cutter (CFRelated) <[EMAIL PROTECTED]> wrote:
> Quick questions for those in the know. We're beginning to use Ant for
> our deployment process. I'm trying to figure out how to get a log of the
> file system changes that Ant performs during a sync operation (or a log
> of any operation for that matter). Any suggestions? Pointers in the
> right direction?
>
> --
> Steve 'Cutter' Blades
> Adobe Certified Expert
> Advanced Macromedia ColdFusion MX 7 Developer
> 
> http://blog.cutterscrossing.com
>
> "The best way to predict the future is to help create it"
>
> 

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


Re: OT: IE7 CSS Bug - can't select text

2007-07-10 Thread Dominic Watson
Hey Russ,

I managed to make a small tweak to the styling of the example you gave and
was then able to select the text. Changed:

#SidebarNavigation{
position: absolute;
right: 8px; /* must be equal to the body's margin-right */
width: 207px;
padding: 8px;
border-right: 3px solid black;}
To this:

#SidebarNavigation{
right: 8px; /* must be equal to the body's margin-right */
width: 207px;
padding: 8px;
border-right: 3px solid black;
float:right;}
The point being that position absolute is not neccessary in this case. You
can position absolutley with widths and floats. Not sure about your case of
course.

Hope that helps,

Dominic


On 09/07/07, Russ <[EMAIL PROTECTED]> wrote:
>
> We've been bitten by the IE7 bug described here:
>
> http://gtalbot.org/BrowserBugsSection/MSIE7Bugs/CSSColumnarLayout2columnsAbs
> AndRelPos.html
>
>
>
> Has anyone else come face to face with this bug?  Is there a
> fix/workaround?
>
>
>
>
> Russ
>
>
>
>
>
>
>
> 

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


RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Andy Matthews
Dale... 

I recommend looking up Hal Helms presentation on OO at this year's CFUnited.
He made some compelling reasons why CF should never become a pure OO
language. The CFUnited website will soon have MP3 files of each of the
presentations.


Andy matthews

-Original Message-
From: Dale Fraser [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 09, 2007 9:45 PM
To: CF-Talk
Subject: RE: SURVEY RESULTS: Is ColdFusion OO?

Ray,

I look forward to your post.

We write code where each cfc is an object which has a constructor, create
instances of these, have them inherit from others, override methods and so
on.

What type of programming is this, if not OO? I don't see how this could be
procedural.

Regards
Dale Fraser

http://dalefraser.blogspot.com



-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 10 July 2007 12:27 PM
To: CF-Talk
Subject: Re: SURVEY RESULTS: Is ColdFusion OO?

Yeah, I'm going to stand by my assertions. I'm sure I could run a survey and
get #s in the total opposite direction. I promised Dale that I'd open the
discussion up on my blog, and I will. (Not to say it can't happen here, but
as it started on my blog, I'd like to talk about it there as well.)


On 7/9/07, John Mason <[EMAIL PROTECTED]> wrote:
> >So ColdFusion is Object Oriented after all, I have always thought so 
> >and am supported by the numbers
>
> Just a quick point here, a simple informal poll isn't going to provide 
> you with any statistical significance. You think CF is OO and some 
> people
agree
> with you that's about all you can honestly say by this. Interesting
results,
> thanks for doing the poll.
>
> John
> [EMAIL PROTECTED]
>
>
>
> -Original Message-
> From: Dale Fraser [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 09, 2007 9:09 PM
> To: CF-Talk
> Subject: SURVEY RESULTS: Is ColdFusion OO?
>
> After reading a Blog Entry of Ray Camden, in a general comment, he 
> made
this
> statement.
>
> "CF is not OO. CF should NOT be OO. And lastly, I pray to God that CF
never
> becomes OO."
>
> I didn't agree, I actually think ColdFusion is OO, and thought that 
> view especially from Ray was odd, then I thought, well perhaps I have 
> it wrong, perhaps CF is not OO and i'm the only one who thinks it is. 
> So I ran a Survey, posted to both cftalk and cfaussie.
>
> The results are quite interesting.
>
> 1. Do you consider ColdFusion to be Object Oriented?
> Yes: 66%
> No: 34%
>
> 2. What percentage do you think ColdFusion achieves the ability to 
> code OO style.
> 0-20%: 2%
> 20-40%: 4%
> 40-60%: 24%
> 60-80%: 44%
> 80-100%: 26%
>
> 3. Would you like the Adobe ColdFusion team to further develop 
> ColdFusion
OO
> features?
> Yes: 58%
> No: 42%
>
> 4. What is the number one feature missing from ColdFusion from an OO 
> point of view?
> None / Pass: 52%
> Overloading: 16%
> Constructors: 10%
> Overriding: 4%
> Interfaces: 4%
> Multiple Inheritance: 2%
> Serialization: 2%
> Other: 10%
>
> That last one was free text, so I combined a lot of dumb answers into 
> None
/
> Pass and lots of single votes into Other. I consider that CF already 
> does Overriding, but I left it in the stats and CF8 does Interfaces 
> but I left
it
> in also.
>
> But here is my summary of the survey
>
> Of the people surveyed 66% of people think that ColdFusion is an 
> Object Oriented language, 70% of people think that the OO features are 
> between 60-100%, just over half 58% of people think more development 
> needs to be done and the main two things missing are Overloading and
Constructors.
>
> So ColdFusion is Object Oriented after all, I have always thought so 
> and
am
> supported by the numbers, we here code our entire application in a OO 
> way
so
> to me it was a no brainer. You could read deeper that if Adobe just 
> added Overloading and Constructors that the CF OO feel would be almost 
> complete but then again 52% of people passed on what the main missing
feature was.
>
> Regards
> Dale Fraser
>
>
>
>
>
> 





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


RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Andy Matthews
I'd agree...ColdFusion is strong as it is now. Of course it can be improved,
but if Adobe adds too many of these "advanced" language constructs in, then
ColdFusion will lose what made it popular in the first place. Namely the
ability to rapidly develop internet applications. 

-Original Message-
From: Steve Brownlee [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 09, 2007 10:01 PM
To: CF-Talk
Subject: RE: SURVEY RESULTS: Is ColdFusion OO?

Definitely some interesting results.  I'll simply add my voice to mix and
say that ColdFusion is absolutely, positively, not an OO language.  Granted,
Macromedia and Adobe have added some great features that allow us to mimic
the elements of OO, but in essence all they've done is expose a very limited
set of features that apply to Java.

Yes, ColdFusion Components mimic classes, and have a facsimile of a
constructor, but neither is really true.  The features that have been added
over the years make ColdFusion an extremely good doppleganger of a pure OO
language.

- Overloading
- Generics
- Method overriding
- Static methods
- And most importantly, it's not typed (i.e. you can't cast a Sphere CFC as
a Ball CFC, among a myriad of other possibilities)

Without these concepts, and many more, CF does a great job of exposing the
most commonly used features of OO while leaving the nitty gritty behind the
scenes - which is exactly where it belongs.  Because of all this, I soundly
iterate Ray's comment... "...I pray to God that CF never becomes OO."

I don't want it to be.  I like ColdFusion.

p.s. They've added in interfaces to Scorpio.

Steve Brownlee
http://www.fusioncube.net



> -Original Message-
> From: Dale Fraser [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 09, 2007 8:09 PM
> To: CF-Talk
> Subject: SURVEY RESULTS: Is ColdFusion OO?
> 
> After reading a Blog Entry of Ray Camden, in a general comment, he 
> made this statement.
> 
> "CF is not OO. CF should NOT be OO. And lastly, I pray to God that CF 
> never becomes OO."
> 
> I didn't agree, I actually think ColdFusion is OO, and thought that 
> view especially from Ray was odd, then I thought, well perhaps I have 
> it wrong, perhaps CF is not OO and i'm the only one who thinks it is. 
> So I ran a Survey, posted to both cftalk and cfaussie.
> 
> The results are quite interesting.




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


Re: Creating an in-out application w spry/CF

2007-07-10 Thread Tom Chiverton
On Tuesday 10 Jul 2007, Andrew Scott wrote:
> Every technology will require a poll to the server, to pull the data in...

Not LCDS to a Flex application...

-- 
Tom Chiverton
Helping to vitalistically envisioneer eigth-generation methodologies
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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


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

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


JRUN JMC datasource in CFM file

2007-07-10 Thread vishnu prasad
Hi 

Is it possible to use the Datasource defined in Jrun admin console(JMC)  in 
Coldfusioon template. if yes how to do that ?

when i use that i am getting error Data source not found


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


RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Dan G. Switzer, II
>Smackdown... Boo ya.
>
>Just don't get Sean started on Interfaces :-p

Or tell him you want to duplicate() a component. :)


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


OT: MSSQL 2000 Code review and best practices

2007-07-10 Thread DURETTE, STEVEN J (ATTASIAIT)
Hey all,
 
For quite a while now, the group I work in has been doing code reviews
of our ColdFusion code through the use of a code review tool to pick up
the major stuff, then peer review to get the logic/other problems.
 
Now we have to start doing it for SQL code.  Does anyone know of any
code review tool for SQL Server stored procedures?  How about any best
practices for sql code?
 
Thanks,
Steve
 


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


RE: Creating an in-out application w spry/CF

2007-07-10 Thread Dale Fraser
The easy way

1. Have a hidden I frame on the page that refreshes every X seconds, and
when it finds something new refreshes the main page
2. Use Ajax call on a Javascript Timer to check the server every X seconds
3. Use Flex push technology

PS: 2 & 3 will be much easier in CF8. These are the easy options, 1. Is the
easiest as there is no learning curve, 2 isnt much harder.

Regards
Dale Fraser

http://dalefraser.blogspot.com

-Original Message-
From: Andrew Scott [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 10 July 2007 9:20 PM
To: CF-Talk
Subject: Re: Creating an in-out application w spry/CF

Every technology will require a poll to the server, to pull the data in...



On 7/10/07, Tom King <[EMAIL PROTECTED]> wrote:
>
> I have a project:
> I need to create an in and out board (i.e a webpage/application which
> sits on a tablet PC by an entrance to a building);
> The app needs to show a list of names, populated from a MySQL
> database, and on click, update the time signed in to the database,
> and change the color of the name to indicate whether they're in the
> building - that part is easy - however, the app needs to work
> multiple machines:
>
> Hence, you have data which needs to be "pushed" out to the other
> devices on the other entrances, so the record of when someone is "in"
> or "out" is identical.
>
> Previously, this has been done by making every click a form
> submission, and then each version of the page would use a Meta
> refresh every 30 seconds to update their displays;
>
> There's got to be a cooler way of doing this: Any ideas?
>
> Spry/Flex/Flash may be the way forward, and I'm intending to use it
> as a training exercise, so willing to learn, but would like a nudge
> in the right direction!
>
> Ta
> T
>
>
> 



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


Re: Creating an in-out application w spry/CF

2007-07-10 Thread Andrew Scott
Every technology will require a poll to the server, to pull the data in...



On 7/10/07, Tom King <[EMAIL PROTECTED]> wrote:
>
> I have a project:
> I need to create an in and out board (i.e a webpage/application which
> sits on a tablet PC by an entrance to a building);
> The app needs to show a list of names, populated from a MySQL
> database, and on click, update the time signed in to the database,
> and change the color of the name to indicate whether they're in the
> building - that part is easy - however, the app needs to work
> multiple machines:
>
> Hence, you have data which needs to be "pushed" out to the other
> devices on the other entrances, so the record of when someone is "in"
> or "out" is identical.
>
> Previously, this has been done by making every click a form
> submission, and then each version of the page would use a Meta
> refresh every 30 seconds to update their displays;
>
> There's got to be a cooler way of doing this: Any ideas?
>
> Spry/Flex/Flash may be the way forward, and I'm intending to use it
> as a training exercise, so willing to learn, but would like a nudge
> in the right direction!
>
> Ta
> T
>
>
> 

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


Re: CFHTTP connection failure

2007-07-10 Thread exH
Looks like the code is returning  "connection failure" in the content  as 
the server says "200 OK"

They must be detecting session vars.


 HTTP/1.1 200 OK Connection: close Expires: Tue, 01 Jan 2002 00:00:00 GMT 
Date: Tue, 10 Jul 2007 11:23:45 GMT Server: Apache X-Powered-By: PHP/5.0.4 
Pragma: no-cache Cache-Control: no-store, no-cache, must-revalidate 
Set-Cookie: PHPSESSID=21a634b17c01d961b5ddd5fd284a43f6; path=/ Content-Type: 
text/html; charset=ISO-8859-1;


- Original Message - 
From: "Thane Sherrington" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, July 10, 2007 12:04 PM
Subject: CFHTTP connection failure


> I'm trying to use the following code:
>
>  url="http://www.shadowserver.org/wiki/pmwiki.php?n=Stats.VirusDailyStats";
> method="Get"
> useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
> rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2">
> 
> 
>
> To get get the zero day summary for tracking purposes, but I keep
> getting a "CFHTTP Connection Failure" message.  I'm using CF 7.  I
> can do the following:
>
> http://www.google.ca"; method="Get"
> useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
> rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2">
> 
> 
>
> with no problems, but any time I try to access
> http://www.shadowserver.org/wiki I get the connection failure.  So
> I'm assuming it has something to do with their server configuration,
> but I can't figure it out.
>
> Thanks in advance for any help.
>
> T
>
>
> 

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Executing Code in a CFINCLUDE within CFMAIL

2007-07-10 Thread Andrew Scott
Am not sure about an include inside the cfmail, never done it. But theory
says it should, but practical who knows.

I have always done





But as he said Coldfusion V5.0, that is way out of the question.


On 7/10/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
>
> On Tuesday 10 Jul 2007, Andrew Scott wrote:
> > Nope he meant the other way around..
>
> Difficult to tell without his code, really.
> Either should work though, right ?
>
> --
> Tom Chiverton
> Helping to revolutionarily conquer second-generation architectures
> 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.
>
>
> 

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


RE: Init method and getters / setters in cfc

2007-07-10 Thread Peterson, Chris
Thanks Brian, I didn't realize there was a variables.instance structure
=)

Here is the lowdown I got from everyone's comments:

If I was working either with a team, using coldspring, or working on a
large project or public facing components, I would probably generate
individual getters / setters for each internal value I would want to
work with.  As many have mentioned, this makes the component self
documenting and adds type checking.

The project I am working on now simply requires that I be able to use
this for several different sub-companies down the road, and the only one
that will touch this code (at least in the foreseeable future) is me.  I
have an init method that accepts a structure to setup all datasources
and other per-company settings, so I think my generic getter / setter
should work fine in this instance.

Thanks to everyone for their reply's, I always learn something new. =) 



Chris Peterson
Gainey IT
Adobe Certified Advanced Coldfusion Developer
-Original Message-
From: Brian Kotek 
Sent: Monday, July 09, 2007 10:27 PM
To: CF-Talk
Subject: Re: Init method and getters / setters in cfc

It's so trivial to generate the code for getters and setters that I
don't
really see the point in having generic getters and setters like this. As
Ben
says, you lose the API for your component. You have no type checking (if
that's your thing). You lose the ability to seamlessly change the getter
or
setter later if the need arises. And if you want to use ColdSpring to
inject
dependencies, you're either out of luck, or almost as bad, you have a
mixed
API where some properties have their own setters and others use the
generic
setter.

Also, an aside, there's no reason to use Evaluate() here. Just do
.

Regards,

Brian

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


CFHTTP connection failure

2007-07-10 Thread Thane Sherrington
I'm trying to use the following code:

http://www.shadowserver.org/wiki/pmwiki.php?n=Stats.VirusDailyStats"; 
method="Get"
useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2">



To get get the zero day summary for tracking purposes, but I keep 
getting a "CFHTTP Connection Failure" message.  I'm using CF 7.  I 
can do the following:

http://www.google.ca"; method="Get"
useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2">



with no problems, but any time I try to access 
http://www.shadowserver.org/wiki I get the connection failure.  So 
I'm assuming it has something to do with their server configuration, 
but I can't figure it out.

Thanks in advance for any help.

T


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


Ant Logging

2007-07-10 Thread Cutter (CFRelated)
Quick questions for those in the know. We're beginning to use Ant for 
our deployment process. I'm trying to figure out how to get a log of the 
file system changes that Ant performs during a sync operation (or a log 
of any operation for that matter). Any suggestions? Pointers in the 
right direction?

-- 
Steve 'Cutter' Blades
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer

http://blog.cutterscrossing.com

"The best way to predict the future is to help create it"

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


Re: strange character entities in CF... on form submission...

2007-07-10 Thread Tom King
Unicode!!!

Make sure
a) your html header has utf-8 in it - the form may also need to be  
told a specific char set; - Dump the form contents on submission: are  
the chars there?
b) if in inserting into a database, that the database is set up with  
Unicode, look at the SQL - is it inserting the chars?
c) check the output - is the DB outputting the chars?

T

On 10 Jul 2007, at 11:12, D F wrote:

> Anyone have any ideas... essentially we are getting ( just ahead of  
> the pound character ) an A with a hat. Â ( capital a, circumflex  
> accent,Â,Â) Any ideas how to prevent this one from  
> happening?
>
> It seems to be doing this on form submissions.
>
> 

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


Creating an in-out application w spry/CF

2007-07-10 Thread Tom King
I have a project:
I need to create an in and out board (i.e a webpage/application which  
sits on a tablet PC by an entrance to a building);
The app needs to show a list of names, populated from a MySQL  
database, and on click, update the time signed in to the database,  
and change the color of the name to indicate whether they're in the  
building - that part is easy - however, the app needs to work  
multiple machines:

Hence, you have data which needs to be "pushed" out to the other  
devices on the other entrances, so the record of when someone is "in"  
or "out" is identical.

Previously, this has been done by making every click a form  
submission, and then each version of the page would use a Meta  
refresh every 30 seconds to update their displays;

There's got to be a cooler way of doing this: Any ideas?

Spry/Flex/Flash may be the way forward, and I'm intending to use it  
as a training exercise, so willing to learn, but would like a nudge  
in the right direction!

Ta
T


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


Re: Executing Code in a CFINCLUDE within CFMAIL

2007-07-10 Thread Tom Chiverton
On Tuesday 10 Jul 2007, Andrew Scott wrote:
> Nope he meant the other way around..

Difficult to tell without his code, really.
Either should work though, right ?

-- 
Tom Chiverton
Helping to revolutionarily conquer second-generation architectures
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:283371
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


strange character entities in CF... on form submission...

2007-07-10 Thread D F
Anyone have any ideas... essentially we are getting ( just ahead of the pound 
character ) an A with a hat. Â ( capital a, circumflex accent,Â,Â) 
Any ideas how to prevent this one from happening? 

It seems to be doing this on form submissions.

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


Re: Query Error: Duplicate entry?

2007-07-10 Thread Jochem van Dieten
stylo stylo wrote:
> 
> Query Error: Duplicate entry '75A8BA37-2B3E-7F0C-15E97C353E23FA73_100' for 
> key 1 Datasource:  Native Error Code: 1062 SQL State: 23000 Executing 
> SQL: INSERT INTO ...
> 
> There is already a check to see if the basket exists before adding the item, 
> so shouldn't be a duplicate basket id.

Apparently there is something wrong with that check.

Jochem

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


Query Error: Duplicate entry?

2007-07-10 Thread stylo stylo
Does anyone know why I might get this sometimes? Mysql:

Query Error: Duplicate entry '75A8BA37-2B3E-7F0C-15E97C353E23FA73_100' for key 
1 Datasource:  Native Error Code: 1062 SQL State: 23000 Executing SQL: 
INSERT INTO ...

Normally works fine so I don't understand it and google does help much. There 
is already a check to see if the basket exists before adding the item, so 
shouldn't be a duplicate basket id.

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Tom Chiverton
On Tuesday 10 Jul 2007, Sean Corfield wrote:
> That just makes it object-based. However, it has inheritance,
> polymorphism (because it has dynamic dispatch via inheritance) and
> encapsulation (public / private data & methods). That is what makes it
> OO.

Your memory of CompSci 101 is better than mine :-)

> Yes, which was partly why I said the survey was loaded...

Saw that, but didn't want to affect the survey.

> Technically that's not overloading. Overloading is specifically
> multiple functions with the same name. Overload resolution - the
> process of figuring out the best match function to call - is a complex
> algorithm that you cannot reasonably implement at runtime without a
> big performance hit.

bar(a:String) and bar(a:Array) as opposed to bar(a:any) ? 
I think I was thinking of polymorphism.

> Constructors are just methods with a name determined by convention.

In other OO languages, the constructor is always called (or has to be called 
by the parent code) doesn't it ? This is not the case with init().

> > > Multiple Inheritance: 2%
> >
> > You do not want this. It's the wrong solution to composition.
>
> Well, actually there are situations where multiple inheritance is a
> very elegant solution - in a statically typed language. However,
> dynamic languages tend to solve this using runtime mixins instead -
> which is the "correct" elegant solution for dynamically typed
> languages.

You're explanation was much better than mine :-)

-- 
Tom Chiverton
Helping to synergistically cultivate one-to-one features
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 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:283367
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Tom Chiverton
On Tuesday 10 Jul 2007, Sean Corfield wrote:
> In ColdFusion, all type checking is done at run time. So if you use
> interfaces, you will get a *runtime* check, just like all the other
> checks. And if you screw up, you'll get a runtime error. If you use
> interfaces, the error just has different text in it (OK, that's a
> *slight* oversimplification :)

I want Interfaces so I can aid other developers intergrating with my code- it 
explictly codes the contract.

> Furthermore, since CF is a dynamic language, you can change methods on
> an object after constructing it, thus removing any guarantees that an
> interface would buy you. You remove a method or simply replace a
> method with a different signature. The interface no longer applies.

I *think* CF8's IsInstanceOf() will still throw an error if you've broken the 
contract.

> interfaces - and don't need them. The only reason CF8 has interfaces
> is to satisfy the CF-should-be-more-like-Java crowd. 

In general, it should not be 'java lite' - it should be it's own thing that 
makes hard stuff easy.
But, people are building fairly complicated stacks of components, and 
Interfaces give you a measure of control. I don't need to worry about the 
contents of Bob's bar.cfc he just gave me - it extends an Interface so I can 
drop it straight in.

-- 
Tom Chiverton
Helping to carefully lead third-generation channels
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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


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

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


Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Sean Corfield
On 7/10/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> It has createObject(), which can make things with properties and methods -
> therefore it has objects, therefore it's OO.

That just makes it object-based. However, it has inheritance,
polymorphism (because it has dynamic dispatch via inheritance) and
encapsulation (public / private data & methods). That is what makes it
OO.

> A no brainer 'yes' as the question is just 'do you want ColdFusion to have
> more features'. It does not say 'at the expense of non-OO features (like
> cfprint)', which would be far less likely to get a positive response.

Yes, which was partly why I said the survey was loaded...

> CF already has overloading (don't give cfargument a type parameter, or leave
> out cfargument all together) - so I'd love to hear from people who plumbed
> for that one :-)

Technically that's not overloading. Overloading is specifically
multiple functions with the same name. Overload resolution - the
process of figuring out the best match function to call - is a complex
algorithm that you cannot reasonably implement at runtime without a
big performance hit.

> I went for Constructors myself, as all we've got is a sort of half-baked
> almost by accident convention.

Constructors are just methods with a name determined by convention.
Not all languages name them to match the class name. The only general
benefit of "built-in" constructors is that there is usually some
shorthand in the syntax for constructing objects:

new Some.Type(args)

rather than:

new("Some.Type").init(args)

And, as I point out at every opportunity, when CF deals with Java, it
uses init() as a way to call Java's constructors (which are just
methods with specific names!).

> > Multiple Inheritance: 2%
> You do not want this. It's the wrong solution to composition.

Well, actually there are situations where multiple inheritance is a
very elegant solution - in a statically typed language. However,
dynamic languages tend to solve this using runtime mixins instead -
which is the "correct" elegant solution for dynamically typed
languages.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

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

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Executing Code in a CFINCLUDE within CFMAIL

2007-07-10 Thread Andrew Scott
Nope he meant the other way around..

b.cfm:
#now()#

a.cfm:





On 7/10/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
>
> On Monday 09 Jul 2007, K Simanonok wrote:
> > > I am trying to get CF code to run inside a CFMAIL tag where the code
> > > is called by a CFINCLUDE.  There are plenty of historical examples
> > > here showing how people have done it in the past, but when I reproduce
> > > their code all that gets emailed is the bare code,
>
> What code is this then ? Something like:
>
> a.cfm:
> 
>
> b.cfm:
> 
> #now()#
> 
>
> ?
>
> --
> Tom Chiverton
> Helping to seamlessly pursue back-end communities
> on: http://thefalken.livejournal.com
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England
> and Wales under registered number OC307980 whose registered office address
> is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
> available for inspection at the registered office. Any reference to a
> partner in relation to Halliwells LLP means a member of Halliwells LLP.
> Regulated by the Law Society.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and
> may be confidential or legally privileged.  If you are not the addressee you
> must not read it and must not use any information contained in nor copy it
> nor inform any person other than Halliwells LLP or the addressee of its
> existence or contents.  If you have received this email in error please
> delete it and notify Halliwells LLP IT Department on 0870 365 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>
>
> 

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

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


Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Sean Corfield
On 7/10/07, Andrew Scott <[EMAIL PROTECTED]> wrote:
> Sean why are you so against this? I welcome this with great open arms...

Java needed interfaces because it is a statically typed language and
had chosen not to support multiple inheritance. It had no choice.

In ColdFusion, all type checking is done at run time. So if you use
interfaces, you will get a *runtime* check, just like all the other
checks. And if you screw up, you'll get a runtime error. If you use
interfaces, the error just has different text in it (OK, that's a
*slight* oversimplification :)

Furthermore, since CF is a dynamic language, you can change methods on
an object after constructing it, thus removing any guarantees that an
interface would buy you. You remove a method or simply replace a
method with a different signature. The interface no longer applies.

Then there's the actual details of how cfinterface performs its type
check. It requires that the function signatures match exactly, as do
the return types. That's not how interfaces work in statically typed
languages. An interface defines a constraining API, not an exact API:
you can specify arguments (in an implementation class method) that are
compatible with the interface method arguments (e.g., adding optional
arguments or using more permissive types). You can also specify more
constrained return types since those can't violate the interface
(i.e., an implementation method can return a subtype of the interface
method's return type).

Finally (thank god you say!), other dynamic OO languages don't have
interfaces - and don't need them. The only reason CF8 has interfaces
is to satisfy the CF-should-be-more-like-Java crowd. And, yes, I admit
I was the person who entered the original ER to add interfaces and,
yes, I whipped up support from the community. I regret that. I should
have left well alone. I've probably done more to cause the
CF-should-be-more-like-Java argument than anyone and that was a big
mistake on my part. I've seen the light now... I hope others do too...
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

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

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Tom Chiverton
On Tuesday 10 Jul 2007, Dale Fraser wrote:
(now the poll has closed, I want to comment on your questions)
> 1. Do you consider ColdFusion to be Object Oriented?

It has createObject(), which can make things with properties and methods - 
therefore it has objects, therefore it's OO. 
I'd love to talk to people who said no.

> 2. What percentage do you think ColdFusion achieves the ability to code OO
> style.

See 1.

> 3. Would you like the Adobe ColdFusion team to further develop ColdFusion
> OO features?

A no brainer 'yes' as the question is just 'do you want ColdFusion to have 
more features'. It does not say 'at the expense of non-OO features (like 
cfprint)', which would be far less likely to get a positive response.

> 4. What is the number one feature missing from ColdFusion from an OO point
> of view?
> None / Pass: 52%
> Overloading: 16%
> Constructors: 10%

CF already has overloading (don't give cfargument a type parameter, or leave 
out cfargument all together) - so I'd love to hear from people who plumbed 
for that one :-)
I went for Constructors myself, as all we've got is a sort of half-baked 
almost by accident convention.

> Overriding: 4%
> Interfaces: 4%
> Serialization: 2%

CF has these already, see overloading above.

> Multiple Inheritance: 2%

You do not want this. It's the wrong solution to composition.

> So ColdFusion is Object Oriented after all, I have always thought so and am
> supported by the numbers,

You're not supported- there is no proof you have a representative sample, and 
I'd argue the poll was open for way too short a window as well.
Lies, damn lies and statistics, right ? :-)

-- 
Tom Chiverton
Helping to collaboratively seize 24/7 methodologies
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.


~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Tom Chiverton
On Tuesday 10 Jul 2007, Andrew Scott wrote:
> Sean why are you so against this? I welcome this with great open arms...

I think he felt in the past that now everyone will start splattering 
CFINTERFACE across everything, without good reason.

-- 
Tom Chiverton
Helping to preemptively compete performance-oriented segments
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 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:283361
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Executing Code in a CFINCLUDE within CFMAIL

2007-07-10 Thread Tom Chiverton
On Monday 09 Jul 2007, K Simanonok wrote:
> > I am trying to get CF code to run inside a CFMAIL tag where the code
> > is called by a CFINCLUDE.  There are plenty of historical examples
> > here showing how people have done it in the past, but when I reproduce
> > their code all that gets emailed is the bare code, 

What code is this then ? Something like:

a.cfm:


b.cfm:

#now()#


?

-- 
Tom Chiverton
Helping to seamlessly pursue back-end communities
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.


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


Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Andrew Scott
I will,

Sean why are you so against this? I welcome this with great open arms...





On 7/10/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]>
wrote:
>
> Smackdown... Boo ya.
>
> Just don't get Sean started on Interfaces :-p
>
>
>
>
>
>
>
>
>
> "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
> Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
> Registered in England, Number 678540.  It contains information which is
> confidential and may also be privileged.  It is for the exclusive use of
> the
> intended recipient(s).  If you are not the intended recipient(s) please
> note
> that any form of distribution, copying or use of this communication or the
> information in it is strictly prohibited and may be unlawful.  If you have
> received this communication in error please return it to the sender or
> call
> our switchboard on +44 (0) 20 89107910.  The opinions expressed within
> this
> communication are not necessarily those expressed by Reed Exhibitions."
> Visit our website at http://www.reedexpo.com
>
> -Original Message-
> From: Sean Corfield
> To: CF-Talk
> Sent: Tue Jul 10 09:01:41 2007
> Subject: Re: SURVEY RESULTS: Is ColdFusion OO?
>
> On 7/9/07, Steve Brownlee <[EMAIL PROTECTED]> wrote:
> > - Overloading
> > - Generics
> > - Method overriding
> > - Static methods
> > - And most importantly, it's not typed (i.e. you can't cast a Sphere CFC
> as
> > a Ball CFC, among a myriad of other possibilities)
>
> None of these has the slightest thing to do with OO. Lots of OO
> languages out there do not have any of these features!
>
> This is exactly my point: you're blinded by Java. Generics in
> particular are ANTI-OO. Generic programming is completely orthogonal
> to OO. Read some of the literature. Read about the STL in C++.
>
> You CANNOT have overloading in a dynamically typed language.
>
> ColdFusion already has method overriding.
>
> Static methods have nothing to do with OO (they are in fact more
> procedural than OO).
>
> Casting types has nothing to do with OO - in a dynamic language, you
> don't NEED casts - the objects already behave the right way.
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
>
>
> 

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Robertson-Ravo, Neil (RX)
Smackdown... Boo ya.

Just don't get Sean started on Interfaces :-p









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

-Original Message-
From: Sean Corfield
To: CF-Talk
Sent: Tue Jul 10 09:01:41 2007
Subject: Re: SURVEY RESULTS: Is ColdFusion OO?

On 7/9/07, Steve Brownlee <[EMAIL PROTECTED]> wrote:
> - Overloading
> - Generics
> - Method overriding
> - Static methods
> - And most importantly, it's not typed (i.e. you can't cast a Sphere CFC
as
> a Ball CFC, among a myriad of other possibilities)

None of these has the slightest thing to do with OO. Lots of OO
languages out there do not have any of these features!

This is exactly my point: you're blinded by Java. Generics in
particular are ANTI-OO. Generic programming is completely orthogonal
to OO. Read some of the literature. Read about the STL in C++.

You CANNOT have overloading in a dynamically typed language.

ColdFusion already has method overriding.

Static methods have nothing to do with OO (they are in fact more
procedural than OO).

Casting types has nothing to do with OO - in a dynamic language, you
don't NEED casts - the objects already behave the right way.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

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



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


Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Sean Corfield
On 7/9/07, Dale Fraser <[EMAIL PROTECTED]> wrote:
> "CF is not OO. CF should NOT be OO. And lastly, I pray to God that CF never
> becomes OO."
>
> I didn't agree, I actually think ColdFusion is OO, and thought that view
> especially from Ray was odd, then I thought, well perhaps I have it wrong

I don't agree with Ray either but I'm surprised that 66% of
respondents agree with me (and you Dale).

> Overloading: 16%

Can't have overloading in a dynamic language (and overloading is
nothing to do with OO).

> Constructors: 10%

Constructors are a convention - we have one: init().

> Overriding: 4%

ColdFusion has overriding.

> Interfaces: 4%

CF8 has interfaces (unfortunately).

> Multiple Inheritance: 2%

Not needed in a dynamic language (statically typed languages need
either multiple inheritance or interfaces).

> Serialization: 2%

CF8 has serialization.

> but then again 52% of people passed on what the main missing feature was.

Bear in mind that 42% felt Adobe don't need to add anything so only
10% really passed on the missing feature.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

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

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Sean Corfield
On 7/9/07, Steve Brownlee <[EMAIL PROTECTED]> wrote:
> - Overloading
> - Generics
> - Method overriding
> - Static methods
> - And most importantly, it's not typed (i.e. you can't cast a Sphere CFC as
> a Ball CFC, among a myriad of other possibilities)

None of these has the slightest thing to do with OO. Lots of OO
languages out there do not have any of these features!

This is exactly my point: you're blinded by Java. Generics in
particular are ANTI-OO. Generic programming is completely orthogonal
to OO. Read some of the literature. Read about the STL in C++.

You CANNOT have overloading in a dynamically typed language.

ColdFusion already has method overriding.

Static methods have nothing to do with OO (they are in fact more
procedural than OO).

Casting types has nothing to do with OO - in a dynamic language, you
don't NEED casts - the objects already behave the right way.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

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

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