ICEfaces
  1. ICEfaces
  2. ICE-7782

easyAjaxPush tutorial does not push until button click

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: EE-3.0.0.BETA, 3.0.1
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces tutorial

      Description


      Push updates are not observed in the easyAjaxPush tutorial until the user clicks on a button.

        Activity

        Hide
        Ted Goddard added a comment -

        The easyAjaxPush tutorial makes use of two beans: one in application scope with the shared state and another (ColorBean) in view scope handling user events. Since ColorBean manages the push group membership, it is important that it be instantiated when the page is loaded. This does not occur because no output from the bean is required to render the page.

        Show
        Ted Goddard added a comment - The easyAjaxPush tutorial makes use of two beans: one in application scope with the shared state and another (ColorBean) in view scope handling user events. Since ColorBean manages the push group membership, it is important that it be instantiated when the page is loaded. This does not occur because no output from the bean is required to render the page.
        Hide
        Ted Goddard added a comment -

        The ColorBean is now used as the front-end to the list of "color events" to ensure that the bean is instantiated and the push group is joined for each page.

        Show
        Ted Goddard added a comment - The ColorBean is now used as the front-end to the list of "color events" to ensure that the bean is instantiated and the push group is joined for each page.

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: