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

Unknown tag name with Wicket namespace: 'panel'

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              andyvdh Andy Van Den Heuvel

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment