MyFaces Core
  1. MyFaces Core
  2. MYFACES-3182

Composite component default value are not resolved when access without use EL expression


    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.7, 2.1.1
    • Fix Version/s: 2.0.8, 2.1.2
    • Component/s: JSR-314
    • Labels:


      In version 2.0 composite components does not resolve default values correctly when a direct call to cc.getAttributes().get(key) is done. Only EL expressions are resolved correctly, because by the spec an EL resolver is added to deal with this.

      Testing some stuff on MYFACES-3168, I notice Mojarra 2.0.6 and 2.1.2 resolves it, so we need something there too. I knew about that problem long time ago, but since the spec mention the EL resolver way to do it, I preferred do not do any changes until 2.1.

      In my opinion the best way to solve it is do the same thing the EL resolver does, but on the component attribute map. It is important to take care about performance in that part, because that part is very critical.

      The only reference I found about it is:


        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Leonardo Uribe made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.8 [ 12316514 ]
        Fix Version/s 2.1.2 [ 12316512 ]
        Resolution Fixed [ 1 ]
        Leonardo Uribe created issue -


          • Assignee:
            Leonardo Uribe
            Leonardo Uribe
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: