Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3182

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.7, 2.1.1
    • 2.0.8, 2.1.2
    • JSR-314
    • None

    Description

      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:

      http://java.net/jira/browse/JAVASERVERFACES-1966

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: