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

        Hide
        Ted Goddard added a comment -

        Removed check for FacesContext.getCurrentInstance()

        Show
        Ted Goddard added a comment - Removed check for FacesContext.getCurrentInstance()

          People

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

            Dates

            • Created:
              Updated:
              Resolved: