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 2013/08/23 06:46:51 UTC

[jira] [Resolved] (MYFACES-3757) Implement passthrough attributes using p:

     [ https://issues.apache.org/jira/browse/MYFACES-3757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3757.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0
    
> Implement passthrough attributes using p:<attributeName> 
> ---------------------------------------------------------
>
>                 Key: MYFACES-3757
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3757
>             Project: MyFaces Core
>          Issue Type: Task
>          Components: JSR-344
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.2.0
>
>
> Implement passing of passthrough attribute with this notation for facelets:
> <h:panelGrid p:attr1="value1"/>
> This part is tricky, because passthrough attributes are different from normal attributes. The trick is make the diference in MetaRuleset implementation. In this way passthrough attributes are not handled as normal attributes. The idea is use the same api as for normal attributes but mark the rules that deals with passthrough attributes with an interface called PassthroughRule. Then we add the special rule in ComponentTagHandlerDelegate and that's it.

--
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