aboutsummaryrefslogtreecommitdiff
path: root/subsonic-main/src/main/webapp/WEB-INF/sub.tld
blob: ef712968b1cdcbc99d0fcd3c615c34480eca4511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?xml version="1.0" encoding="ISO-8859-1" ?>

<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
        version="2.0">

    <description>Subsonic tag library</description>
    <display-name>Subsonic tag library</display-name>
    <tlib-version>1.1</tlib-version>
    <short-name>sub</short-name>
    <uri>http://subsonic.org/taglib/sub</uri>

    <tag>
        <description>
            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"
        </description>
        <name>url</name>
        <tag-class>net.sourceforge.subsonic.taglib.UrlTag</tag-class>
        <body-content>JSP</body-content>
        <attribute>
            <description>
                Name of the exported scoped variable for the
                processed url. The type of the scoped variable is
                String.
            </description>
            <name>var</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
        </attribute>
        <attribute>
            <description>URL to be processed.</description>
            <name>value</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <description>The encoding to use. Default is ISO-8859-1.</description>
            <name>encoding</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
    </tag>

    <tag>
        <description>Adds a parameter to a containing 'url' tag.</description>
        <name>param</name>
        <tag-class>net.sourceforge.subsonic.taglib.ParamTag</tag-class>
        <body-content>empty</body-content>
        <attribute>
            <description>Name of the query string parameter.</description>
            <name>name</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <description>Value of the parameter.</description>
            <name>value</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
    </tag>

    <tag>
        <description>
            Converts a byte-count to a formatted string suitable for display to the user, with respect
            to the current locale.
        </description>
        <name>formatBytes</name>
        <tag-class>net.sourceforge.subsonic.taglib.FormatBytesTag</tag-class>
        <body-content>JSP</body-content>
        <attribute>
            <description>The byte count.</description>
            <name>bytes</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
    </tag>

    <tag>
        <description>
            Renders a Wiki text with markup to HTML, using the Radeox render engine.
        </description>
        <name>wiki</name>
        <tag-class>net.sourceforge.subsonic.taglib.WikiTag</tag-class>
        <body-content>JSP</body-content>
        <attribute>
            <description>The Wiki markup text.</description>
            <name>text</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
    </tag>

    <tag>
        <description>
            Escapes the characters in a string using JavaScript rules.
        </description>
        <name>escapeJavaScript</name>
        <tag-class>net.sourceforge.subsonic.taglib.EscapeJavaScriptTag</tag-class>
        <body-content>JSP</body-content>
        <attribute>
            <description>The string to escape.</description>
            <name>string</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
    </tag>

</taglib>