myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James G (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3769) Support method invoking on parent composite components
Date Fri, 30 Aug 2013 21:00:51 GMT
James G created MYFACES-3769:
--------------------------------

             Summary: Support method invoking on parent composite components
                 Key: MYFACES-3769
                 URL: https://issues.apache.org/jira/browse/MYFACES-3769
             Project: MyFaces Core
          Issue Type: Improvement
    Affects Versions: 2.1.12
         Environment: tomcat 7.0.41, jboss el 2.2, linux
            Reporter: James G


You are able to access properties of a parent composite component while in a child composite
component using the el syntax #{cc.parent.attrs.propName} but method invoking does not work.
 e.g. action="#{cc.parent.attrs.saveAction}".  It can make sense to specify a method in the
parent cc that child cc's would like to invoke.  I think this is a relatively easy change
to the regular expressions in the CompositeComponentELUtils class to support one or more ".parent"
within method expressions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message