javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-1080

New Component APIs to manage EL context as it applies to components.

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Incomplete
    • Affects Version/s: 1.1, 1.2, 2.0, 2.1
    • Fix Version/s: None
    • Component/s: Components/Renderers
    • Labels:
      None

      Description

      B> The issue with clientIds is that portions of the clientId are an
      B> implementation detail of the components and renderkit. The result is
      B> that developers are not supposed to be hardcoding clientIds into their
      B> code. Developers need a different kind of id that specifies context
      B> like a clientId, but is standardized like a findComponent search
      B> expression. Let's call this a contextId.

      B> Given a contextId, we would like to be able to do the following:
      B> 1) Efficiently convert the contextId into an object capable of
      B> establishing and tearing down the context for the component relatively
      B> efficiently. This would require new component apis.
      B> 2) Add a function like findComponentInContext that may return a proxy
      B> for the UIComponent executing in the context object from 1)
      B> 3) Since setting up and tearing down context on every attribute
      B> retrieval is inefficient--framework managed context so that the current
      B> context may be torn down lazily.

        Issue Links

          Activity

          Ed Burns logged work - 05/Mar/12 11:14 PM
          • Time Spent:
            1 hour
             
            <No comment>
          Ed Burns created issue -
          Ed Burns made changes -
          Field Original Value New Value
          Original Estimate 1 week [ 604800 ]
          Remaining Estimate 1 week [ 604800 ]
          Ed Burns made changes -
          Remaining Estimate 1 week [ 604800 ] 6 days, 23 hours [ 601200 ]
          Time Spent 1 hour [ 3600 ]
          Ed Burns made changes -
          Assignee rogerk [ rogerk ] Ed Burns [ edburns ]
          Ed Burns made changes -
          Attachment 20120316-1025-i_spec_1080.patch [ 49543 ]
          Ed Burns made changes -
          Link This issue depends on UEL-29 [ UEL-29 ]
          Ed Burns made changes -
          Attachment 20120319-1714-i_spec_1080.patch [ 49550 ]
          Ed Burns logged work - 19/Mar/12 9:16 PM
          • Time Spent:
            4 hours, 23 minutes
             
            <No comment>
          Ed Burns made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Ed Burns made changes -
          Remaining Estimate 6 days, 23 hours [ 601200 ] 6 days, 18 hours, 37 minutes [ 585420 ]
          Time Spent 1 hour [ 3600 ] 5 hours, 23 minutes [ 19380 ]
          Ed Burns logged work - 20/Mar/12 1:58 AM
          • Time Spent:
            50 minutes
             
            <No comment>
          Hide
          Ed Burns added a comment -

          I tried implementing the testing logic, but it became too complex and I decided it's not worth the trouble.

          Sending jsf-api/src/main/java/javax/faces/component/UIComponent.java
          Sending nbproject/project.xml
          Transmitting file data ..
          Committed revision 9769.

          A better use of my time is to try to implement the API that Blake mentioned from Trinidad ComponentContextManager.

          Ed

          Show
          Ed Burns added a comment - I tried implementing the testing logic, but it became too complex and I decided it's not worth the trouble. Sending jsf-api/src/main/java/javax/faces/component/UIComponent.java Sending nbproject/project.xml Transmitting file data .. Committed revision 9769. A better use of my time is to try to implement the API that Blake mentioned from Trinidad ComponentContextManager. Ed
          Ed Burns made changes -
          Remaining Estimate 6 days, 18 hours, 37 minutes [ 585420 ] 6 days, 17 hours, 47 minutes [ 582420 ]
          Time Spent 5 hours, 23 minutes [ 19380 ] 6 hours, 13 minutes [ 22380 ]
          Hide
          Manfred Riem added a comment -

          Ed,

          The latest commit for this issue broke the trunk build. When can we expect a resolution on this?

          Manfred

          Show
          Manfred Riem added a comment - Ed, The latest commit for this issue broke the trunk build. When can we expect a resolution on this? Manfred
          Hide
          Ed Burns added a comment -
          Show
          Ed Burns added a comment - http://adc2120535.us.oracle.com:7070/hudson/view/Jobs%20for%20Ed/job/mojarra-trunk-glassfish-3_1_2-no-cluster-systest/80/ Seems to be blue, and it's from r9772. http://adc2120535.us.oracle.com:7070/hudson/view/Jobs%20for%20Ed/job/mojarra-trunk-glassfish-3_1_2-no-cluster-systest/78/ Is also blue, and that's from r9769. Can you please point me to the failing job? I'll fix it right away, of course.
          Ed Burns made changes -
          Fix Version/s 2.2 [ 10403 ]
          Ed Burns made changes -
          Assignee Ed Burns [ edburns ]
          Hide
          Ed Burns added a comment -

          Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          Show
          Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
          Ed Burns made changes -
          Priority Minor [ 4 ] Trivial [ 5 ]
          Fix Version/s 2.3 [ 16372 ]
          Ed Burns made changes -
          Priority Trivial [ 5 ] Critical [ 2 ]
          Manfred Riem made changes -
          Assignee Manfred Riem [ mriem ]
          Hide
          Manfred Riem added a comment -

          Too large of a scope.

          Show
          Manfred Riem added a comment - Too large of a scope.
          Manfred Riem made changes -
          Status In Progress [ 3 ] Closed [ 6 ]
          Resolution Incomplete [ 4 ]

            People

            • Assignee:
              Manfred Riem
              Reporter:
              Ed Burns
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 week
                1w
                Remaining:
                Time Spent - 6 hours, 13 minutes Remaining Estimate - 6 days, 17 hours, 47 minutes
                6d 17h 47m
                Logged:
                Time Spent - 6 hours, 13 minutes Remaining Estimate - 6 days, 17 hours, 47 minutes
                6h 13m