ICEfaces
  1. ICEfaces
  2. ICE-5020

jsf2.0 panelTooltip NPE. Cannot find panelTooltip in CoreUtils.findComponent for Compat

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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(...)

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Judy Guglielmin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: