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

Duplicated id generation for jsf_tree, jsf_state and jsf_viewid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.1.2-SNAPSHOT
    • None
    • General
    • None
    • JDK5, Tomcat-5.5 and MyFaces SVN

    Description

      The forms included in the resulting HTML page contains the same value for the id attributes.

      F.ex:

      <input type="hidden" name="jsf_tree_64" id="jsf_tree_64" value="H4...."/>
      <input type="hidden" name="jsf_state_64" id="jsf_state_64" value="H4...."/>
      <input type="hidden" name="jsf_viewid" id="jsf_viewid" value="..."/>

      are used for all forms on the page.

      This make the page fail W3C/HTMLvalidation.

      Line 239 column 2703: ID "jsf_state_64" already defined.
      Line 165 column 2703: ID "jsf_state_64" first defined here.

      Attachments

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              jesper.pedersen Jesper Pedersen
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: