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

Ensure top level ul does not have border attribute for layout=list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.0.0-RC2
    • 4.0.0-RC3
    • General
    • None
    • All OSs

    Description

      When layout="list" the border attribute should be ignored for selectManyCheckbox and selectOneRadio elements.

      When a form like this:

      <h:form id="form">
        <h:selectManyCheckbox id="input" layout="list" border="5">
        ...
        </h:selectManyCheckbox>
      </h:form>

       

      Is rendered the current output is:

      <html>
        <head/>
        <body>
          <form id="form" name="form" method="post" action="/LayoutAttribute/selectManyCheckBox.xhtml" enctype="application/x-www-form-urlencoded">
            <ul id="form:input" border="5">
              ...
            </ul>
        </body>
      </html>

      Based on the spec we should be rendered:

      <html>
        <head/>
        <body>
          <form id="form" name="form" method="post" action="/LayoutAttribute/selectManyCheckBox.xhtml" enctype="application/x-www-form-urlencoded">
            <ul id="form:input">
              ...
            </ul>
        </body>
      </html>

      This is because we are incorrectly starting this element with table passthrough properties, instead of ul passthrough properties.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kyleaure Kyle Aure
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: