Check the documentation... it clearly states the use of JavaCast()
Overloading methods.. you would have to cast the variables to
invoke the overloaded methods to match the method signature/header
method1(int a , double b){
}
method1(int a, float b){
}
Joe
----- Original Message -----
From: "Paul Hastings" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, September 18, 2002 12:37 PM
Subject: Re: Jsp Vs Cfm (CFMX) -- Test Code
> > JavaCast isn't new for CFMX as it has been around since CF 4.5. Its
> > purpose is for helping CF determine which method to call in Java classes
> > that have overloaded methods.
>
> matt, can you elaborate on this? i've never been able to cast my way thru
> overloaded java methods with mx. i've always had to write brain-dead
wrapper
> classes.
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.385 / Virus Database: 217 - Release Date: 4/9/2545
>
>
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists