You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org> on 2007/04/26 01:10:16 UTC

[jira] Updated: (WICKET-409) Page constructed twice when a BookmarkableLink has PopupSettings

     [ https://issues.apache.org/jira/browse/WICKET-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Quenot updated WICKET-409:
----------------------------------------

    Component/s: wicket

> 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
>          Components: wicket
>    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.