ICEfaces
  1. ICEfaces
  2. ICE-7634

ace:dialog: ace:ajax event 'close' : Values not being updated, even with render="@all" & execute="@all"

    Details

    • Assignee Priority:
      P1

      Description

      I have a dialog with an ace:ajax tag embedded inside of it. There event type is 'close' and there is a listener call:
      <ace:ajax event="close" listener="${ajaxTestBean.closeEventListener}" />
      The default execute and render modes are being used which are "@all" for both.

      The form also contains three values bound to a bean:
      1. There is "message". This value is updated via the closeEventListener. (This is being updated on the page successfully)
      2. There is "valueA". This value increments itself in its setter. (This value is not being incremented or updated on the page)
      3. There is "valueB". This value also increments itself in its setter. (This value is not being incremented or updated on the page)

      When closing the dialog I would expect all values in the form to be updated (including valueA / valueB). However, this is not the case.

      To reproduce:
      1. Build / deploy test application.
      2. Navigate to 'Dialog Ajax ' test page.
      3. Follow the instructions on the page for the 'close Event Test'.
      Notice that the actual result is not what is expected (valueA & valueB are not updated).
      1. AjaxTestBean.java
        4 kB
        yip.ng
      2. dialogAjax.xhtml
        0.9 kB
        yip.ng
      1. screenshot-1.png
        108 kB
      2. screenshot-2.png
        100 kB
      3. screenshot-3.png
        88 kB
      4. screenshot-4.png
        83 kB

        Activity

        Cruz Miraback created issue -
        Cruz Miraback made changes -
        Field Original Value New Value
        Environment ICEfaces3 Trunk Revision# 27084
        Server: Tomcat6
        Browsers: Firefox/Chrome/IE
        Test app located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/dialog
        ICEfaces3 Trunk Revision# 27084
        Server: Tomcat6
        Browsers: Firefox/Chrome/IE
        Test app located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/dialog
        Salesforce Case []
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P2
        Assignee yip.ng [ yip.ng ]
        yip.ng made changes -
        Attachment screenshot-1.png [ 13959 ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P2 P1
        yip.ng made changes -
        Attachment screenshot-2.png [ 13962 ]
        yip.ng made changes -
        Attachment screenshot-3.png [ 13963 ]
        yip.ng made changes -
        Attachment AjaxTestBean.java [ 13964 ]
        Attachment dialogAjax.xhtml [ 13965 ]
        yip.ng made changes -
        Attachment screenshot-4.png [ 13966 ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee yip.ng [ yip.ng ] Mircea Toma [ mircea.toma ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Mircea Toma [ mircea.toma ] yip.ng [ yip.ng ]
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            yip.ng
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: