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

Queueing in merged markup with transparent resolver in the base class

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.0-M3
    • Fix Version/s: 7.0.0-M4
    • Component/s: wicket
    • Labels:
      None

      Description

      When a simple component is queued in a page class that extend a web page, an exception is raised : Detach called on component with id '0' while it had a non-empty queue: ComponentQueue

      {queueSize=1, queue=[[Component id = version], null, null, null, null, null, null, null]}

      Example :
      public class HomePage extends BasePage {
      public HomePage(final PageParameters parameters)

      { super(parameters); //add(new Label("version", getApplication().getFrameworkSettings().getVersion())); queue(new Label("version", getApplication().getFrameworkSettings().getVersion())); }

      }

      "add" -> ok
      "queue" -> not ok

        Attachments

        1. queueing-problem.zip
          93 kB
          Palancher aurélien
        2. HelloWorldQS.zip
          36 kB
          Palancher aurélien

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              darkvadaure Palancher aurélien
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: