Overview
Other MyFaces Extensions
- CODI
- Ext-Script
- [Orchestra]
- [Portlet Bridge]
MyFaces ExtVal consists of the following modules:
Required modules:
Optional modules:
It's quite easy to add ExtVal to your project. Just add the core as well as the module/s of your choice to the pom.xml
of your project.
<dependency> <groupId>org.apache.myfaces.extensions.validator</groupId> <artifactId>myfaces-extval-core</artifactId> <version>${extval.version}</version> <scope>compile</scope> </dependency>
<dependency> <groupId>org.apache.myfaces.extensions.validator.validation-modules</groupId> <artifactId>myfaces-extval-property-validation</artifactId> <version>${extval.version}</version> <scope>compile</scope> </dependency>
<dependency> <groupId>org.apache.myfaces.extensions.validator.validation-modules</groupId> <artifactId>myfaces-extval-bean-validation</artifactId> <version>${extval.version}</version> <scope>compile</scope> </dependency>
These modules are only needed for special component libs. Just add them if you component library doesn't work with ExtVal out-of-the-box. Such libs are using special tricks. You can fix it with using the correct component support module.
<dependency> <groupId>org.apache.myfaces.extensions.validator.component-support-modules</groupId> <artifactId>myfaces-extval-trinidad-support</artifactId> <version>${extval.version}</version> <scope>compile</scope> </dependency>
<dependency> <groupId>org.apache.myfaces.extensions.validator.component-support-modules</groupId> <artifactId>myfaces-extval-generic-support</artifactId> <version>${extval.version}</version> <scope>compile</scope> </dependency>
Hint
Replace the placeholders for the version with the version of your choice or use:
<properties> <extval.version>2.0.4</extval.version> </properties>