ICEfaces
  1. ICEfaces
  2. ICE-10135

ace:fileEntry - Callback handler submits before the JSF lifecycle starts

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01, EE-3.3.0.GA_P02
    • Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      If you use <ace:fileEntry> with a callback handler, this handler is evaluated before the JSF lifecycle starts, which means the callback always has to be a managed bean to not be null on evaluating it.

      This request is to see if it can be evaluated later in the JSF lifecycle. Code where this is happening:

      FacesServlet.service(…):
      try {
      ResourceHandler handler = context.getApplication().getResourceHandler();
      if (handler.isResourceRequest(context)) {
      handler.handleResourceRequest(context); <----- this is where the callback is evaluated!
      } else {
      lifecycle.execute(context);
      lifecycle.render(context);
      }

        Activity

        Arran Mccullough created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Fix Version/s 4.1 [ 11375 ]
        Fix Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Ken Fyten made changes -
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ] Mircea Toma [ mircea.toma ]
        Hide
        Mircea Toma added a comment -

        This issue was already solved by the fixes for ICE-10110 (trunk only). The file callback now is invoked during the JSF lifecycle.

        Also back-ported ICE-10110 changes (including subsequent changes for FileEntryUpload) to the maintenance branch.

        Show
        Mircea Toma added a comment - This issue was already solved by the fixes for ICE-10110 (trunk only). The file callback now is invoked during the JSF lifecycle. Also back-ported ICE-10110 changes (including subsequent changes for FileEntryUpload) to the maintenance branch.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: