Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha1
-
Fix Version/s: 2.0-Alpha1, 2.0.0
-
Component/s: Framework
-
Labels:None
-
Environment:jsf2.0, ICEfaces2.0, Compat
Description
NPE for finding paneltooltip in dom tree.
Problem was in com.icesoft.faces.util CoreUtils, method addPanelTooltip. Looking up UIComponent panelTooltip was done before using:-
UIComponent panelTooltip = facesContext.getViewRoot().findComponent(panelTooltipId);
BUt....this isn't feasible since it has different syntax. Had to change it to
UIComponent panelTooltip = CoreComponentUtils.findComponent(panelTooltipId, uiComponent);
(old method from D2DViewHandler findComponent(...)
Problem was in com.icesoft.faces.util CoreUtils, method addPanelTooltip. Looking up UIComponent panelTooltip was done before using:-
UIComponent panelTooltip = facesContext.getViewRoot().findComponent(panelTooltipId);
BUt....this isn't feasible since it has different syntax. Had to change it to
UIComponent panelTooltip = CoreComponentUtils.findComponent(panelTooltipId, uiComponent);
(old method from D2DViewHandler findComponent(...)
Issue Links
- depends on
-
ICE-4458 create component-showcase sample for compat version of ICEfaces-2
- Closed
fixed CoreUtils to lookup panelTooltip