You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2008/10/31 01:22:44 UTC

[jira] Created: (MYFACES-2027) Implement EL Resolver for #{component}

Implement EL Resolver for #{component} 
---------------------------------------

                 Key: MYFACES-2027
                 URL: https://issues.apache.org/jira/browse/MYFACES-2027
             Project: MyFaces Core
          Issue Type: Task
          Components: JSR-314
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


Reading the documentation of UIComponent.pushComponentToEL it says:

"....This method and popComponentFromEL() form the basis for the contract that enables the EL Expression "#{component}" to resolve to the "current" component that is being processed in the lifecycle....."

This value is saved on the new FacesContext attributes map (call to getAttributes()) by the key UIComponent.CURRENT_COMPONENT. This value is set and get from pushComponentToEL and popComponentToEL and appears on section 5.6.2 of the spec.

I'll create a new class called org.apache.myfaces.el.unified.resolver.implicitobject.ComponentImplicitObject to do that.

It is strange that on UIComponent there exists a key to UIComponent.COMPOSITE_COMPONENT_TYPE_KEY, but there is no mention on spec and javadoc related. I suppose that it should exists something like #{compositeComponent}, but for now I just keep an eye if on the next early draft

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.