[
https://issues.apache.org/jira/browse/WICKET-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joseph Toth updated WICKET-409:
-------------------------------
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.
was:If PopupSettings are set on a BookmarkableLink the target Class of the
BookmarkableLink is constructed twice.
> Page constructed twice when a BookmarkableLink has PopupSettings
> ----------------------------------------------------------------
>
> Key: WICKET-409
> URL: https://issues.apache.org/jira/browse/WICKET-409
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.2.5
> Reporter: Joseph Toth
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.