[
https://issues.apache.org/jira/browse/WICKET-6935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447868#comment-17447868
]
Martin Tzvetanov Grigorov commented on WICKET-6935:
---------------------------------------------------
Here is an alternative solution for 9.x :
[https://www.morling.dev/blog/refining-return-type-java-methods-without-breaking-backwards-compatibility/]
I am not saying that we should re-work it though! But if you like it better
than the current solution (getComplexLabel) then feel free to redo it!
> make some datatable related components more reusable
> ----------------------------------------------------
>
> Key: WICKET-6935
> URL: https://issues.apache.org/jira/browse/WICKET-6935
> Project: Wicket
> Issue Type: Improvement
> Reporter: Ernesto Reinaldo Barreiro
> Assignee: Ernesto Reinaldo Barreiro
> Priority: Minor
> Fix For: 9.7.0
>
>
> Some datatable related components are very restrictive in factory methods
> return types as well as some helper classes are private. This makes reusing
> them difficult in some situations. For instance, if in navigation toolbar
> instead a simple label you want to place a more complex component, e.g. the
> same navigation label + a text filter (a Panel and not a Label).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)