META-INF.webjars.tld Maven / Gradle / Ivy
Webjars JSP Tag Library
1.0
webjars
http://www.webjars.org/tags
locate
org.webjars.taglib.LocateTag
JSP
The path we're looking for, e.g. 'bootstrap.css'. Exclusive with 'prefix'.
path
false
true
When looking for several matches, the prefix they should all share,
excluding the '/META-INF/resources/webjars' part. Exclusive with
'path'.
prefix
false
true
If set, instead of outputting the value, will assign the result to an
attribute with that name. Mandatory when using the 'prefix'
approach.
var
false
true
When setting an attribute instead of emitting the result, the scope in
which the var is set. Defaults to page scope.
scope
false
true
The in-jar path prefix to chop off before advertising the result.
Defaults to META-INF/resources/webjars.
relativeTo
false
true
The id of the WebJar to search. If specified the path must be the exact
path of the file within the WebJar.
webjar
false
true
Whether to remove the resource extension before returning the result.
Useful e.g. for require.js. Default is false.
omitExtension
false
true