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

Passthrough element ignores passthrough attributes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: JSR-344
    • Labels:
      None

      Description

      In the following example, the passthrough element input has an attribute placeholder, that should be added to the corresponding JSF component as a passthrough attribute:

      <input type="text" jsf:id="name" jsf:value="#

      {bean.name}

      "
      placeholder="Enter name"/>

      With MyFaces 2.2.1 however, the placeholder attribute is not rendered.

      On further inspecting the component, I saw that placeholder is put in the attributes map and not in the passthrough attributes map of the component. That is probably the reason why it is not rendered.

        Attachments

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              dr.gonzo Michael Kurz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: