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 (JIRA)" <ji...@apache.org> on 2017/06/07 18:00:21 UTC

[jira] [Resolved] (WICKET-6394) IColumn should provide getDisplayModel method

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

Sven Meier resolved WICKET-6394.
--------------------------------
    Resolution: Won't Fix
      Assignee: Sven Meier

Not every IColumn has a display value, so we can't add a corresponding getter to the interface.

You'll have to do an instanceof check in your tests.

> IColumn should provide getDisplayModel method
> ---------------------------------------------
>
>                 Key: WICKET-6394
>                 URL: https://issues.apache.org/jira/browse/WICKET-6394
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 8.0.0-M6
>            Reporter: Master2000
>            Assignee: Sven Meier
>
> You have getHeader() method in IColumn interface, that operates on DisplayModel (in AbstractColumn). 
> Could you also provide getDisplayModel method? 
> This is neccessary in tests in order to check if the given table has correct headers.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)