Airsonic tag library
Airsonic tag library
1.1
sub
http://airsonic.org/taglib/sub
Creates a URL with optional query parameters. Similar to 'c:url', but
you may specify which character encoding to use for the URL query
parameters. If no encoding is specified, the following steps are performed:
a) Parameter values are encoded as the hexadecimal representation of the UTF-8 bytes of the original string.
b) Parameter names are prepended with the suffix "Utf8Hex"
url
org.airsonic.player.taglib.UrlTag
JSP
Name of the exported scoped variable for the
processed url. The type of the scoped variable is
String.
var
false
false
URL to be processed.
value
false
true
The encoding to use. Default is ISO-8859-1.
encoding
false
true
Adds a parameter to a containing 'url' tag.
param
org.airsonic.player.taglib.ParamTag
empty
Name of the query string parameter.
name
true
true
Value of the parameter.
value
false
true
Converts a byte-count to a formatted string suitable for display to the user, with respect
to the current locale.
formatBytes
org.airsonic.player.taglib.FormatBytesTag
JSP
The byte count.
bytes
true
true
Escapes the characters in a string using JavaScript rules.
escapeJavaScript
org.airsonic.player.taglib.EscapeJavaScriptTag
JSP
The string to escape.
string
true
true