Lazy registration in SharedResourceRequestTarget: check if locale/style works
and better api: SharedResources.get() ->
SharedResource.getByResourceKey()/putByResourceKey?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: WICKET-1447
URL: https://issues.apache.org/jira/browse/WICKET-1447
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.3.2
Reporter: Johan Compagner
Assignee: Johan Compagner
Fix For: 1.4-M1
see also WICKET-1446
Lazy registration can still be wrong for the wrong resources if the path
contains style and locale information..
Also the API of SharedREsources is a bit confusing, you have add(name,Resource)
and get(key) where name and key are really different things
i think we should look if we rename get(key) to getByResourceKey and then also
add a putByResourceKey
that can then be used if needed by SharedResourceRequestTarget.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.