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

Implement passthrough attributes using p:<attributeName>

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-beta
    • Component/s: JSR-344
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: