~ubuntu-branches/ubuntu/trusty/libstruts1.2-java/trusty-proposed

« back to all changes in this revision

Viewing changes to contrib/struts-el/target/library/sql.tld

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2004-11-19 15:35:25 UTC
  • Revision ID: james.westby@ubuntu.com-20041119153525-mdu08a76z4zo67xt
Tags: upstream-1.2.4
ImportĀ upstreamĀ versionĀ 1.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1" ?>
 
2
<!DOCTYPE taglib
 
3
  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
 
4
  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
 
5
<taglib>
 
6
  <tlib-version>1.0</tlib-version>
 
7
  <jsp-version>1.2</jsp-version>
 
8
  <short-name>sql</short-name>
 
9
  <uri>http://java.sun.com/jstl/sql</uri>
 
10
  <display-name>JSTL sql</display-name>
 
11
  <description>JSTL 1.0 sql library</description>
 
12
 
 
13
  <validator>
 
14
    <validator-class>
 
15
        org.apache.taglibs.standard.tlv.JstlSqlTLV
 
16
    </validator-class>
 
17
    <init-param>
 
18
        <param-name>expressionAttributes</param-name>
 
19
        <param-value>
 
20
        transaction:dataSource
 
21
        transaction:isolation
 
22
        query:sql
 
23
        query:dataSource
 
24
        query:startRow
 
25
        query:maxRows
 
26
        update:sql
 
27
        update:dataSource
 
28
        param:value
 
29
        dateParam:value
 
30
        dateParam:type
 
31
        setDataSource:dataSource
 
32
        setDataSource:driver
 
33
        setDataSource:url
 
34
        setDataSource:user
 
35
        setDataSource:password
 
36
        </param-value>
 
37
        <description>
 
38
            Whitespace-separated list of colon-separated token pairs
 
39
            describing tag:attribute combinations that accept expressions.
 
40
            The validator uses this information to determine which
 
41
            attributes need their syntax validated.
 
42
        </description>
 
43
     </init-param>
 
44
  </validator>
 
45
 
 
46
  <tag>
 
47
    <name>transaction</name>
 
48
    <tag-class>org.apache.taglibs.standard.tag.el.sql.TransactionTag</tag-class>
 
49
    <body-content>JSP</body-content>
 
50
    <description>
 
51
        Provides nested database action elements with a shared Connection,
 
52
        set up to execute all statements as one transaction.
 
53
    </description>
 
54
    <attribute>
 
55
        <name>dataSource</name>
 
56
        <required>false</required>
 
57
        <rtexprvalue>false</rtexprvalue>
 
58
    </attribute>
 
59
    <attribute>
 
60
        <name>isolation</name>
 
61
        <required>false</required>
 
62
        <rtexprvalue>false</rtexprvalue>
 
63
    </attribute>
 
64
  </tag>
 
65
 
 
66
  <tag>
 
67
    <name>query</name>
 
68
    <tag-class>org.apache.taglibs.standard.tag.el.sql.QueryTag</tag-class>
 
69
    <body-content>JSP</body-content>
 
70
    <description>
 
71
        Executes the SQL query defined in its body or through the
 
72
        sql attribute.
 
73
    </description>
 
74
    <attribute>
 
75
        <name>var</name>
 
76
        <required>true</required>
 
77
        <rtexprvalue>false</rtexprvalue>
 
78
    </attribute>
 
79
    <attribute>
 
80
        <name>scope</name>
 
81
        <required>false</required>
 
82
        <rtexprvalue>false</rtexprvalue>
 
83
    </attribute>
 
84
    <attribute>
 
85
        <name>sql</name>
 
86
        <required>false</required>
 
87
        <rtexprvalue>false</rtexprvalue>
 
88
    </attribute>
 
89
    <attribute>
 
90
        <name>dataSource</name>
 
91
        <required>false</required>
 
92
        <rtexprvalue>false</rtexprvalue>
 
93
    </attribute>
 
94
    <attribute>
 
95
        <name>startRow</name>
 
96
        <required>false</required>
 
97
        <rtexprvalue>false</rtexprvalue>
 
98
    </attribute>
 
99
    <attribute>
 
100
        <name>maxRows</name>
 
101
        <required>false</required>
 
