java.lang.IllegalArgumentException: A child with id 'openEditItem' already exists: [MarkupContainer [Component id = items, page = com.vegas.pos.PosPage, path = 0:navTabs:panel:productTabs:panel: items.ProductPanel$1, isVisible = true, isVersioned = false]]

mail-archive.com | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [Wicket-user] Fwd: modal window link from inside a repeater (ListView)

    mail-archive.com | 10 months ago
    java.lang.IllegalArgumentException: A child with id 'openEditItem' already exists: [MarkupContainer [Component id = items, page = com.vegas.pos.PosPage, path = 0:navTabs:panel:productTabs:panel: items.ProductPanel$1, isVisible = true, isVersioned = false]]

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      A child with id 'openEditItem' already exists: [MarkupContainer [Component id = items, page = com.vegas.pos.PosPage, path = 0:navTabs:panel:productTabs:panel: items.ProductPanel$1, isVisible = true, isVersioned = false]]

      at wicket.MarkupContainer.add()
    2. wicket
      MarkupContainer.add
      1. wicket.MarkupContainer.add(MarkupContainer.java:156)
      1 frame
    3. com.vegas.pos
      ProductPanel$1.populateItem
      1. com.vegas.pos.browse.ProductPanel$1.populateItem(ProductPanel.java:58)
      1 frame