Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2
    • Fix Version/s: 2.0
    • Component/s: Uncategorized
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      262
    • Status Whiteboard:
      Hide

      EGTop5

      Show
      EGTop5

      Description

      There should be a way within faces-config or some other mechanism to register EL
      functions. Perhaps as a library, by function prefix, much like how Facelets tag
      libraries are registered. Right now it is impossible to register EL functions
      without wrapping FacesContextFactory with an implementation that returns a
      wrapped FacesContext that returns a wrapped ELContext that returns a proper
      FunctionResolver. And frankly I'm not 100% sure that would even work.

      In addition, there is no mechanism for providing a "wrapped" FacesContextFactory
      like there is for ViewHandlers for example. This makes this approach even more
      difficult.

        Activity

        Hide
        dmlloyd added a comment -

        Target milestone -> 2.0

        Show
        dmlloyd added a comment - Target milestone -> 2.0
        Hide
        kito75 added a comment -

        This is related to 493 and required for support of Facelets.

        Show
        kito75 added a comment - This is related to 493 and required for support of Facelets.
        Hide
        Ed Burns added a comment -

        We get this for free with Facelets.

        Show
        Ed Burns added a comment - We get this for free with Facelets.
        Hide
        pmuir added a comment -

        Ed, Facelet's only registers EL functions in it's local
        ExpressionFactory/ELContext, whilst we need to make them available to the JSF
        ELContext (facesContext.getELContext()) and the JSF ExpressionFactory
        (facesContext.getApplication().getExpressionFactory))

        Show
        pmuir added a comment - Ed, Facelet's only registers EL functions in it's local ExpressionFactory/ELContext, whilst we need to make them available to the JSF ELContext (facesContext.getELContext()) and the JSF ExpressionFactory (facesContext.getApplication().getExpressionFactory))
        Hide
        Ed Burns added a comment -

        I assert this is no longer necessary now that EL method invocation is generally available.

        Show
        Ed Burns added a comment - I assert this is no longer necessary now that EL method invocation is generally available.
        Hide
        Ed Burns added a comment -

        Prepare to delete "spec" subcomponent.

        Show
        Ed Burns added a comment - Prepare to delete "spec" subcomponent.
        Hide
        Manfred Riem added a comment -

        Closing resolved issue out

        Show
        Manfred Riem added a comment - Closing resolved issue out

          People

          • Assignee:
            Ed Burns
            Reporter:
            dmlloyd
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: