ICEfaces
  1. ICEfaces
  2. ICE-1112

Problem with Effects and draggable attribute on ice:panelPopup and ice:panelGroup

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.6DR#4, 1.6
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      In addressing In addressing Bug #1084, I attempted to implement Appear/Fade effects on the
      ice:panelPopup component used to login to the icefaces.org website.

      I attempted a few ways of implementing the effects:
      - wrapping the panelPopup component in a panelGroup with the effects
      - implementing the effects on the panelPopup component itself
      - playing with the visible attribute on both the parent panelGroup component
      and the child panelPopup component to get the desired effect
      - duplicating non-modal popup functionality in a panelGroup component
      containing the effects

      I settled on implementing the ice:panelPopup functionality in a ice:panelGroup
      component. It seems all the functionality of a non-modal ice:panelPopup
      component is available in a ice:panelGroup component and I could also
      implement the effect in this ice:panelGroup component.

      Regardless of whether I implemented the effect on the panelGroup containing
      the ice:panelPopup component with the draggable="true" attribute set, or used
      just the ice:panelGroup component on its own with draggable="true" attribute
      set, dragging the login box results in the box blinking on subsequent firing
      of the effects. When the box is not draggable, the effects continually fire
      as expected without any blinking., I attempted to implement Appear/Fade effects on the
      ice:panelPopup component used to login to the icefaces.org website.

      I attempted a few ways of implementing the effects:
      - wrapping the panelPopup component in a panelGroup with the effects
      - implementing the effects on the panelPopup component itself
      - playing with the visible attribute on both the parent panelGroup component
      and the child panelPopup component to get the desired effect
      - duplicating non-modal popup functionality in a panelGroup component
      containing the effects

      I settled on implementing the ice:panelPopup functionality in a ice:panelGroup
      component. It seems all the functionality of a non-modal ice:panelPopup
      component is available in a ice:panelGroup component and I could also
      implement the effect in this ice:panelGroup component.

      Regardless of whether I implemented the effect on the panelGroup containing
      the ice:panelPopup component with the draggable="true" attribute set, or used
      just the ice:panelGroup component on its own with draggable="true" attribute
      set, dragging the login box results in the box blinking on subsequent firing
      of the effects. When the box is not draggable, the effects continually fire
      as expected without any blinking.

        Activity

        Hide
        Ken Fyten added a comment -

        Assign to Rob.

        Show
        Ken Fyten added a comment - Assign to Rob.
        Hide
        Patrick Corless added a comment -

        Did a little testing when I noticed the login wasn't draggable. As mentioned the current login box for .org is using a panelGroup. I added the draggable attribute to the panel group and it dragged correctly on windows using IE and FF without firing any extra effects.

        If we where to add the draggable attribute to the panelGroup we would also want to make sure that the dragMask was set to avoid any unnecessary server requests:

        dragMask="dragging, drag_cancel,dropped,hover_start,hover_end"

        Anyways we might want to make it draggable for the next release.

        Show
        Patrick Corless added a comment - Did a little testing when I noticed the login wasn't draggable. As mentioned the current login box for .org is using a panelGroup. I added the draggable attribute to the panel group and it dragged correctly on windows using IE and FF without firing any extra effects. If we where to add the draggable attribute to the panelGroup we would also want to make sure that the dragMask was set to avoid any unnecessary server requests: dragMask="dragging, drag_cancel,dropped,hover_start,hover_end" Anyways we might want to make it draggable for the next release.
        Hide
        Rob Mayhew added a comment -

        This is an application problem. Closing.

        Show
        Rob Mayhew added a comment - This is an application problem. Closing.

          People

          • Assignee:
            Unassigned
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: