ICEfaces
  1. ICEfaces
  2. ICE-9129

blockUIOnSubmit doesn't consistently unblock the UI

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Icefaces 3.3 from trunk revision 34049, jdk1.6.0_39, apache-tomcat-6.0.32

      Description

      Problem registered in ICE-8372 seems to be not fixed and still occurrs in some cases.
      I notice the one workaround is set blockUIOnSubmit to false.

      Many cases ICE-7150, ICE-7918,ICE-7746, ICE-8916,ICE-9045 seems to be similar.
      In my case I got a problem with part of application migrated from 1.8 to 3.3 . In web.xml I got org.icefaces.blockUIOnSubmit = true. Everything works except one page with modal. If modal is displayed on start then on close everything hangs up and page reload is needed.
      The problem doesn't exist if I change one modal="true" to modal="false" or blockUIOnSubmit=false.

      Console output from Firebug: (looks ok but UI is really still blocked)
      [window.compat] removed modal iframe for : j_idt248:j_idt24 bridge...ce.core (row 1315)
      [window] unblocked UI bridge...ce.core (row 1315)
      [window] applied updates >>
      update["j_idt247"]: <div class="icePnlGrp" id="j_idt247"></d....
      update["iceMsgsError"]: <ul id="iceMsgsError"><li><span class="i....
      update["dynamic-code-compat"]: <span id="dynamic-code-compat"></span>....
      update["javax.faces.ViewState"]: 3251100983868510618:-804321412697498542....
      eval: new Ice.MenuBarKeyNavigator('menuActions....
      eval: ice.applyFocus('j_idt248:j_idt251');var ....
      extension

        Activity

        Hide
        Krashan Brahmanjara added a comment - - edited

        Steps to reproduce in component showcase

        • add to web.xml this entry {normat} <context-param>
          <param-name>org.icefaces.blockUIOnSubmit</param-name>
          <param-value>true</param-value>
          </context-param>{normat}
        • change in org.icefaces.application.showcase.view.bean.examples.layoutPanel.panelPopup.PopupBean line 42
          boolean modalRendered change from default false to true
        • compile, run, go to popup page, close opened popup, try do something
        Show
        Krashan Brahmanjara added a comment - - edited Steps to reproduce in component showcase add to web.xml this entry {normat} <context-param> <param-name>org.icefaces.blockUIOnSubmit</param-name> <param-value>true</param-value> </context-param>{normat} change in org.icefaces.application.showcase.view.bean.examples.layoutPanel.panelPopup.PopupBean line 42 boolean modalRendered change from default false to true compile, run, go to popup page, close opened popup, try do something

          People

          • Assignee:
            Unassigned
            Reporter:
            Krashan Brahmanjara
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: