ICEfaces
  1. ICEfaces
  2. ICE-732

Support for custom popups/tooltips on components (new ice:panelTooltip component)

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.7DR#3, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      We'd like to support the ability to associate a panelPopup component (that could contain virtually anything) with another component in such a way that when the user hovers the mouse over the target component for a configurable period of time (ex. 30ms) the panelPopup would display at a location based on the current mouse coordinates. When the user moved the mouse off the target component, the panelPopup would hide/close.

      We should consider supporting the following configuration attributes:
      - hoverDelay - # of millis that mouse must be continuously hovered over the component before the popup is displayed.
      - autoHide - Different value settings for:
         - "onClick" - Hide the popup if any area outside of the popup itself is clicked.
         - "onExit" - Hide the popup when the user moves the mouse out of the triggering component.
         - "none/false" - Don't autohide the popup (expects the app. to add a close button or some other device to hide the popup).

      This should work like the popupMenu where you associate a popupMenu on the page to one or more panelGroups via the popupMenu attribute. We do the same for this, have a popupPanel attribute on the panelGroup that you use to associate a popupPanel to the panelGroup, then wrap any components or regions that you want to have the popupPanel capability with a panelGroup. Eventually would could consider adding the "popupPanel" attribute to all components, but maybe having it on the panelGroup is enough?

      The other issue is whether this just displays a static panelPopup or if there is a roundtrip and the application can receive an event that can be used to populate the panelPopup or set it's state based on the component that is triggering the popup. This would be desirable if it's technically feasible.

      Also should work in UIData components, of course.

      Seems to be very similar in nature to the popupMenu.

        Activity

        Hide
        Adnan Durrani added a comment -

        contextValue integrated revision: 15689

        Show
        Adnan Durrani added a comment - contextValue integrated revision: 15689
        Hide
        Adnan Durrani added a comment -

        displayListener added to the tooltip component and other changes has been made. revision 15681

        Show
        Adnan Durrani added a comment - displayListener added to the tooltip component and other changes has been made. revision 15681
        Hide
        Adnan Durrani added a comment -

        displayListener added to the MetadataGenerator. revision 15674

        Show
        Adnan Durrani added a comment - displayListener added to the MetadataGenerator. revision 15674
        Hide
        Adnan Durrani added a comment -

        Note: The draggable panelTooltip are always dynamic can't be static
        Note: The autoHide="false" will automatically make the panelTooltip dynamic, it can't be static

        Show
        Adnan Durrani added a comment - Note: The draggable panelTooltip are always dynamic can't be static Note: The autoHide="false" will automatically make the panelTooltip dynamic, it can't be static
        Hide
        Adnan Durrani added a comment -

        revision 15386. The component is fulfilling all requirements mentioned above.

        Show
        Adnan Durrani added a comment - revision 15386. The component is fulfilling all requirements mentioned above.
        Hide
        Adnan Durrani added a comment -

        revision 15385: If the panelTooltip is draggable, its mean its dynamic as well

        Show
        Adnan Durrani added a comment - revision 15385: If the panelTooltip is draggable, its mean its dynamic as well
        Hide
        Adnan Durrani added a comment -

        The ice:panelTooltip component added to the repository. revision 15376:

        Show
        Adnan Durrani added a comment - The ice:panelTooltip component added to the repository. revision 15376:

          People

          • Assignee:
            Unassigned
            Reporter:
            Ken Fyten
          • Votes:
            9 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: