[
https://issues.apache.org/jira/browse/WICKET-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17943846#comment-17943846
]
ASF GitHub Bot commented on WICKET-7153:
----------------------------------------
reiern70 opened a new pull request, #1146:
URL: https://github.com/apache/wicket/pull/1146
1) make system mapper more reusable by making newResourceReferenceMapper
protected and
2) roll a hash code version of ResourceReferenceMapper that encodes class
names by using their hash code.
> [Resources] modify RootMapper in order to allow to define a refferent
> ResourceReferenceMapper
> ---------------------------------------------------------------------------------------------
>
> Key: WICKET-7153
> URL: https://issues.apache.org/jira/browse/WICKET-7153
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 10.4.0, 9.20.0
> Reporter: Ernesto Reinaldo Barreiro
> Priority: Major
>
> In our application we would like to hide as much as possible the fact that we
> are using wicket. We are using a lot of third party libraries and if you
> inspect headers headers you will see things like, e.g.:
> "./wicket/resource/org.xxx.yyy.APanel/a.js"
>
> we want to replace this with
>
> "appres/resource/\{some_stable_number_depending_on_package_class}/a.js"
>
> The way I found to solve this requires copy/pasting/modifying SystemMapper.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)