Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Scripting Core 2.4.0, Servlets Resolver 2.9.0, Scripting Bundle Maven Plugin 0.5.0
-
None
Description
Currently, it is not really possible using bundled scripts to provide a script for a resource label with an HTTP method and at the same time a script for only the HTTP method. Furthermore, when providing the former, there is a small difference in precedence compared to scripts provided via the resource tree.
In other words, it should be possible to have (for a given resource type, e.g. foo) a foo/POST.jsp and as well as a foo/foo.POST.jsp and they should have the same matching and priority like scripts provided via the resource tree.
On the metadata level, this can be achieved by just adding the resource label as a selector to the resulting capability but to make it work at runtime, we need to add a match to the bundle render unit lookup.