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

        Sander Plas created issue -
        Hide
        Sander Plas added a comment -

        suggested fix

        Show
        Sander Plas added a comment - suggested fix
        Sander Plas made changes -
        Field Original Value New Value
        Attachment filterform-input-patch.txt [ 12499683 ]
        Igor Vaynberg made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Igor Vaynberg [ ivaynberg ]
        Fix Version/s 1.5.3 [ 12318550 ]
        Resolution Fixed [ 1 ]
        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.
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 16h 25m 1 Igor Vaynberg 21/Oct/11 07:06

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development