[richfaces-issues] [JBoss JIRA] (RF-13181) Autocomplete: suggestion list is not valid HTML code

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Tue Sep 10 08:50:03 EDT 2013


Pavol Pitonak created RF-13181:
----------------------------------

             Summary: Autocomplete: suggestion list is not valid HTML code
                 Key: RF-13181
                 URL: https://issues.jboss.org/browse/RF-13181
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-input
    Affects Versions: 5.0.0.Alpha2
         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
            Reporter: Pavol Pitonak


# deploy Metamer and open http://localhost:8080/metamer/faces/components/richAutocomplete/autocomplete.xhtml
# type "a" into input
# 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.

{code:xml}
<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>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list