Adobe COLDFUSION 9 Manual page 1172

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using Web Elements and External Objects
ref missing, ref missing, ref missing, ref missing, ref
isVisible, ref missing, ref missing, ref missing, ref missing);
else {
doc = app.Documents.Add(ref template, ref newTemplate,
ref docType, ref isVisible);
isNewDoc = true;
}
doc.Activate();
}
public void addText(String text) {
app.Selection.TypeText(text);
}
public void newParagraph() {
app.Selection.TypeParagraph();
}
public void save() {
if(!isNewDoc)
doc.Save();
else doc.SaveAs(ref fileName, ref format, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing);
}
}
}
Advanced tools
Occasionally, the use of additional tools for generating proxies and running the .NET extension software can be helpful
in some workflows.
Using the jnbproxy command
You can use the
command-line tool as an alternative to the
jnbproxy
For more information, see
"Generating the Java proxy
For example, you can use this command in a batch file to generate multiple proxy JAR files in a single operation.
The jnbproxy command has the following format:
jnbproxy options... classes...
For example:
jnbproxy /al C:\dotNet\netdll\PrimitiveTypes.dll /d C:\dotNet\MyJavajars
/host localhost /n PrimitiveTypes /nj /pd j2n /port 6085 /pro b
/pp C:\ColdFusion8\lib CSharpDatatypes.PrimitiveTypes
Options
The following table lists the options that you can use. To create proxies on a system that is running ColdFusion, use
the /nj option and do not specify the
classes" on page 1152.
,
, or
options.
/bp
/java
/jp
Last updated 8/5/2010
program, to generate Java proxies.
jnbproxyGui
1167

Advertisement

Table of Contents
loading

Table of Contents