You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "James G (JIRA)" <de...@myfaces.apache.org> on 2013/08/30 23:00:51 UTC
[jira] [Created] (MYFACES-3769) Support method invoking on parent
composite components
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