Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3757

Implement passthrough attributes using p:<attributeName>

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0-beta
    • JSR-344
    • None

    Description

      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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: