JBoss.orgCommunity Documentation

Chapter 5. Validation

CDI validation covers nearly all of the rules declared in the JSR-299 specification. For every type of validation rule, you can set if it should be interpreted as an error, warning or just ignored. This is achieved by navigating to WindowPreferencesJBoss ToolsCDICDI Validator.

Validation settings.

Figure 5.1. Validation settings


The CDI validator can check JSP, XHTML, beans.xml and java source files. Some validation issues can be fixed through the Quick Fixes menu (Ctrl+1).

Quick Fixes.

Figure 5.2. Quick Fixes