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

each <h:form> generated an <input> with same id="javax.faces.ViewState"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.5
    • 1.1.6, 1.2.2
    • None
    • None
    • I am using Tomcat 5.5. inside of JBoss 4.0.2.

    Description

      On pages with more than one <h:form>, each one generates an element which has always the same id, which is invalid HTML.

      Looks like this:

      ...</script><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="..." /></form>

      I tried to put it inside <f:subview> as a workaround, but that did not work either (the ids did not change).

      Attachments

        Activity

          People

            manolito Manfred Geiler
            mb Marcus Beyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: