Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13181

Autocomplete: suggestion list is not valid HTML code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 5.0.0.Alpha2
    • Fix Version/s: 5.0.0.Alpha2
    • Component/s: component-input
    • Labels:
      None
    • Environment:

      RichFaces 5.0.0-SNAPSHOT
      Metamer 5.0.0-SNAPSHOT
      Mojarra 2.1.19
      JBoss AS 7.2.0.Final-redhat-8
      Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
      Chrome 29.0.1547.65 @ Linux x86_64

    • Sprint:
      5.0.0.Alpha2 - Sprint 2

      Description

      1. deploy Metamer and open http://localhost:8080/metamer/faces/components/richAutocomplete/autocomplete.xhtml
      2. type "a" into input
      3. check suggestion list's markup

      result:

      • Autocomplete generates an unsorted list (ul) with several list items (li), one for each suggestion. However, inside each li, there is yet another li which is not allowed by HTML.

      <ul class="ui-autocomplete ui-menu ui-widget ui-widget-content ui-corner-all" id="ui-id-1" tabindex="0" style="z-index: 1; display: block; top: 237.0142364501953px; left: 10px; width: 161px;">
        <li class="ui-menu-item" role="presentation">
          <a id="ui-id-7" class="ui-corner-all" tabindex="-1">
            <li>Alabama</li>
          </a>
        </li>
        ...
      </ul>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lfryc Lukáš Fryč
                  Reporter:
                  ppitonak Pavol Pitonak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 15 minutes
                    15m
                    Remaining:
                    Remaining Estimate - 15 minutes
                    15m
                    Logged:
                    Time Spent - Not Specified
                    Not Specified