Skip to content

Configuration - Web Fragment

Location of generated Files

In a Virtual Developer Cloud Connector, every of the following groups of files (so-called virtual projects) can be mapped to a separate Eclipse project or to a directory. By providing more than one virtual project you have the freedom to organize the generated code in the way you want.

Groups of Files (Virtual Projects) Included File Types
JSF Web Fragment Java Classes, XML Configuration Files, XHTML Files, Properties Files
JSF Web Fragment Interfaces Java Enumerations and Interfaces that can be used by other software components to access objects of the web fragment without having to have compile-time dependencies to the implementation classes. Typically, the artifacts that are generated for this virtual project are put to a separate component (Java jar file) to make them separately accessible.

Generator Options

General Purpose

Option Description Value Range Default Value
client‑side‑validation true enables Primefaces client-side validation true or false false
jsf-version set this version to the version that is supported by your JEE application server x.y, nominating major an minor JSF version 2.2
toolbar-placement defines the standard placement of p:toolbar components on web pages TOP, BOTTOM, LEFT or RIGHT TOP

For Selenium Test Classes

Option Description Value Range Default Value
target.uri.prefix path for Java source code a valid relative path src/test/java

For Enumerations and Interfaces

Option Description Value Range Default Value
target.uri.prefix path for Java source code a valid relative path src/main/java

For Configuration Files

Option Description Value Range Default Value
target.uri.prefix path for configuration files a valid relative path src/main/resources

For XHTML Files

Option Description Value Range Default Value
target.uri.prefix path for XHTML files a valid relative path src/main/resources

For Properties Files

Option Description Value Range Default Value
target.uri.prefix path for properties files a valid relative path src/main/resources

For Java Classes

Option Description Value Range Default Value
target.uri.prefix path for Java classes a valid relative path src/main/java
target.uri.prefix.for.tests path for Java test classes a valid relative path src/test/java

For abstract Java Test Classes

Option Description Value Range Default Value
target.uri.prefix path for Java classes a valid relative path src/main/java
target.uri.prefix.for.tests path for Java test classes a valid relative path src/test/java