MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual page 780

Developing coldfusion mx applications
Table of Contents

Advertisement

Using methods with return values
Use CORBA methods that return values as you would any ColdFusion function; for example:
IDL
CFML
Using IDL types with ColdFusion variables
The following sections describe how ColdFusion supports CORBA data types. They include a
table of supported IDL types and information about how ColdFusion converts between CORBA
types and ColdFusion data.
IDL Support
The following table shows which CORBA IDL types ColdFusion supports, and whether they can
be used as parameters or return variables. (NA means not applicable.)
CORBA IDL type
constants
attributes
enum
union
sequence
array
interface
typedef
struct
module
exception
any
boolean
char
wchar
string
wstring
octet
short
long
float
780
Chapter 34: Integrating COM and CORBA Objects in CFML Applications
double method(out double a);
<cfset foo=3.1415>
<cfset ret=handle.method("foo")>
<cfoutput>#ret#</cfoutput>
General support
No
Yes (for properties)
Yes (as an integer)
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
As parameters
No
NA
Yes
No
Yes
Yes
Yes
NA
Yes
NA
NA
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
As return value
No
NA
Yes
No
Yes
Yes
Yes
NA
Yes
NA
NA
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents