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

Unknown tag name with Wicket namespace: 'panel'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.8.0, 7.0.0-M1
    • None
    • None

    Description

      If you create a non-panel component with PanelMarkupSourcingStrategy(true), and provide the html:

      <!doctype html>
      <html xmlns:wicket="http://wicket.apache.org">
      <wicket:panel>
      // MY CODE
      </wicket:panel>
      </html>

      You get an error: "Unknown tag name with Wicket namespace: 'panel'"

      In org.apache.wicket.markup.html.panel.Panel the static code "WicketTagIdentifier.registerWellKnownTagName(PANEL);" will register wicket:panel,
      so you only get this if you add the non-panel component before your first panel.

      Attachments

        1. myproject.zip
          46 kB
          Andy Van Den Heuvel

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            andyvdh Andy Van Den Heuvel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: