Powered by SmartDoc

The cdl.jnlp option

The cdl.jnlp option generates a Relaxer dialog configuration file.

Parameters

The cdl.jnlp option takes one of the following values as a parameter.

true
Generates a Relaxer dialog configuration file.
false
Does not generate a Relaxer dialog configuration file.

The default configuration is false. No parameter implies the parameter is true.

Artifact

The cdl.jnlp option generates no additional classes. The cdl.jnlp option just modified the behavior of the Relaxer Table Objects.

The cdl.jnlp option adds no additional methods to Relaxer objects.

Example

List 6.5.3.1[cdlDialog.rcdl] is a sample RCDL definition, and List 6.5.3.2[cdlDialog.rng] is a sample RELAX NG schema used by the RCDL definition.

cdlDialog.rcdl
Can not access : src/cdl.jnlp/cdlDialog.rcdl
cdlDialog.rng
Can not access : src/cdl.jnlp/cdlDialog.rng

Execution of Relaxer with the cdl.jnlp option is as follows. The cdl option must be used together.

$ relaxer -cdl -cdl.jnlp cdlDialog.rcdl

As a result, Relaxer generates 18 files as follows:

accountManagerFindAccountDialog.xml is a Relaxer dialog configuration file, which is generated by the cdl.jnlp option.

accountManagerFindAccountDialog.xml
Can not access : src/cdl.jnlp/accountManagerFindAccountDialog.xml

The accountManagerFindAccountDialog.xml has one slot 'accountNo' and one command 'findAccount'.

Slot is a space to be used as a variable. Command is a definition to invoke a external service like EJB.