Wicket
  1. Wicket
  2. WICKET-5187

Unknown tag name with Wicket namespace: 'panel'

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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.

      1. myproject.zip
        46 kB
        Andy Van Den Heuvel

        Activity

        Andy Van Den Heuvel created issue -
        Andy Van Den Heuvel made changes -
        Field Original Value New Value
        Attachment myproject.zip [ 12583108 ]
        Martin Grigorov made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Martin Grigorov [ mgrigorov ]
        Fix Version/s 6.8.0 [ 12324068 ]
        Fix Version/s 7.0.0 [ 12322958 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development