102
        <rtexprvalue>false</rtexprvalue>
 
103
    </attribute>
 
104
  </tag>
 
105
 
 
106
  <tag>
 
107
    <name>update</name>
 
108
    <tag-class>org.apache.taglibs.standard.tag.el.sql.UpdateTag</tag-class>
 
109
    <body-content>JSP</body-content>
 
110
    <description>
 
111
        Executes the SQL update defined in its body or through the
 
112
        sql attribute.
 
113
    </description>
 
114
    <attribute>
 
115
        <name>var</name>
 
116
        <required>false</required>
 
117
        <rtexprvalue>false</rtexprvalue>
 
118
    </attribute>
 
119
    <attribute>
 
120
        <name>scope</name>
 
121
        <required>false</required>
 
122
        <rtexprvalue>false</rtexprvalue>
 
123
    </attribute>
 
124
    <attribute>
 
125
        <name>sql</name>
 
126
        <required>false</required>
 
127
        <rtexprvalue>false</rtexprvalue>
 
128
    </attribute>
 
129
    <attribute>
 
130
        <name>dataSource</name>
 
131
        <required>false</required>
 
132
        <rtexprvalue>false</rtexprvalue>
 
133
    </attribute>
 
134
  </tag>
 
135
 
 
136
  <tag>
 
137
    <name>param</name>
 
138
    <tag-class>org.apache.taglibs.standard.tag.el.sql.ParamTag</tag-class>
 
139
    <body-content>JSP</body-content>
 
140
    <description>
 
141
        Sets a parameter in an SQL statement to the specified value.
 
142
    </description>
 
143
    <attribute>
 
144
        <name>value</name>
 
145
        <required>false</required>
 
146
        <rtexprvalue>false</rtexprvalue>
 
147
    </attribute>
 
148
  </tag>
 
149
 
 
150
  <tag>
 
151
    <name>dateParam</name>
 
152
    <tag-class>org.apache.taglibs.standard.tag.el.sql.DateParamTag</tag-class>
 
153
    <body-content>empty</body-content>
 
154
    <description>
 
155
        Sets a parameter in an SQL statement to the specified java.util.Date val
 
156
ue.
 
157
    </description>
 
158
    <attribute>
 
159
        <name>value</name>
 
160
        <required>true</required>
 
161
        <rtexprvalue>true</rtexprvalue>
 
162
    </attribute>
 
163
    <attribute>
 
164
        <name>type</name>
 
165
        <required>false</required>
 
166
        <rtexprvalue>true</rtexprvalue>
 
167
    </attribute>
 
168
  </tag>
 
169
 
 
170
  <tag>
 
171
    <name>setDataSource</name>
 
172
    <tag-class>org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag</tag-class>
 
173
    <body-content>empty</body-content>
 
174
    <description>
 
175
        Creates a simple DataSource suitable only for prototyping.
 
176
    </description>
 
177
    <attribute>
 
178
        <name>var</name>
 
179
        <required>false</required>
 
180
        <rtexprvalue>false</rtexprvalue>
 
181
    </attribute>
 
182
    <attribute>
 
183
        <name>scope</name>
 
184
        <required>false</required>
 
185
        <rtexprvalue>false</rtexprvalue>
 
186
    </attribute>
 
187
    <attribute>
 
188
        <name>dataSource</name>
 
189
        <required>false</required>
 
190
        <rtexprvalue>false</rtexprvalue>
 
191
    </attribute>
 
192
    <attribute>
 
193
        <name>driver</name>
 
194
        <required>false</required>
 
195
        <rtexprvalue>false</rtexprvalue>
 
196
    </attribute>
 
197
    <attribute>
 
198
        <name>url</name>
 
199
        <required>false</required>
 
200
        <rtexprvalue>false</rtexprvalue>
 
201
    </attribute>
 
202
    <attribute>
 
203
        <name>user</name>
 
204
        <required>false</required>
 
205
        <rtexprvalue>false</rtexprvalue>
 
206
    </attribute>
 
207
    <attribute>
 
208
        <name>password</name>
 
209
        <required>false</required>
 
210
        <rtexprvalue>false</rtexprvalue>
 
211
    </attribute>
 
212
  </tag>
 
213
</taglib>