ICEfaces
  1. ICEfaces
  2. ICE-6378

PortableRenderer prohibits JSF threads

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces

      Description


      The current PortableRenderer contains code that prohibits push from JSF threads:


         public void render(String group) {
              if (FacesContext.getCurrentInstance() == null) {
                  pushContext.push(group);
              }
          }

      It is useful for push updates to be delivered only to clients other than the caller, but this does not provide that feature.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23512 Tue Dec 14 16:39:51 MST 2010 ted.goddard allowing PortableRenderer.render JSF threads (ICE-6378)
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/application/PushRenderer.java
        Ted Goddard created issue -
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Ted Goddard [ ted.goddard ]
        Hide
        Ted Goddard added a comment -

        Removed check for FacesContext.getCurrentInstance()

        Show
        Ted Goddard added a comment - Removed check for FacesContext.getCurrentInstance()
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.0 [ 10230 ]
        Resolution Fixed [ 1 ]
        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: