-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Liferay Faces Bridge Impl / Demos / Tests
-
Labels:None
Currently when the alloy-generator is run in the bridge-impl Maven module, it generates the following method:
@Override public String getLabel() { String label = super.getLabel(); if (label == null) { javax.faces.context.FacesContext facesContext = javax.faces.context.FacesContext.getCurrentInstance(); if (facesContext.getCurrentPhaseId() == javax.faces.event.PhaseId.PROCESS_VALIDATIONS) { label = com.liferay.faces.util.component.ComponentUtil.getComponentLabel(this); } } return label; }
However this causes a compile failure since liferay-faces-bridge-api.jar does not depend on liferay-faces-bridge-impl.jar.