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

          Hide
          Judy Guglielmin added a comment -

          fixed CoreUtils to lookup panelTooltip

          Show
          Judy Guglielmin added a comment - fixed CoreUtils to lookup panelTooltip
          Hide
          Judy Guglielmin added a comment -

          resolved for 4458

          Show
          Judy Guglielmin added a comment - resolved for 4458

            People

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

              Dates

              • Created:
                Updated:
                Resolved: