| Class and Description | 
|---|
| org.omnifaces.component.script.CommandScript Since 3.0 as this has been added to JSF 2.3 as  h:commandScript. | 
| org.omnifaces.exceptionhandler.DefaultExceptionHandlerFactory Since 3.9 (actually already since 3.0, but overlooked). Technical reason is that the originally intended
 wrapper boilerplate was already integrated into JSF 2.3. Just extend from  ExceptionHandlerFactoryinstead. | 
| Field and Description | 
|---|
| org.omnifaces.config.FacesConfigXml.INSTANCE Since 3.1; Use  FacesConfigXml.instance()instead. | 
| org.omnifaces.config.WebXml.INSTANCE Since 3.1; Use  WebXml.instance()instead. | 
| Method and Description | 
|---|
| org.omnifaces.util.Components.addScriptResourceToBody(String, String) since 3.6, use  Components.addScriptResource(String, String)instead as this will automatically detect
 already-added resources, non-@all ajax postbacks and rendering state and pick the most optimal approach to add
 the JavaScript resource. | 
| org.omnifaces.util.Components.addScriptResourceToHead(String, String) since 3.6, use  Components.addScriptResource(String, String)instead as this will automatically detect
 already-added resources, non-@all ajax postbacks and rendering state and pick the most optimal approach to add
 the JavaScript resource. | 
| org.omnifaces.util.Components.addScriptToBody(String) since 3.6, use  Components.addScript(String)instead as this will automatically detect non-@all ajax
 postbacks. | 
| org.omnifaces.util.Platform.getBeanValidator() Since 3.8. Bean Validation utilities are migrated to  Validators.
 UseValidators.getBeanValidator()instead. | 
| org.omnifaces.util.Platform.getBeanValidatorFactory() Since 3.8. Bean Validation utilities are migrated to  Validators.
 UseValidators.getBeanValidatorFactory()instead. | 
| org.omnifaces.config.WebXml.init(ServletContext) Since 3.1; Use  WebXml.instance()instead. It will fall back to CDI to obtain the servlet context. | 
| org.omnifaces.util.Platform.isBeanValidationAvailable() Since 3.8. Bean Validation utilities are migrated to  Validators.
 UseValidators.isBeanValidationAvailable()instead. | 
| org.omnifaces.component.input.Form.isIncludeViewParams() Since 3.0 | 
| org.omnifaces.component.input.Form.setIncludeViewParams(boolean) Since 3.0 | 
| org.omnifaces.util.Platform.validateBean(Object, Class<?>...) Since 3.8. This method should have returned actual constraint violations instead of abstracting them.
 Use  Validators.validateBean(Object, Class...)instead. | 
| org.omnifaces.util.Platform.validateBeanProperty(Class<?>, String, Object, Class<?>...) Since 3.8. This method should have returned actual constraint violations instead of abstracting them.
 Use  Validators.validateBeanProperty(Class, String, Object, Class...)instead. | 
| Constructor and Description | 
|---|
| org.omnifaces.cdi.param.ParamValue(String[], Param, Type, V) Since 3.8. This constructor should not have been public (and the class should have been final). | 
Copyright © 2012–2021 OmniFaces. All rights reserved.