You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (Closed) (JIRA)" <ji...@apache.org> on 2012/01/24 08:17:40 UTC

[jira] [Closed] (WICKET-4351) In wicket 1.5 in ListView bookmarkable links with labels behave differently than in 1.4

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

Sven Meier closed WICKET-4351.
------------------------------

    Resolution: Invalid
    
> In wicket 1.5 in ListView bookmarkable links with labels behave differently than in 1.4
> ---------------------------------------------------------------------------------------
>
>                 Key: WICKET-4351
>                 URL: https://issues.apache.org/jira/browse/WICKET-4351
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.4
>         Environment: Windows XP
>            Reporter: Chris Colman
>              Labels: wicket
>         Attachments: LinkMarkupError.zip
>
>
> We have a two link components that both point to the same page. We want the title to be a link plus at the end we want a 'read more' link to point to the exact same URL.
> // Link with Title as text:
> BookmarkablePageLink link = new BookmarkablePageLink("newsLink", OtherPage.class);
> listItem.add(link);
> link.add(new Label("newsTitle", news.getTitle()));
> // Link with 'Read more' as text
> listItem.add(new Label("newsTitle", news.getTitle()));
> This works fine outside of a list view as the quickstart shows.
> This worked find for in and out of a ListView in wicket 1.4.
> In wicket 1.5 the second link is a duplicate of the first, ignoring the markup's 'read me' link.
> I have attached a quickstart that demonstrates this.
> Note: we use:
> 		getDebugSettings().setComponentUseCheck(false);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira