Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Issue Links

        Activity

        Manfred Riem created issue -
        Manfred Riem made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Critical [ 2 ]
        Manfred Riem made changes -
        Manfred Riem made changes -
        Manfred Riem made changes -
        Attachment changebundle-20141009.txt [ 53770 ]
        Attachment newfiles-20141009.zip [ 53771 ]
        Manfred Riem made changes -
        Attachment changebundle-20141009.txt [ 53770 ]
        Manfred Riem made changes -
        Attachment newfiles-20141009.zip [ 53771 ]
        Ed Burns made changes -
        Ed Burns made changes -
        Ed Burns made changes -
        Manfred Riem made changes -
        Hide
        Manfred Riem added a comment - - edited

        Make sure the following artifacts are mentioned in the spec PDF when describing @Inject support

        • applicationMap
        • externalContext
        • facesContext
        • session (delegating that responsibility back to default CDI runtime)
        • sessionMap
        • view
        • viewMap
        • converters annotated with @FacesConverter (and managed = true)
        • validators annotated with @FacesValidator (and managed = true)
        • behaviors annotated with @FacesBehavior (and managed = true)
        • requestCookieMap
        Show
        Manfred Riem added a comment - - edited Make sure the following artifacts are mentioned in the spec PDF when describing @Inject support applicationMap externalContext facesContext session (delegating that responsibility back to default CDI runtime) sessionMap view viewMap converters annotated with @FacesConverter (and managed = true) validators annotated with @FacesValidator (and managed = true) behaviors annotated with @FacesBehavior (and managed = true) requestCookieMap
        Manfred Riem made changes -
        Manfred Riem made changes -
        Manfred Riem made changes -
        Manfred Riem made changes -
        Manfred Riem made changes -
        Manfred Riem made changes -
        Manfred Riem made changes -
        Assignee Manfred Riem [ mriem ] Ed Burns [ edburns ]
        Manfred Riem made changes -
        Assignee Ed Burns [ edburns ]
        Manfred Riem made changes -
        Issue Type Bug [ 1 ] New Feature [ 2 ]
        Manfred Riem made changes -
        Manfred Riem made changes -
        Ed Burns made changes -
        Hide
        Ed Burns added a comment -

        Do you have any plans to support Component, Behavior and Validator?

        Show
        Ed Burns added a comment - Do you have any plans to support Component, Behavior and Validator?
        Manfred Riem made changes -
        Hide
        Manfred Riem added a comment -

        In Progress

        Show
        Manfred Riem added a comment - In Progress
        Manfred Riem made changes -
        Hide
        Manfred Riem added a comment -

        Note @Inject on UIComponent instances will not be done as the view state is managed outside of CDI.

        Show
        Manfred Riem added a comment - Note @Inject on UIComponent instances will not be done as the view state is managed outside of CDI.
        Manfred Riem made changes -
        Assignee Manfred Riem [ mriem ]
        Manfred Riem made changes -
        Manfred Riem made changes -
        Manfred Riem made changes -
        Assignee Manfred Riem [ mriem ] Ed Burns [ edburns ]
        Manfred Riem made changes -
        Assignee Ed Burns [ edburns ]
        Hide
        arjan tijms added a comment -

        Note @Inject on UIComponent instances will not be done as the view state is managed outside of CDI.

        IFF there would be an @ComponentScope then as a side-effect of that it may became feasible to allow injection of the UIComponent instances.

        Show
        arjan tijms added a comment - Note @Inject on UIComponent instances will not be done as the view state is managed outside of CDI. IFF there would be an @ComponentScope then as a side-effect of that it may became feasible to allow injection of the UIComponent instances.
        Manfred Riem made changes -
        Assignee arjan tijms [ arjan_t ]
        Ed Burns logged work - 07/Oct/15 2:37 PM
        • Time Spent:
          1 hour
           
          [master 4205b37] https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1316
           14 files changed, 148 insertions(+), 7 deletions(-)
           create mode 100644 jsf-api/src/main/java/javax/faces/annotation/package.html
          dhcp-orl3-2fl-gen-east-10-141-167-3:mojarra-git ejburns$ git push
          Counting objects: 142, done.
          Delta compression using up to 8 threads.
          Compressing objects: 100% (27/27), done.
          Writing objects: 100% (36/36), 4.00 KiB | 0 bytes/s, done.
          Total 36 (delta 20), reused 0 (delta 0)
          To ssh://edburns@git.java.net/mojarra~git
             72e8072..4205b37 master -> master
          dhcp-orl3-2fl-gen-east-10-141-167-3:mojarra-git ejburns$ cat changebundle.txt
          https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1316

          Provide necessary specification for this important feature.

          On branch master

          new file: jsf-api/src/main/java/javax/faces/annotation/package.html

          - Certainly a new top level package needs a package.html file.

          modified: jsf-api/src/main/java/javax/faces/annotation/ApplicationMap.java
          modified: jsf-api/src/main/java/javax/faces/annotation/FlowMap.java
          modified: jsf-api/src/main/java/javax/faces/annotation/HeaderMap.java
          modified: jsf-api/src/main/java/javax/faces/annotation/HeaderValuesMap.java
          modified: jsf-api/src/main/java/javax/faces/annotation/InitParameterMap.java
          modified: jsf-api/src/main/java/javax/faces/annotation/RequestCookieMap.java
          modified: jsf-api/src/main/java/javax/faces/annotation/RequestMap.java
          modified: jsf-api/src/main/java/javax/faces/annotation/RequestParameterMap.java
          modified: jsf-api/src/main/java/javax/faces/annotation/RequestParameterValuesMap.java
          modified: jsf-api/src/main/java/javax/faces/annotation/SessionMap.java
          modified: jsf-api/src/main/java/javax/faces/annotation/ViewMap.java
          modified: jsf-api/src/main/java/javax/faces/model/FacesDataModel.java

          - Certainly a new top level feature needs Javadoc.

          modified: test/javaee8/cdi/src/main/java/com/sun/faces/test/javaee8/cdi/InjectSessionBean.java

          - Copyright date
        Ed Burns made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 hour [ 3600 ]
        Worklog Id 24351 [ 24351 ]
        Hide
        balusc added a comment -

        Injection of @FacesContext is currently not done properly. It's currently request scoped, but it should actually be "faces context scoped", as an (error) dispatch can create a new FacesContext within the very same request. The current approach will throw ISE from assertNotReleased() when the FacesContext is being referenced in EL.

        Show
        balusc added a comment - Injection of @FacesContext is currently not done properly. It's currently request scoped, but it should actually be "faces context scoped", as an (error) dispatch can create a new FacesContext within the very same request. The current approach will throw ISE from assertNotReleased() when the FacesContext is being referenced in EL.

          People

          • Assignee:
            arjan tijms
            Reporter:
            Manfred Riem
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h