Powered by SmartDoc

The cdl.jsf option

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

Parameters

The cdl.jsf 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.jsf option generates no additional classes. The cdl.jsf option just modified the behavior of the Relaxer Table Objects.

The cdl.jsf 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.jsf/cdlDialog.rcdl
cdlDialog.rng
Can not access : src/cdl.jsf/cdlDialog.rng

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

$ relaxer -cdl -cdl.jsf 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.jsf option.

accountManagerFindAccountDialog.xml
Can not access : src/cdl.jsf/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.