Wicket
  1. Wicket
  2. WICKET-4144

FilterForm directly adds <input> to <form> --> invalid XHTML strict

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.3
    • Component/s: wicket-extensions
    • Labels:
      None

      Description

      According to XHTML 1.0 Strict, <form> may contain: ( p | h1 | h2 | h3 | h4 | h5 | h6 | div | ul | ol | dl | pre | hr | blockquote | address | fieldset | table | noscript | ins | del | script )*

      FilterForm directly adds an <input> tag to the <form> in onComponentTagBody. This results in invalid XHTML 1.0 Strict.

        Activity

        Hide
        Pierre Goiffon added a comment - - edited

        The input added are also closed in the xhtml way, witch is invalid in HTML.

        Show
        Pierre Goiffon added a comment - - edited The input added are also closed in the xhtml way, witch is invalid in HTML.
        Igor Vaynberg made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Igor Vaynberg [ ivaynberg ]
        Fix Version/s 1.5.3 [ 12318550 ]
        Resolution Fixed [ 1 ]
        Sander Plas made changes -
        Field Original Value New Value
        Attachment filterform-input-patch.txt [ 12499683 ]
        Hide
        Sander Plas added a comment -

        suggested fix

        Show
        Sander Plas added a comment - suggested fix
        Sander Plas created issue -

          People

          • Assignee:
            Igor Vaynberg
            Reporter:
            Sander Plas
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development