Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.5
-
None
Description
If PopupSettings are set on a BookmarkableLink the target Class of the BookmarkableLink is constructed twice if the Link is from a super class. Here is an example of how to reproduce with the examples.
wicket.examples.WicketExamplePage add after line 53...
BookmarkablePageLink link = new BookmarkablePageLink("link", HelloWorld.class);
link.setPopupSettings(new PopupSettings());
add(link);
wicket.examples.helloworld.HelloWorld.html add...
<a wicket:id="link">popup link</a>
Then in HelloWorld's constructor set a breakpoint and you will see it being called twice.