ICEfaces
  1. ICEfaces
  2. ICE-10099

ace:dialog - setFocus not working when using client side show/hide methods

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: EE-3.3.0.GA_P02
    • Fix Version/s: 4.0, EE-3.3.0.GA_P03
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P2
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Use the visible attribute and server side actions to show/hide the dialog.

      Or set the following context param to disable the ICEfaces managed focus:

          <context-param>
              <param-name>org.icefaces.focusManaged</param-name>
              <param-value>false</param-value>
          </context-param>
      Show
      Use the visible attribute and server side actions to show/hide the dialog. Or set the following context param to disable the ICEfaces managed focus:     <context-param>         <param-name>org.icefaces.focusManaged</param-name>         <param-value>false</param-value>     </context-param>

      Description

      When using the widgetVar show() and hide() methods to show/hide the dialog and using the new setFocus method. The component that should deceive focus gets it momentarily and then the ICEfaces managed focus is setting it back to the button that opened the popup.

      This also looks to be an issue when calling the default ice.ace.Dialog.prototype.focusFirstInput function.

        Activity

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: