Original issue MVC_SPEC-55 created by stefantilkov:
In templates, links (most importantly a elements) and form actions require a URI. If this URI is provided as a string, even if prefixed by a getBaseUri() (or similar) call, this will be redundant to the declarative mapping to URIs on controller methods. JAX-RS provides the UrIBuilder API to address this from within resources, but there should at least be a convenient way to access this from templates, possibly from the MvcContext object.
Original issue MVC_SPEC-55 created by stefantilkov:
In templates, links (most importantly a elements) and form actions require a URI. If this URI is provided as a string, even if prefixed by a getBaseUri() (or similar) call, this will be redundant to the declarative mapping to URIs on controller methods. JAX-RS provides the UrIBuilder API to address this from within resources, but there should at least be a convenient way to access this from templates, possibly from the MvcContext object.