User Guide
146 CFML Language Reference
<CFOUTPUT>
Last name: #file2.lastname# <BR>
</CFOUTPUT>
</CFLOOP>
...
</BODY>
</HTML>
CFOBJECT Type="CORBA"
CFOBJECT allows you to call methods in CORBA objects. These CORBA objects must
already have been defined and registered for use.
Syntax <CFOBJECT TYPE="CORBA"
CONTEXT="context"
CLASS="file or naming service"
NAME="text"
LOCALE="type-value arguments">
CONTEXT
Required. Specifies one of the following:
• IOR — ColdFusion uses the Interoperable Object Reference (IOR) to access the
CORBA server.
• NameService — ColdFusion uses the naming service to access server.
"NameService" is only valid with the InitialContext of a VisiBroker Orb.
CLASS
Required. Specifies different information, depending on the CONTEXT
specification:
• If CONTEXT is IOR — Specifies the name of a file that contains the stringified
version of the IOR. ColdFusion must be able to read this file at all times; it
should be local to ColdFusion server or on the network in an open, accessible
location.
• If CONTEXT is NameService — Specifies a period-delimited naming context for
the naming service, such as Allaire.Department.Doc.empobject.
NAME
Required. Enter a name for the object. Your application uses this to reference the
CORBA object’s methods and attributes.
LOCALE
Optional. Sets arguments for a call to init_orb(..). Use of this attribute is specific to
VisiBroker orbs, and is currently available on C++, Version 3.2. The value should be
of the form:
LOCALE=" -ORBagentAddr 199.99.129.33 -ORBagentPort 19000"