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

Component loses state after replace another one

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-RC4
    • 1.5-RC6
    • wicket
    • None

    Description

      After WICKET-3197 we set the replacement component 'output markup id' flag to be the same as the replaced component [1]. IMO we can't change the component state set by users in benefit of the component being replaced as it can lead to unexpected behaviors like AJAX links or buttons not working. I'm sending a quickstart to exemplify.

      1- Component#setMarkupId(Component comp)

      Attachments

        1. WICKET-3827-markup-id.zip
          22 kB
          Pedro Santos

        Activity

          People

            ivaynberg Igor Vaynberg
            pedrosans Pedro Santos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: