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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27920 Fri Feb 17 10:11:18 MST 2012 ted.goddard use ColorBean as front-end to ensure instantiation on page load (ICE-7782)
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/easyAjaxPush/src/main/java/org/icefaces/tutorial/easyajaxpush/beans/ColorBean.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/easyAjaxPush/src/main/webapp/color.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27921 Fri Feb 17 10:26:35 MST 2012 ted.goddard use ColorBean as front-end to ensure instantiation on page load (ICE-7782)
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/tutorials/easyAjaxPush/src/main/webapp/color.xhtml
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/tutorials/easyAjaxPush/src/main/java/org/icefaces/tutorial/easyajaxpush/beans/ColorBean.java
        Ted Goddard created issue -
        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.
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Ted Goddard [ ted.goddard ]
        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.
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.0.0.BETA [ 10324 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: