myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3182) Composite component default value are not resolved when access without use EL expression
Date Tue, 21 Jun 2011 02:22:47 GMT
Composite component default value are not resolved when access without use EL expression
----------------------------------------------------------------------------------------

                 Key: MYFACES-3182
                 URL: https://issues.apache.org/jira/browse/MYFACES-3182
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
    Affects Versions: 2.1.1, 2.0.7
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message