-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Labels:None
As part of FACES-2502, a new class named com.liferay.faces.util.context.FacesContextHelperFactory was added to the liferay-faces-util project.
The new class contains a static getFacesContextHelperInstance() method that does a factory lookup of the FacesContextHelperFactory and returns a FacesContextHelper instance.
This pattern should be applied to all abstract factory classes in the various Liferay Faces Git repositories. In addition, the static method should be referenced in order to reduce the number of lines of code within the codebase.