Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3812

xmlns:wicket="http://wicket.apache.org" rendered for each panel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-RC5
    • 1.5-RC5.1
    • wicket
    • None

    Description

      The markup for rendered pages including a Panel now suddenly renders xmlns:wicket="http://wicket.apache.org", making the markup invalid. See below for a piece of our markup, and further below for a test that exhibits this behavior.

      <div id="modalWindowContainer40"><!-- MARKUP FOR nl.topicus.cobra.web.components.modal.ModalWindowContainer BEGIN -->
      <div id="id141" xmlns:wicket="http://wicket.apache.org" style="display:none"><!-- MARKUP FOR nl.topicus.cobra.web.components.modal.CobraModalWindow$InternalModalWindow BEGIN -->

      <!-- MARKUP FOR nl.topicus.cobra.web.components.modal.CobraModalWindow$InternalModalWindow END -></div><div id="id242" xmlns:wicket="http://wicket.apache.org" style="display:none"><!- MARKUP FOR nl.topicus.cobra.web.components.modal.CobraModalWindow$InternalModalWindow BEGIN -->

      <!-- MARKUP FOR nl.topicus.cobra.web.components.modal.CobraModalWindow$InternalModalWindow END --></div>
      <!-- MARKUP FOR nl.topicus.cobra.web.components.modal.ModalWindowContainer END --></div>
      </div>

      /**

      • Tests whether rendering a component, it doesn't show the xmlns:wicket namespace.
        */
        @Test
        public void renderingEmptyPanelDoesntShowWicketXmlns() { WicketTester tester = new WicketTester(); tester.startPanel(EmptyPanel.class); assertFalse("Should not contain xmlns:wicket", tester.getLastResponseAsString().contains("xmlns:wicket")); }

      Attachments

        Issue Links

          Activity

            People

              jdonnerstag Juegen Donnerstag
              dashorst Martijn Dashorst
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: