You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Emond Papegaaij (Jira)" <ji...@apache.org> on 2020/01/15 20:27:00 UTC

[jira] [Created] (WICKET-6729) allow adding IHeaderResponseDecorator without replacing all others

Emond Papegaaij created WICKET-6729:
---------------------------------------

             Summary: allow adding IHeaderResponseDecorator without replacing all others
                 Key: WICKET-6729
                 URL: https://issues.apache.org/jira/browse/WICKET-6729
             Project: Wicket
          Issue Type: New Feature
          Components: wicket-core
    Affects Versions: 9.0.0-M4
            Reporter: Emond Papegaaij


It is only possible to set a {{IHeaderResponseDecorator}}, but this replaces the current decorator. The default decorator is {{ResourceAggregator}}, which is vital to resource rendering. Also, other framework features might require other decorators. At the moment it is up to the user to set all decorators required. This is error prone, but also makes it difficult to use these decorators in framework features.

A new API is needed to add decorators without replacing them.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)