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 2018/09/26 08:44:00 UTC
[jira] [Resolved] (WICKET-6550) Unify all metadata capable objects.
[ https://issues.apache.org/jira/browse/WICKET-6550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-6550.
--------------------------------
Resolution: Fixed
Assignee: Sven Meier
Fix Version/s: 9.0.0
Applied with minor changes. Thanks!
> Unify all metadata capable objects.
> -----------------------------------
>
> Key: WICKET-6550
> URL: https://issues.apache.org/jira/browse/WICKET-6550
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Reporter: Jezza
> Assignee: Sven Meier
> Priority: Minor
> Fix For: 9.0.0
>
> Attachments: Test.java, mock.txt
>
>
> Application, Session, RequestCycle, and Component all have #setMetadata and #getMetadata methods, but lack some super object to unify them all.
> These leads to annoying complex code if you wish to implement some extra functionality.
> I propose that we unify them all with one interface.
> I'veĀ attached a mock idea that would solve it, and I'll work on a prototype and submit a PR so anyone can take a look.
> I'll add a comment here with the PR number.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)