Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4-RC4
-
None
-
None
Description
Go to org.apache.wicket.devutils.inspector.LiveSessionsPage. Click "Enable Request Recording". Exception is shown.
The problem is that DevUtilsPage attempts to do the simple building of the component hierarchy in onBeforeRender, not in the constructor, so on the second render it tries to add new copies of components with clashing ids.
The fix is just to move the component hierarchy creation to page construction time.