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

Unknown tag name with Wicket namespace: 'panel'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.8.0, 7.0.0-M1
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: