KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > strutsel > taglib > html > ELTextareaTag


1 /*
2  * $Id: ELTextareaTag.java 123585 2004-12-29 00:43:33Z martinc $
3  *
4  * Copyright 1999-2004 The Apache Software Foundation.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */

18
19 package org.apache.strutsel.taglib.html;
20
21 import org.apache.struts.taglib.html.TextareaTag;
22 import javax.servlet.jsp.JspException JavaDoc;
23 import org.apache.strutsel.taglib.utils.EvalHelper;
24
25 /**
26  * Custom tag for input fields of type "textarea".
27  *
28  *<p>
29  * This class is a subclass of the class
30  * <code>org.apache.struts.taglib.html.TextareaTag</code> which provides most of
31  * the described functionality. This subclass allows all attribute values to
32  * be specified as expressions utilizing the JavaServer Pages Standard Library
33  * expression language.
34  *
35  * @version $Rev: 123585 $
36  */

37 public class ELTextareaTag extends TextareaTag {
38
39     /**
40      * Instance variable mapped to "accessKey" tag attribute.
41      * (Mapping set in associated BeanInfo class.)
42      */

43     private String JavaDoc accessKeyExpr;
44     /**
45      * Instance variable mapped to "alt" tag attribute.
46      * (Mapping set in associated BeanInfo class.)
47      */

48     private String JavaDoc altExpr;
49     /**
50      * Instance variable mapped to "altKey" tag attribute.
51      * (Mapping set in associated BeanInfo class.)
52      */

53     private String JavaDoc altKeyExpr;
54     /**
55      * Instance variable mapped to "bundle" tag attribute.
56      * (Mapping set in associated BeanInfo class.)
57      */

58     private String JavaDoc bundleExpr;
59     /**
60      * Instance variable mapped to "cols" tag attribute.
61      * (Mapping set in associated BeanInfo class.)
62      */

63     private String JavaDoc colsExpr;
64     /**
65      * Instance variable mapped to "disabled" tag attribute.
66      * (Mapping set in associated BeanInfo class.)
67      */

68     private String JavaDoc disabledExpr;
69     /**
70      * Instance variable mapped to "errorKey" tag attribute.
71      * (Mapping set in associated BeanInfo class.)
72      */

73     private String JavaDoc errorKeyExpr;
74     /**
75      * Instance variable mapped to "errorStyle" tag attribute.
76      * (Mapping set in associated BeanInfo class.)
77      */

78     private String JavaDoc errorStyleExpr;
79     /**
80      * Instance variable mapped to "errorStyleClass" tag attribute.
81      * (Mapping set in associated BeanInfo class.)
82      */

83     private String JavaDoc errorStyleClassExpr;
84     /**
85      * Instance variable mapped to "errorStyleId" tag attribute.
86      * (Mapping set in associated BeanInfo class.)
87      */

88     private String JavaDoc errorStyleIdExpr;
89     /**
90      * Instance variable mapped to "indexed" tag attribute.
91      * (Mapping set in associated BeanInfo class.)
92      */

93     private String JavaDoc indexedExpr;
94     /**
95      * Instance variable mapped to "name" tag attribute.
96      * (Mapping set in associated BeanInfo class.)
97      */

98     private String JavaDoc nameExpr;
99     /**
100      * Instance variable mapped to "onblur" tag attribute.
101      * (Mapping set in associated BeanInfo class.)
102      */

103     private String JavaDoc onblurExpr;
104     /**
105      * Instance variable mapped to "onchange" tag attribute.
106      * (Mapping set in associated BeanInfo class.)
107      */

108     private String JavaDoc onchangeExpr;
109     /**
110      * Instance variable mapped to "onclick" tag attribute.
111      * (Mapping set in associated BeanInfo class.)
112      */

113     private String JavaDoc onclickExpr;
114     /**
115      * Instance variable mapped to "ondblclick" tag attribute.
116      * (Mapping set in associated BeanInfo class.)
117      */

118     private String JavaDoc ondblclickExpr;
119     /**
120      * Instance variable mapped to "onfocus" tag attribute.
121      * (Mapping set in associated BeanInfo class.)
122      */

123     private String JavaDoc onfocusExpr;
124     /**
125      * Instance variable mapped to "onkeydown" tag attribute.
126      * (Mapping set in associated BeanInfo class.)
127      */

128     private String JavaDoc onkeydownExpr;
129     /**
130      * Instance variable mapped to "onkeypress" tag attribute.
131      * (Mapping set in associated BeanInfo class.)
132      */

133     private String JavaDoc onkeypressExpr;
134     /**
135      * Instance variable mapped to "onkeyup" tag attribute.
136      * (Mapping set in associated BeanInfo class.)
137      */

138     private String JavaDoc onkeyupExpr;
139     /**
140      * Instance variable mapped to "onmousedown" tag attribute.
141      * (Mapping set in associated BeanInfo class.)
142      */

143     private String JavaDoc onmousedownExpr;
144     /**
145      * Instance variable mapped to "onmousemove" tag attribute.
146      * (Mapping set in associated BeanInfo class.)
147      */

148     private String JavaDoc onmousemoveExpr;
149     /**
150      * Instance variable mapped to "onmouseout" tag attribute.
151      * (Mapping set in associated BeanInfo class.)
152      */

153     private String JavaDoc onmouseoutExpr;
154     /**
155      * Instance variable mapped to "onmouseover" tag attribute.
156      * (Mapping set in associated BeanInfo class.)
157      */

158     private String JavaDoc onmouseoverExpr;
159     /**
160      * Instance variable mapped to "onmouseup" tag attribute.
161      * (Mapping set in associated BeanInfo class.)
162      */

163     private String JavaDoc onmouseupExpr;
164     /**
165      * Instance variable mapped to "property" tag attribute.
166      * (Mapping set in associated BeanInfo class.)
167      */

168     private String JavaDoc propertyExpr;
169     /**
170      * Instance variable mapped to "readonly" tag attribute.
171      * (Mapping set in associated BeanInfo class.)
172      */

173     private String JavaDoc readonlyExpr;
174     /**
175      * Instance variable mapped to "rows" tag attribute.
176      * (Mapping set in associated BeanInfo class.)
177      */

178     private String JavaDoc rowsExpr;
179     /**
180      * Instance variable mapped to "style" tag attribute.
181      * (Mapping set in associated BeanInfo class.)
182      */

183     private String JavaDoc styleExpr;
184     /**
185      * Instance variable mapped to "size" tag attribute.
186      * (Mapping set in associated BeanInfo class.)
187      */

188     private String JavaDoc sizeExpr;
189     /**
190      * Instance variable mapped to "styleClass" tag attribute.
191      * (Mapping set in associated BeanInfo class.)
192      */

193     private String JavaDoc styleClassExpr;
194     /**
195      * Instance variable mapped to "styleId" tag attribute.
196      * (Mapping set in associated BeanInfo class.)
197      */

198     private String JavaDoc styleIdExpr;
199     /**
200      * Instance variable mapped to "tabindex" tag attribute.
201      * (Mapping set in associated BeanInfo class.)
202      */

203     private String JavaDoc tabindexExpr;
204     /**
205      * Instance variable mapped to "title" tag attribute.
206      * (Mapping set in associated BeanInfo class.)
207      */

208     private String JavaDoc titleExpr;
209     /**
210      * Instance variable mapped to "titleKey" tag attribute.
211      * (Mapping set in associated BeanInfo class.)
212      */

213     private String JavaDoc titleKeyExpr;
214     /**
215      * Instance variable mapped to "value" tag attribute.
216      * (Mapping set in associated BeanInfo class.)
217      */

218     private String JavaDoc valueExpr;
219
220     /**
221      * Getter method for "accessKey" tag attribute.
222      * (Mapping set in associated BeanInfo class.)
223      */

224     public String JavaDoc getAccesskeyExpr() { return (accessKeyExpr); }
225     /**
226      * Getter method for "alt" tag attribute.
227      * (Mapping set in associated BeanInfo class.)
228      */

229     public String JavaDoc getAltExpr() { return (altExpr); }
230     /**
231      * Getter method for "altKey" tag attribute.
232      * (Mapping set in associated BeanInfo class.)
233      */

234     public String JavaDoc getAltKeyExpr() { return (altKeyExpr); }
235     /**
236      * Getter method for "bundle" tag attribute.
237      * (Mapping set in associated BeanInfo class.)
238      */

239     public String JavaDoc getBundleExpr() { return (bundleExpr); }
240     /**
241      * Getter method for "cols" tag attribute.
242      * (Mapping set in associated BeanInfo class.)
243      */

244     public String JavaDoc getColsExpr() { return (colsExpr); }
245     /**
246      * Getter method for "disabled" tag attribute.
247      * (Mapping set in associated BeanInfo class.)
248      */

249     public String JavaDoc getDisabledExpr() { return (disabledExpr); }
250     /**
251      * Getter method for "errorKey" tag attribute.
252      * (Mapping set in associated BeanInfo class.)
253      */

254     public String JavaDoc getErrorKeyExpr() { return (errorKeyExpr); }
255     /**
256      * Getter method for "errorStyle" tag attribute.
257      * (Mapping set in associated BeanInfo class.)
258      */

259     public String JavaDoc getErrorStyleExpr() { return (errorStyleExpr); }
260     /**
261      * Getter method for "errorStyleClass" tag attribute.
262      * (Mapping set in associated BeanInfo class.)
263      */

264     public String JavaDoc getErrorStyleClassExpr() { return (errorStyleClassExpr); }
265     /**
266      * Getter method for "errorStyleId" tag attribute.
267      * (Mapping set in associated BeanInfo class.)
268      */

269     public String JavaDoc getErrorStyleIdExpr() { return (errorStyleIdExpr); }
270     /**
271      * Getter method for "indexed" tag attribute.
272      * (Mapping set in associated BeanInfo class.)
273      */

274     public String JavaDoc getIndexedExpr() { return (indexedExpr); }
275     /**
276      * Getter method for "name" tag attribute.
277      * (Mapping set in associated BeanInfo class.)
278      */

279     public String JavaDoc getNameExpr() { return (nameExpr); }
280     /**
281      * Getter method for "onblur" tag attribute.
282      * (Mapping set in associated BeanInfo class.)
283      */

284     public String JavaDoc getOnblurExpr() { return (onblurExpr); }
285     /**
286      * Getter method for "onchange" tag attribute.
287      * (Mapping set in associated BeanInfo class.)
288      */

289     public String JavaDoc getOnchangeExpr() { return (onchangeExpr); }
290     /**
291      * Getter method for "onclick" tag attribute.
292      * (Mapping set in associated BeanInfo class.)
293      */

294     public String JavaDoc getOnclickExpr() { return (onclickExpr); }
295     /**
296      * Getter method for "ondblclick" tag attribute.
297      * (Mapping set in associated BeanInfo class.)
298      */

299     public String JavaDoc getOndblclickExpr() { return (ondblclickExpr); }
300     /**
301      * Getter method for "onfocus" tag attribute.
302      * (Mapping set in associated BeanInfo class.)
303      */

304     public String JavaDoc getOnfocusExpr() { return (onfocusExpr); }
305     /**
306      * Getter method for "onkeydown" tag attribute.
307      * (Mapping set in associated BeanInfo class.)
308      */

309     public String JavaDoc getOnkeydownExpr() { return (onkeydownExpr); }
310     /**
311      * Getter method for "onkeypress" tag attribute.
312      * (Mapping set in associated BeanInfo class.)
313      */

314     public String JavaDoc getOnkeypressExpr() { return (onkeypressExpr); }
315     /**
316      * Getter method for "onkeyup" tag attribute.
317      * (Mapping set in associated BeanInfo class.)
318      */

319     public String JavaDoc getOnkeyupExpr() { return (onkeyupExpr); }
320     /**
321      * Getter method for "onmousedown" tag attribute.
322      * (Mapping set in associated BeanInfo class.)
323      */

324     public String JavaDoc getOnmousedownExpr() { return (onmousedownExpr); }
325     /**
326      * Getter method for "onmousemove" tag attribute.
327      * (Mapping set in associated BeanInfo class.)
328      */

329     public String JavaDoc getOnmousemoveExpr() { return (onmousemoveExpr); }
330     /**
331      * Getter method for "onmouseout" tag attribute.
332      * (Mapping set in associated BeanInfo class.)
333      */

334     public String JavaDoc getOnmouseoutExpr() { return (onmouseoutExpr); }
335     /**
336      * Getter method for "onmouseover" tag attribute.
337      * (Mapping set in associated BeanInfo class.)
338      */

339     public String JavaDoc getOnmouseoverExpr() { return (onmouseoverExpr); }
340     /**
341      * Getter method for "onmouseup" tag attribute.
342      * (Mapping set in associated BeanInfo class.)
343      */

344     public String JavaDoc getOnmouseupExpr() { return (onmouseupExpr); }
345     /**
346      * Getter method for "property" tag attribute.
347      * (Mapping set in associated BeanInfo class.)
348      */

349     public String JavaDoc getPropertyExpr() { return (propertyExpr); }
350     /**
351      * Getter method for "readonly" tag attribute.
352      * (Mapping set in associated BeanInfo class.)
353      */

354     public String JavaDoc getReadonlyExpr() { return (readonlyExpr); }
355     /**
356      * Getter method for "rows" tag attribute.
357      * (Mapping set in associated BeanInfo class.)
358      */

359     public String JavaDoc getRowsExpr() { return (rowsExpr); }
360     /**
361      * Getter method for "style" tag attribute.
362      * (Mapping set in associated BeanInfo class.)
363      */

364     public String JavaDoc getStyleExpr() { return (styleExpr); }
365     /**
366      * Getter method for "size" tag attribute.
367      * (Mapping set in associated BeanInfo class.)
368      */

369     public String JavaDoc getSizeExpr() { return (sizeExpr); }
370     /**
371      * Getter method for "styleClass" tag attribute.
372      * (Mapping set in associated BeanInfo class.)
373      */

374     public String JavaDoc getStyleClassExpr() { return (styleClassExpr); }
375     /**
376      * Getter method for "styleId" tag attribute.
377      * (Mapping set in associated BeanInfo class.)
378      */

379     public String JavaDoc getStyleIdExpr() { return (styleIdExpr); }
380     /**
381      * Getter method for "tabindex" tag attribute.
382      * (Mapping set in associated BeanInfo class.)
383      */

384     public String JavaDoc getTabindexExpr() { return (tabindexExpr); }
385     /**
386      * Getter method for "title" tag attribute.
387      * (Mapping set in associated BeanInfo class.)
388      */

389     public String JavaDoc getTitleExpr() { return (titleExpr); }
390     /**
391      * Getter method for "titleKey" tag attribute.
392      * (Mapping set in associated BeanInfo class.)
393      */

394     public String JavaDoc getTitleKeyExpr() { return (titleKeyExpr); }
395     /**
396      * Getter method for "value" tag attribute.
397      * (Mapping set in associated BeanInfo class.)
398      */

399     public String JavaDoc getValueExpr() { return (valueExpr); }
400
401     /**
402      * Setter method for "accessKey" tag attribute.
403      * (Mapping set in associated BeanInfo class.)
404      */

405     public void setAccesskeyExpr(String JavaDoc accessKeyExpr) { this.accessKeyExpr = accessKeyExpr; }
406     /**
407      * Setter method for "alt" tag attribute.
408      * (Mapping set in associated BeanInfo class.)
409      */

410     public void setAltExpr(String JavaDoc altExpr) { this.altExpr = altExpr; }
411     /**
412      * Setter method for "altKey" tag attribute.
413      * (Mapping set in associated BeanInfo class.)
414      */

415     public void setAltKeyExpr(String JavaDoc altKeyExpr) { this.altKeyExpr = altKeyExpr; }
416     /**
417      * Setter method for "bundle" tag attribute.
418      * (Mapping set in associated BeanInfo class.)
419      */

420     public void setBundleExpr(String JavaDoc bundleExpr) { this.bundleExpr = bundleExpr; }
421     /**
422      * Setter method for "cols" tag attribute.
423      * (Mapping set in associated BeanInfo class.)
424      */

425     public void setColsExpr(String JavaDoc colsExpr) { this.colsExpr = colsExpr; }
426     /**
427      * Setter method for "disabled" tag attribute.
428      * (Mapping set in associated BeanInfo class.)
429      */

430     public void setDisabledExpr(String JavaDoc disabledExpr) { this.disabledExpr = disabledExpr; }
431     /**
432      * Setter method for "errorKey" tag attribute.
433      * (Mapping set in associated BeanInfo class.)
434      */

435     public void setErrorKeyExpr(String JavaDoc errorKeyExpr) { this.errorKeyExpr = errorKeyExpr; }
436     /**
437      * Setter method for "errorStyle" tag attribute.
438      * (Mapping set in associated BeanInfo class.)
439      */

440     public void setErrorStyleExpr(String JavaDoc errorStyleExpr) { this.errorStyleExpr = errorStyleExpr; }
441     /**
442      * Setter method for "errorStyleClass" tag attribute.
443      * (Mapping set in associated BeanInfo class.)
444      */

445     public void setErrorStyleClassExpr(String JavaDoc errorStyleClassExpr) { this.errorStyleClassExpr = errorStyleClassExpr; }
446     /**
447      * Setter method for "errorStyleId" tag attribute.
448      * (Mapping set in associated BeanInfo class.)
449      */

450     public void setErrorStyleIdExpr(String JavaDoc errorStyleIdExpr) { this.errorStyleIdExpr = errorStyleIdExpr; }
451     /**
452      * Setter method for "indexed" tag attribute.
453      * (Mapping set in associated BeanInfo class.)
454      */

455     public void setIndexedExpr(String JavaDoc indexedExpr) { this.indexedExpr = indexedExpr; }
456     /**
457      * Setter method for "name" tag attribute.
458      * (Mapping set in associated BeanInfo class.)
459      */

460     public void setNameExpr(String JavaDoc nameExpr) { this.nameExpr = nameExpr; }
461     /**
462      * Setter method for "onblur" tag attribute.
463      * (Mapping set in associated BeanInfo class.)
464      */

465     public void setOnblurExpr(String JavaDoc onblurExpr) { this.onblurExpr = onblurExpr; }
466     /**
467      * Setter method for "onchange" tag attribute.
468      * (Mapping set in associated BeanInfo class.)
469      */

470     public void setOnchangeExpr(String JavaDoc onchangeExpr) { this.onchangeExpr = onchangeExpr; }
471     /**
472      * Setter method for "onclick" tag attribute.
473      * (Mapping set in associated BeanInfo class.)
474      */

475     public void setOnclickExpr(String JavaDoc onclickExpr) { this.onclickExpr = onclickExpr; }
476     /**
477      * Setter method for "ondblclick" tag attribute.
478      * (Mapping set in associated BeanInfo class.)
479      */

480     public void setOndblclickExpr(String JavaDoc ondblclickExpr) { this.ondblclickExpr = ondblclickExpr; }
481     /**
482      * Setter method for "onfocus" tag attribute.
483      * (Mapping set in associated BeanInfo class.)
484      */

485     public void setOnfocusExpr(String JavaDoc onfocusExpr) { this.onfocusExpr = onfocusExpr; }
486     /**
487      * Setter method for "onkeydown" tag attribute.
488      * (Mapping set in associated BeanInfo class.)
489      */

490     public void setOnkeydownExpr(String JavaDoc onkeydownExpr) { this.onkeydownExpr = onkeydownExpr; }
491     /**
492      * Setter method for "onkeypress" tag attribute.
493      * (Mapping set in associated BeanInfo class.)
494      */

495     public void setOnkeypressExpr(String JavaDoc onkeypressExpr) { this.onkeypressExpr = onkeypressExpr; }
496     /**
497      * Setter method for "onkeyup" tag attribute.
498      * (Mapping set in associated BeanInfo class.)
499      */

500     public void setOnkeyupExpr(String JavaDoc onkeyupExpr) { this.onkeyupExpr = onkeyupExpr; }
501     /**
502      * Setter method for "onmousedown" tag attribute.
503      * (Mapping set in associated BeanInfo class.)
504      */

505     public void setOnmousedownExpr(String JavaDoc onmousedownExpr) { this.onmousedownExpr = onmousedownExpr; }
506     /**
507      * Setter method for "onmousemove" tag attribute.
508      * (Mapping set in associated BeanInfo class.)
509      */

510     public void setOnmousemoveExpr(String JavaDoc onmousemoveExpr) { this.onmousemoveExpr = onmousemoveExpr; }
511     /**
512      * Setter method for "onmouseout" tag attribute.
513      * (Mapping set in associated BeanInfo class.)
514      */

515     public void setOnmouseoutExpr(String JavaDoc onmouseoutExpr) { this.onmouseoutExpr = onmouseoutExpr; }
516     /**
517      * Setter method for "onmouseover" tag attribute.
518      * (Mapping set in associated BeanInfo class.)
519      */

520     public void setOnmouseoverExpr(String JavaDoc onmouseoverExpr) { this.onmouseoverExpr = onmouseoverExpr; }
521     /**
522      * Setter method for "onmouseup" tag attribute.
523      * (Mapping set in associated BeanInfo class.)
524      */

525     public void setOnmouseupExpr(String JavaDoc onmouseupExpr) { this.onmouseupExpr = onmouseupExpr; }
526     /**
527      * Setter method for "property" tag attribute.
528      * (Mapping set in associated BeanInfo class.)
529      */

530     public void setPropertyExpr(String JavaDoc propertyExpr) { this.propertyExpr = propertyExpr; }
531     /**
532      * Setter method for "readonly" tag attribute.
533      * (Mapping set in associated BeanInfo class.)
534      */

535     public void setReadonlyExpr(String JavaDoc readonlyExpr) { this.readonlyExpr = readonlyExpr; }
536     /**
537      * Setter method for "rows" tag attribute.
538      * (Mapping set in associated BeanInfo class.)
539      */

540     public void setRowsExpr(String JavaDoc rowsExpr) { this.rowsExpr = rowsExpr; }
541     /**
542      * Setter method for "style" tag attribute.
543      * (Mapping set in associated BeanInfo class.)
544      */

545     public void setStyleExpr(String JavaDoc styleExpr) { this.styleExpr = styleExpr; }
546     /**
547      * Setter method for "size" tag attribute.
548      * (Mapping set in associated BeanInfo class.)
549      */

550     public void setSizeExpr(String JavaDoc sizeExpr) { this.sizeExpr = sizeExpr; }
551     /**
552      * Setter method for "styleClass" tag attribute.
553      * (Mapping set in associated BeanInfo class.)
554      */

555     public void setStyleClassExpr(String JavaDoc styleClassExpr) { this.styleClassExpr = styleClassExpr; }
556     /**
557      * Setter method for "styleId" tag attribute.
558      * (Mapping set in associated BeanInfo class.)
559      */

560     public void setStyleIdExpr(String JavaDoc styleIdExpr) { this.styleIdExpr = styleIdExpr; }
561     /**
562      * Setter method for "tabindex" tag attribute.
563      * (Mapping set in associated BeanInfo class.)
564      */

565     public void setTabindexExpr(String JavaDoc tabindexExpr) { this.tabindexExpr = tabindexExpr; }
566     /**
567      * Setter method for "title" tag attribute.
568      * (Mapping set in associated BeanInfo class.)
569      */

570     public void setTitleExpr(String JavaDoc titleExpr) { this.titleExpr = titleExpr; }
571     /**
572      * Setter method for "titleKey" tag attribute.
573      * (Mapping set in associated BeanInfo class.)
574      */

575     public void setTitleKeyExpr(String JavaDoc titleKeyExpr) { this.titleKeyExpr = titleKeyExpr; }
576     /**
577      * Setter method for "value" tag attribute.
578      * (Mapping set in associated BeanInfo class.)
579      */

580     public void setValueExpr(String JavaDoc valueExpr) { this.valueExpr = valueExpr; }
581
582     /**
583      * Resets attribute values for tag reuse.
584      */

585     public void release()
586     {
587         super.release();
588         setAccesskeyExpr(null);
589         setAltExpr(null);
590         setAltKeyExpr(null);
591         setBundleExpr(null);
592         setColsExpr(null);
593         setDisabledExpr(null);
594         setErrorKey(null);
595         setErrorStyleExpr(null);
596         setErrorStyleClassExpr(null);
597         setErrorStyleIdExpr(null);
598         setIndexedExpr(null);
599         setNameExpr(null);
600         setOnblurExpr(null);
601         setOnchangeExpr(null);
602         setOnclickExpr(null);
603         setOndblclickExpr(null);
604         setOnfocusExpr(null);
605         setOnkeydownExpr(null);
606         setOnkeypressExpr(null);
607         setOnkeyupExpr(null);
608         setOnmousedownExpr(null);
609         setOnmousemoveExpr(null);
610         setOnmouseoutExpr(null);
611         setOnmouseoverExpr(null);
612         setOnmouseupExpr(null);
613         setPropertyExpr(null);
614         setReadonlyExpr(null);
615         setRowsExpr(null);
616         setStyleExpr(null);
617         setSizeExpr(null);
618         setStyleClassExpr(null);
619         setStyleIdExpr(null);
620         setTabindexExpr(null);
621         setTitleExpr(null);
622         setTitleKeyExpr(null);
623         setValueExpr(null);
624     }
625
626     /**
627      * Process the start tag.
628      *
629      * @exception JspException if a JSP exception has occurred
630      */

631     public int doStartTag() throws JspException JavaDoc {
632         evaluateExpressions();
633         return(super.doStartTag());
634     }
635     
636     /**
637      * Processes all attribute values which use the JSTL expression evaluation
638      * engine to determine their values.
639      *
640      * @exception JspException if a JSP exception has occurred
641      */

642     private void evaluateExpressions() throws JspException JavaDoc {
643         String JavaDoc string = null;
644         Boolean JavaDoc bool = null;
645
646         if ((string = EvalHelper.evalString("accessKey", getAccesskeyExpr(),
647                                             this, pageContext)) != null)
648             setAccesskey(string);
649
650         if ((string = EvalHelper.evalString("alt", getAltExpr(),
651                                             this, pageContext)) != null)
652             setAlt(string);
653
654         if ((string = EvalHelper.evalString("altKey", getAltKeyExpr(),
655                                             this, pageContext)) != null)
656             setAltKey(string);
657
658         if ((string = EvalHelper.evalString("bundle", getBundleExpr(),
659                                             this, pageContext)) != null)
660             setBundle(string);
661
662         if ((string = EvalHelper.evalString("cols", getColsExpr(),
663                                             this, pageContext)) != null)
664             setCols(string);
665
666         if ((bool = EvalHelper.evalBoolean("disabled", getDisabledExpr(),
667                                            this, pageContext)) != null)
668             setDisabled(bool.booleanValue());
669
670         if ((string = EvalHelper.evalString("errorKey", getErrorKeyExpr(),
671                                             this, pageContext)) != null)
672             setErrorKey(string);
673
674         if ((string = EvalHelper.evalString("errorStyle", getErrorStyleExpr(),
675                                             this, pageContext)) != null)
676             setErrorStyle(string);
677
678         if ((string = EvalHelper.evalString("errorStyleClass", getErrorStyleClassExpr(),
679                                             this, pageContext)) != null)
680             setErrorStyleClass(string);
681
682         if ((string = EvalHelper.evalString("errorStyleId", getErrorStyleIdExpr(),
683                                             this, pageContext)) != null)
684             setErrorStyleId(string);
685
686         if ((bool = EvalHelper.evalBoolean("indexed", getIndexedExpr(),
687                                            this, pageContext)) != null)
688             setIndexed(bool.booleanValue());
689
690         if ((string = EvalHelper.evalString("name", getNameExpr(),
691                                             this, pageContext)) != null)
692             setName(string);
693
694         if ((string = EvalHelper.evalString("onblur", getOnblurExpr(),
695                                             this, pageContext)) != null)
696             setOnblur(string);
697
698         if ((string = EvalHelper.evalString("onchange", getOnchangeExpr(),
699                                             this, pageContext)) != null)
700             setOnchange(string);
701
702         if ((string = EvalHelper.evalString("onclick", getOnclickExpr(),
703                                             this, pageContext)) != null)
704             setOnclick(string);
705
706         if ((string = EvalHelper.evalString("ondblclick", getOndblclickExpr(),
707                                             this, pageContext)) != null)
708             setOndblclick(string);
709
710         if ((string = EvalHelper.evalString("onfocus", getOnfocusExpr(),
711                                             this, pageContext)) != null)
712             setOnfocus(string);
713
714         if ((string = EvalHelper.evalString("onkeydown", getOnkeydownExpr(),
715                                             this, pageContext)) != null)
716             setOnkeydown(string);
717
718         if ((string = EvalHelper.evalString("onkeypress", getOnkeypressExpr(),
719                                             this, pageContext)) != null)
720             setOnkeypress(string);
721
722         if ((string = EvalHelper.evalString("onkeyup", getOnkeyupExpr(),
723                                             this, pageContext)) != null)
724             setOnkeyup(string);
725
726         if ((string = EvalHelper.evalString("onmousedown", getOnmousedownExpr(),
727                                             this, pageContext)) != null)
728             setOnmousedown(string);
729
730         if ((string = EvalHelper.evalString("onmousemove", getOnmousemoveExpr(),
731                                             this, pageContext)) != null)
732             setOnmousemove(string);
733
734         if ((string = EvalHelper.evalString("onmouseout", getOnmouseoutExpr(),
735                                             this, pageContext)) != null)
736             setOnmouseout(string);
737
738         if ((string = EvalHelper.evalString("onmouseover", getOnmouseoverExpr(),
739                                             this, pageContext)) != null)
740             setOnmouseover(string);
741
742         if ((string = EvalHelper.evalString("onmouseup", getOnmouseupExpr(),
743                                             this, pageContext)) != null)
744             setOnmouseup(string);
745
746         if ((string = EvalHelper.evalString("property", getPropertyExpr(),
747                                             this, pageContext)) != null)
748             setProperty(string);
749
750         if ((bool = EvalHelper.evalBoolean("readonly", getReadonlyExpr(),
751                                            this, pageContext)) != null)
752             setReadonly(bool.booleanValue());
753
754         if ((string = EvalHelper.evalString("rows", getRowsExpr(),
755                                             this, pageContext)) != null)
756             setRows(string);
757
758         if ((string = EvalHelper.evalString("style", getStyleExpr(),
759                                             this, pageContext)) != null)
760             setStyle(string);
761
762         if ((string = EvalHelper.evalString("size", getSizeExpr(),
763                                             this, pageContext)) != null)
764             setSize(string);
765
766         if ((string = EvalHelper.evalString("styleClass", getStyleClassExpr(),
767                                             this, pageContext)) != null)
768             setStyleClass(string);
769
770         if ((string = EvalHelper.evalString("styleId", getStyleIdExpr(),
771                                             this, pageContext)) != null)
772             setStyleId(string);
773
774         if ((string = EvalHelper.evalString("tabindex", getTabindexExpr(),
775                                             this, pageContext)) != null)
776             setTabindex(string);
777
778         if ((string = EvalHelper.evalString("title", getTitleExpr(),
779                                             this, pageContext)) != null)
780             setTitle(string);
781
782         if ((string = EvalHelper.evalString("titleKey", getTitleKeyExpr(),
783                                             this, pageContext)) != null)
784             setTitleKey(string);
785
786         if ((string = EvalHelper.evalString("value", getValueExpr(),
787                                             this, pageContext)) != null)
788             setValue(string);
789     }
790 }
791
Popular Tags