View Javadoc

1   /*
2    * $Id: ELTextareaTag.java 377085 2006-02-11 23:25:01Z niallp $
3    *
4    * Copyright 1999-2006 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  package org.apache.strutsel.taglib.html;
19  
20  import org.apache.struts.taglib.html.TextareaTag;
21  import org.apache.strutsel.taglib.utils.EvalHelper;
22  
23  import javax.servlet.jsp.JspException;
24  
25  /***
26   * Custom tag for input fields of type "textarea".
27   *
28   * <p> This class is a subclass of the class <code>org.apache.struts.taglib.html.TextareaTag</code>
29   * which provides most of the described functionality.  This subclass allows
30   * all attribute values to be specified as expressions utilizing the
31   * JavaServer Pages Standard Library expression language.
32   *
33   * @version $Rev: 377085 $
34   */
35  public class ELTextareaTag extends TextareaTag {
36      /***
37       * Instance variable mapped to "accessKey" tag attribute. (Mapping set in
38       * associated BeanInfo class.)
39       */
40      private String accessKeyExpr;
41  
42      /***
43       * Instance variable mapped to "alt" tag attribute. (Mapping set in
44       * associated BeanInfo class.)
45       */
46      private String altExpr;
47  
48      /***
49       * Instance variable mapped to "altKey" tag attribute. (Mapping set in
50       * associated BeanInfo class.)
51       */
52      private String altKeyExpr;
53  
54      /***
55       * Instance variable mapped to "bundle" tag attribute. (Mapping set in
56       * associated BeanInfo class.)
57       */
58      private String bundleExpr;
59  
60      /***
61       * Instance variable mapped to "cols" tag attribute. (Mapping set in
62       * associated BeanInfo class.)
63       */
64      private String colsExpr;
65  
66      /***
67       * Instance variable mapped to "disabled" tag attribute. (Mapping set in
68       * associated BeanInfo class.)
69       */
70      private String disabledExpr;
71  
72      /***
73       * Instance variable mapped to "errorKey" tag attribute. (Mapping set in
74       * associated BeanInfo class.)
75       */
76      private String errorKeyExpr;
77  
78      /***
79       * Instance variable mapped to "errorStyle" tag attribute. (Mapping set in
80       * associated BeanInfo class.)
81       */
82      private String errorStyleExpr;
83  
84      /***
85       * Instance variable mapped to "errorStyleClass" tag attribute. (Mapping
86       * set in associated BeanInfo class.)
87       */
88      private String errorStyleClassExpr;
89  
90      /***
91       * Instance variable mapped to "errorStyleId" tag attribute. (Mapping set
92       * in associated BeanInfo class.)
93       */
94      private String errorStyleIdExpr;
95  
96      /***
97       * Instance variable mapped to "indexed" tag attribute. (Mapping set in
98       * associated BeanInfo class.)
99       */
100     private String indexedExpr;
101 
102     /***
103      * Instance variable mapped to "name" tag attribute. (Mapping set in
104      * associated BeanInfo class.)
105      */
106     private String nameExpr;
107 
108     /***
109      * Instance variable mapped to "onblur" tag attribute. (Mapping set in
110      * associated BeanInfo class.)
111      */
112     private String onblurExpr;
113 
114     /***
115      * Instance variable mapped to "onchange" tag attribute. (Mapping set in
116      * associated BeanInfo class.)
117      */
118     private String onchangeExpr;
119 
120     /***
121      * Instance variable mapped to "onclick" tag attribute. (Mapping set in
122      * associated BeanInfo class.)
123      */
124     private String onclickExpr;
125 
126     /***
127      * Instance variable mapped to "ondblclick" tag attribute. (Mapping set in
128      * associated BeanInfo class.)
129      */
130     private String ondblclickExpr;
131 
132     /***
133      * Instance variable mapped to "onfocus" tag attribute. (Mapping set in
134      * associated BeanInfo class.)
135      */
136     private String onfocusExpr;
137 
138     /***
139      * Instance variable mapped to "onkeydown" tag attribute. (Mapping set in
140      * associated BeanInfo class.)
141      */
142     private String onkeydownExpr;
143 
144     /***
145      * Instance variable mapped to "onkeypress" tag attribute. (Mapping set in
146      * associated BeanInfo class.)
147      */
148     private String onkeypressExpr;
149 
150     /***
151      * Instance variable mapped to "onkeyup" tag attribute. (Mapping set in
152      * associated BeanInfo class.)
153      */
154     private String onkeyupExpr;
155 
156     /***
157      * Instance variable mapped to "onmousedown" tag attribute. (Mapping set
158      * in associated BeanInfo class.)
159      */
160     private String onmousedownExpr;
161 
162     /***
163      * Instance variable mapped to "onmousemove" tag attribute. (Mapping set
164      * in associated BeanInfo class.)
165      */
166     private String onmousemoveExpr;
167 
168     /***
169      * Instance variable mapped to "onmouseout" tag attribute. (Mapping set in
170      * associated BeanInfo class.)
171      */
172     private String onmouseoutExpr;
173 
174     /***
175      * Instance variable mapped to "onmouseover" tag attribute. (Mapping set
176      * in associated BeanInfo class.)
177      */
178     private String onmouseoverExpr;
179 
180     /***
181      * Instance variable mapped to "onmouseup" tag attribute. (Mapping set in
182      * associated BeanInfo class.)
183      */
184     private String onmouseupExpr;
185 
186     /***
187      * Instance variable mapped to "onselect" tag attribute. (Mapping set in
188      * associated BeanInfo class.)
189      */
190     private String onselectExpr;
191 
192     /***
193      * Instance variable mapped to "property" tag attribute. (Mapping set in
194      * associated BeanInfo class.)
195      */
196     private String propertyExpr;
197 
198     /***
199      * Instance variable mapped to "readonly" tag attribute. (Mapping set in
200      * associated BeanInfo class.)
201      */
202     private String readonlyExpr;
203 
204     /***
205      * Instance variable mapped to "rows" tag attribute. (Mapping set in
206      * associated BeanInfo class.)
207      */
208     private String rowsExpr;
209 
210     /***
211      * Instance variable mapped to "style" tag attribute. (Mapping set in
212      * associated BeanInfo class.)
213      */
214     private String styleExpr;
215 
216     /***
217      * Instance variable mapped to "size" tag attribute. (Mapping set in
218      * associated BeanInfo class.)
219      */
220     private String sizeExpr;
221 
222     /***
223      * Instance variable mapped to "styleClass" tag attribute. (Mapping set in
224      * associated BeanInfo class.)
225      */
226     private String styleClassExpr;
227 
228     /***
229      * Instance variable mapped to "styleId" tag attribute. (Mapping set in
230      * associated BeanInfo class.)
231      */
232     private String styleIdExpr;
233 
234     /***
235      * Instance variable mapped to "tabindex" tag attribute. (Mapping set in
236      * associated BeanInfo class.)
237      */
238     private String tabindexExpr;
239 
240     /***
241      * Instance variable mapped to "title" tag attribute. (Mapping set in
242      * associated BeanInfo class.)
243      */
244     private String titleExpr;
245 
246     /***
247      * Instance variable mapped to "titleKey" tag attribute. (Mapping set in
248      * associated BeanInfo class.)
249      */
250     private String titleKeyExpr;
251 
252     /***
253      * Instance variable mapped to "value" tag attribute. (Mapping set in
254      * associated BeanInfo class.)
255      */
256     private String valueExpr;
257 
258     /***
259      * Getter method for "accessKey" tag attribute. (Mapping set in associated
260      * BeanInfo class.)
261      */
262     public String getAccesskeyExpr() {
263         return (accessKeyExpr);
264     }
265 
266     /***
267      * Getter method for "alt" tag attribute. (Mapping set in associated
268      * BeanInfo class.)
269      */
270     public String getAltExpr() {
271         return (altExpr);
272     }
273 
274     /***
275      * Getter method for "altKey" tag attribute. (Mapping set in associated
276      * BeanInfo class.)
277      */
278     public String getAltKeyExpr() {
279         return (altKeyExpr);
280     }
281 
282     /***
283      * Getter method for "bundle" tag attribute. (Mapping set in associated
284      * BeanInfo class.)
285      */
286     public String getBundleExpr() {
287         return (bundleExpr);
288     }
289 
290     /***
291      * Getter method for "cols" tag attribute. (Mapping set in associated
292      * BeanInfo class.)
293      */
294     public String getColsExpr() {
295         return (colsExpr);
296     }
297 
298     /***
299      * Getter method for "disabled" tag attribute. (Mapping set in associated
300      * BeanInfo class.)
301      */
302     public String getDisabledExpr() {
303         return (disabledExpr);
304     }
305 
306     /***
307      * Getter method for "errorKey" tag attribute. (Mapping set in associated
308      * BeanInfo class.)
309      */
310     public String getErrorKeyExpr() {
311         return (errorKeyExpr);
312     }
313 
314     /***
315      * Getter method for "errorStyle" tag attribute. (Mapping set in
316      * associated BeanInfo class.)
317      */
318     public String getErrorStyleExpr() {
319         return (errorStyleExpr);
320     }
321 
322     /***
323      * Getter method for "errorStyleClass" tag attribute. (Mapping set in
324      * associated BeanInfo class.)
325      */
326     public String getErrorStyleClassExpr() {
327         return (errorStyleClassExpr);
328     }
329 
330     /***
331      * Getter method for "errorStyleId" tag attribute. (Mapping set in
332      * associated BeanInfo class.)
333      */
334     public String getErrorStyleIdExpr() {
335         return (errorStyleIdExpr);
336     }
337 
338     /***
339      * Getter method for "indexed" tag attribute. (Mapping set in associated
340      * BeanInfo class.)
341      */
342     public String getIndexedExpr() {
343         return (indexedExpr);
344     }
345 
346     /***
347      * Getter method for "name" tag attribute. (Mapping set in associated
348      * BeanInfo class.)
349      */
350     public String getNameExpr() {
351         return (nameExpr);
352     }
353 
354     /***
355      * Getter method for "onblur" tag attribute. (Mapping set in associated
356      * BeanInfo class.)
357      */
358     public String getOnblurExpr() {
359         return (onblurExpr);
360     }
361 
362     /***
363      * Getter method for "onchange" tag attribute. (Mapping set in associated
364      * BeanInfo class.)
365      */
366     public String getOnchangeExpr() {
367         return (onchangeExpr);
368     }
369 
370     /***
371      * Getter method for "onclick" tag attribute. (Mapping set in associated
372      * BeanInfo class.)
373      */
374     public String getOnclickExpr() {
375         return (onclickExpr);
376     }
377 
378     /***
379      * Getter method for "ondblclick" tag attribute. (Mapping set in
380      * associated BeanInfo class.)
381      */
382     public String getOndblclickExpr() {
383         return (ondblclickExpr);
384     }
385 
386     /***
387      * Getter method for "onfocus" tag attribute. (Mapping set in associated
388      * BeanInfo class.)
389      */
390     public String getOnfocusExpr() {
391         return (onfocusExpr);
392     }
393 
394     /***
395      * Getter method for "onkeydown" tag attribute. (Mapping set in associated
396      * BeanInfo class.)
397      */
398     public String getOnkeydownExpr() {
399         return (onkeydownExpr);
400     }
401 
402     /***
403      * Getter method for "onkeypress" tag attribute. (Mapping set in
404      * associated BeanInfo class.)
405      */
406     public String getOnkeypressExpr() {
407         return (onkeypressExpr);
408     }
409 
410     /***
411      * Getter method for "onkeyup" tag attribute. (Mapping set in associated
412      * BeanInfo class.)
413      */
414     public String getOnkeyupExpr() {
415         return (onkeyupExpr);
416     }
417 
418     /***
419      * Getter method for "onmousedown" tag attribute. (Mapping set in
420      * associated BeanInfo class.)
421      */
422     public String getOnmousedownExpr() {
423         return (onmousedownExpr);
424     }
425 
426     /***
427      * Getter method for "onmousemove" tag attribute. (Mapping set in
428      * associated BeanInfo class.)
429      */
430     public String getOnmousemoveExpr() {
431         return (onmousemoveExpr);
432     }
433 
434     /***
435      * Getter method for "onmouseout" tag attribute. (Mapping set in
436      * associated BeanInfo class.)
437      */
438     public String getOnmouseoutExpr() {
439         return (onmouseoutExpr);
440     }
441 
442     /***
443      * Getter method for "onmouseover" tag attribute. (Mapping set in
444      * associated BeanInfo class.)
445      */
446     public String getOnmouseoverExpr() {
447         return (onmouseoverExpr);
448     }
449 
450     /***
451      * Getter method for "onmouseup" tag attribute. (Mapping set in associated
452      * BeanInfo class.)
453      */
454     public String getOnmouseupExpr() {
455         return (onmouseupExpr);
456     }
457 
458     /***
459      * Getter method for "onselect" tag attribute. (Mapping set in associated
460      * BeanInfo class.)
461      */
462     public String getOnselectExpr() {
463         return (onselectExpr);
464     }
465 
466     /***
467      * Getter method for "property" tag attribute. (Mapping set in associated
468      * BeanInfo class.)
469      */
470     public String getPropertyExpr() {
471         return (propertyExpr);
472     }
473 
474     /***
475      * Getter method for "readonly" tag attribute. (Mapping set in associated
476      * BeanInfo class.)
477      */
478     public String getReadonlyExpr() {
479         return (readonlyExpr);
480     }
481 
482     /***
483      * Getter method for "rows" tag attribute. (Mapping set in associated
484      * BeanInfo class.)
485      */
486     public String getRowsExpr() {
487         return (rowsExpr);
488     }
489 
490     /***
491      * Getter method for "style" tag attribute. (Mapping set in associated
492      * BeanInfo class.)
493      */
494     public String getStyleExpr() {
495         return (styleExpr);
496     }
497 
498     /***
499      * Getter method for "size" tag attribute. (Mapping set in associated
500      * BeanInfo class.)
501      */
502     public String getSizeExpr() {
503         return (sizeExpr);
504     }
505 
506     /***
507      * Getter method for "styleClass" tag attribute. (Mapping set in
508      * associated BeanInfo class.)
509      */
510     public String getStyleClassExpr() {
511         return (styleClassExpr);
512     }
513 
514     /***
515      * Getter method for "styleId" tag attribute. (Mapping set in associated
516      * BeanInfo class.)
517      */
518     public String getStyleIdExpr() {
519         return (styleIdExpr);
520     }
521 
522     /***
523      * Getter method for "tabindex" tag attribute. (Mapping set in associated
524      * BeanInfo class.)
525      */
526     public String getTabindexExpr() {
527         return (tabindexExpr);
528     }
529 
530     /***
531      * Getter method for "title" tag attribute. (Mapping set in associated
532      * BeanInfo class.)
533      */
534     public String getTitleExpr() {
535         return (titleExpr);
536     }
537 
538     /***
539      * Getter method for "titleKey" tag attribute. (Mapping set in associated
540      * BeanInfo class.)
541      */
542     public String getTitleKeyExpr() {
543         return (titleKeyExpr);
544     }
545 
546     /***
547      * Getter method for "value" tag attribute. (Mapping set in associated
548      * BeanInfo class.)
549      */
550     public String getValueExpr() {
551         return (valueExpr);
552     }
553 
554     /***
555      * Setter method for "accessKey" tag attribute. (Mapping set in associated
556      * BeanInfo class.)
557      */
558     public void setAccesskeyExpr(String accessKeyExpr) {
559         this.accessKeyExpr = accessKeyExpr;
560     }
561 
562     /***
563      * Setter method for "alt" tag attribute. (Mapping set in associated
564      * BeanInfo class.)
565      */
566     public void setAltExpr(String altExpr) {
567         this.altExpr = altExpr;
568     }
569 
570     /***
571      * Setter method for "altKey" tag attribute. (Mapping set in associated
572      * BeanInfo class.)
573      */
574     public void setAltKeyExpr(String altKeyExpr) {
575         this.altKeyExpr = altKeyExpr;
576     }
577 
578     /***
579      * Setter method for "bundle" tag attribute. (Mapping set in associated
580      * BeanInfo class.)
581      */
582     public void setBundleExpr(String bundleExpr) {
583         this.bundleExpr = bundleExpr;
584     }
585 
586     /***
587      * Setter method for "cols" tag attribute. (Mapping set in associated
588      * BeanInfo class.)
589      */
590     public void setColsExpr(String colsExpr) {
591         this.colsExpr = colsExpr;
592     }
593 
594     /***
595      * Setter method for "disabled" tag attribute. (Mapping set in associated
596      * BeanInfo class.)
597      */
598     public void setDisabledExpr(String disabledExpr) {
599         this.disabledExpr = disabledExpr;
600     }
601 
602     /***
603      * Setter method for "errorKey" tag attribute. (Mapping set in associated
604      * BeanInfo class.)
605      */
606     public void setErrorKeyExpr(String errorKeyExpr) {
607         this.errorKeyExpr = errorKeyExpr;
608     }
609 
610     /***
611      * Setter method for "errorStyle" tag attribute. (Mapping set in
612      * associated BeanInfo class.)
613      */
614     public void setErrorStyleExpr(String errorStyleExpr) {
615         this.errorStyleExpr = errorStyleExpr;
616     }
617 
618     /***
619      * Setter method for "errorStyleClass" tag attribute. (Mapping set in
620      * associated BeanInfo class.)
621      */
622     public void setErrorStyleClassExpr(String errorStyleClassExpr) {
623         this.errorStyleClassExpr = errorStyleClassExpr;
624     }
625 
626     /***
627      * Setter method for "errorStyleId" tag attribute. (Mapping set in
628      * associated BeanInfo class.)
629      */
630     public void setErrorStyleIdExpr(String errorStyleIdExpr) {
631         this.errorStyleIdExpr = errorStyleIdExpr;
632     }
633 
634     /***
635      * Setter method for "indexed" tag attribute. (Mapping set in associated
636      * BeanInfo class.)
637      */
638     public void setIndexedExpr(String indexedExpr) {
639         this.indexedExpr = indexedExpr;
640     }
641 
642     /***
643      * Setter method for "name" tag attribute. (Mapping set in associated
644      * BeanInfo class.)
645      */
646     public void setNameExpr(String nameExpr) {
647         this.nameExpr = nameExpr;
648     }
649 
650     /***
651      * Setter method for "onblur" tag attribute. (Mapping set in associated
652      * BeanInfo class.)
653      */
654     public void setOnblurExpr(String onblurExpr) {
655         this.onblurExpr = onblurExpr;
656     }
657 
658     /***
659      * Setter method for "onchange" tag attribute. (Mapping set in associated
660      * BeanInfo class.)
661      */
662     public void setOnchangeExpr(String onchangeExpr) {
663         this.onchangeExpr = onchangeExpr;
664     }
665 
666     /***
667      * Setter method for "onclick" tag attribute. (Mapping set in associated
668      * BeanInfo class.)
669      */
670     public void setOnclickExpr(String onclickExpr) {
671         this.onclickExpr = onclickExpr;
672     }
673 
674     /***
675      * Setter method for "ondblclick" tag attribute. (Mapping set in
676      * associated BeanInfo class.)
677      */
678     public void setOndblclickExpr(String ondblclickExpr) {
679         this.ondblclickExpr = ondblclickExpr;
680     }
681 
682     /***
683      * Setter method for "onfocus" tag attribute. (Mapping set in associated
684      * BeanInfo class.)
685      */
686     public void setOnfocusExpr(String onfocusExpr) {
687         this.onfocusExpr = onfocusExpr;
688     }
689 
690     /***
691      * Setter method for "onkeydown" tag attribute. (Mapping set in associated
692      * BeanInfo class.)
693      */
694     public void setOnkeydownExpr(String onkeydownExpr) {
695         this.onkeydownExpr = onkeydownExpr;
696     }
697 
698     /***
699      * Setter method for "onkeypress" tag attribute. (Mapping set in
700      * associated BeanInfo class.)
701      */
702     public void setOnkeypressExpr(String onkeypressExpr) {
703         this.onkeypressExpr = onkeypressExpr;
704     }
705 
706     /***
707      * Setter method for "onkeyup" tag attribute. (Mapping set in associated
708      * BeanInfo class.)
709      */
710     public void setOnkeyupExpr(String onkeyupExpr) {
711         this.onkeyupExpr = onkeyupExpr;
712     }
713 
714     /***
715      * Setter method for "onmousedown" tag attribute. (Mapping set in
716      * associated BeanInfo class.)
717      */
718     public void setOnmousedownExpr(String onmousedownExpr) {
719         this.onmousedownExpr = onmousedownExpr;
720     }
721 
722     /***
723      * Setter method for "onmousemove" tag attribute. (Mapping set in
724      * associated BeanInfo class.)
725      */
726     public void setOnmousemoveExpr(String onmousemoveExpr) {
727         this.onmousemoveExpr = onmousemoveExpr;
728     }
729 
730     /***
731      * Setter method for "onmouseout" tag attribute. (Mapping set in
732      * associated BeanInfo class.)
733      */
734     public void setOnmouseoutExpr(String onmouseoutExpr) {
735         this.onmouseoutExpr = onmouseoutExpr;
736     }
737 
738     /***
739      * Setter method for "onmouseover" tag attribute. (Mapping set in
740      * associated BeanInfo class.)
741      */
742     public void setOnmouseoverExpr(String onmouseoverExpr) {
743         this.onmouseoverExpr = onmouseoverExpr;
744     }
745 
746     /***
747      * Setter method for "onmouseup" tag attribute. (Mapping set in associated
748      * BeanInfo class.)
749      */
750     public void setOnmouseupExpr(String onmouseupExpr) {
751         this.onmouseupExpr = onmouseupExpr;
752     }
753 
754     /***
755      * Setter method for "onselect" tag attribute. (Mapping set in associated
756      * BeanInfo class.)
757      */
758     public void setOnselectExpr(String onselectExpr) {
759         this.onselectExpr = onselectExpr;
760     }
761 
762     /***
763      * Setter method for "property" tag attribute. (Mapping set in associated
764      * BeanInfo class.)
765      */
766     public void setPropertyExpr(String propertyExpr) {
767         this.propertyExpr = propertyExpr;
768     }
769 
770     /***
771      * Setter method for "readonly" tag attribute. (Mapping set in associated
772      * BeanInfo class.)
773      */
774     public void setReadonlyExpr(String readonlyExpr) {
775         this.readonlyExpr = readonlyExpr;
776     }
777 
778     /***
779      * Setter method for "rows" tag attribute. (Mapping set in associated
780      * BeanInfo class.)
781      */
782     public void setRowsExpr(String rowsExpr) {
783         this.rowsExpr = rowsExpr;
784     }
785 
786     /***
787      * Setter method for "style" tag attribute. (Mapping set in associated
788      * BeanInfo class.)
789      */
790     public void setStyleExpr(String styleExpr) {
791         this.styleExpr = styleExpr;
792     }
793 
794     /***
795      * Setter method for "size" tag attribute. (Mapping set in associated
796      * BeanInfo class.)
797      */
798     public void setSizeExpr(String sizeExpr) {
799         this.sizeExpr = sizeExpr;
800     }
801 
802     /***
803      * Setter method for "styleClass" tag attribute. (Mapping set in
804      * associated BeanInfo class.)
805      */
806     public void setStyleClassExpr(String styleClassExpr) {
807         this.styleClassExpr = styleClassExpr;
808     }
809 
810     /***
811      * Setter method for "styleId" tag attribute. (Mapping set in associated
812      * BeanInfo class.)
813      */
814     public void setStyleIdExpr(String styleIdExpr) {
815         this.styleIdExpr = styleIdExpr;
816     }
817 
818     /***
819      * Setter method for "tabindex" tag attribute. (Mapping set in associated
820      * BeanInfo class.)
821      */
822     public void setTabindexExpr(String tabindexExpr) {
823         this.tabindexExpr = tabindexExpr;
824     }
825 
826     /***
827      * Setter method for "title" tag attribute. (Mapping set in associated
828      * BeanInfo class.)
829      */
830     public void setTitleExpr(String titleExpr) {
831         this.titleExpr = titleExpr;
832     }
833 
834     /***
835      * Setter method for "titleKey" tag attribute. (Mapping set in associated
836      * BeanInfo class.)
837      */
838     public void setTitleKeyExpr(String titleKeyExpr) {
839         this.titleKeyExpr = titleKeyExpr;
840     }
841 
842     /***
843      * Setter method for "value" tag attribute. (Mapping set in associated
844      * BeanInfo class.)
845      */
846     public void setValueExpr(String valueExpr) {
847         this.valueExpr = valueExpr;
848     }
849 
850     /***
851      * Resets attribute values for tag reuse.
852      */
853     public void release() {
854         super.release();
855         setAccesskeyExpr(null);
856         setAltExpr(null);
857         setAltKeyExpr(null);
858         setBundleExpr(null);
859         setColsExpr(null);
860         setDisabledExpr(null);
861         setErrorKeyExpr(null);
862         setErrorStyleExpr(null);
863         setErrorStyleClassExpr(null);
864         setErrorStyleIdExpr(null);
865         setIndexedExpr(null);
866         setNameExpr(null);
867         setOnblurExpr(null);
868         setOnchangeExpr(null);
869         setOnclickExpr(null);
870         setOndblclickExpr(null);
871         setOnfocusExpr(null);
872         setOnkeydownExpr(null);
873         setOnkeypressExpr(null);
874         setOnkeyupExpr(null);
875         setOnmousedownExpr(null);
876         setOnmousemoveExpr(null);
877         setOnmouseoutExpr(null);
878         setOnmouseoverExpr(null);
879         setOnmouseupExpr(null);
880         setOnselectExpr(null);
881         setPropertyExpr(null);
882         setReadonlyExpr(null);
883         setRowsExpr(null);
884         setStyleExpr(null);
885         setSizeExpr(null);
886         setStyleClassExpr(null);
887         setStyleIdExpr(null);
888         setTabindexExpr(null);
889         setTitleExpr(null);
890         setTitleKeyExpr(null);
891         setValueExpr(null);
892     }
893 
894     /***
895      * Process the start tag.
896      *
897      * @throws JspException if a JSP exception has occurred
898      */
899     public int doStartTag() throws JspException {
900         evaluateExpressions();
901 
902         return (super.doStartTag());
903     }
904 
905     /***
906      * Processes all attribute values which use the JSTL expression evaluation
907      * engine to determine their values.
908      *
909      * @throws JspException if a JSP exception has occurred
910      */
911     private void evaluateExpressions()
912         throws JspException {
913         String string = null;
914         Boolean bool = null;
915 
916         if ((string =
917                 EvalHelper.evalString("accessKey", getAccesskeyExpr(), this,
918                     pageContext)) != null) {
919             setAccesskey(string);
920         }
921 
922         if ((string =
923                 EvalHelper.evalString("alt", getAltExpr(), this, pageContext)) != null) {
924             setAlt(string);
925         }
926 
927         if ((string =
928                 EvalHelper.evalString("altKey", getAltKeyExpr(), this,
929                     pageContext)) != null) {
930             setAltKey(string);
931         }
932 
933         if ((string =
934                 EvalHelper.evalString("bundle", getBundleExpr(), this,
935                     pageContext)) != null) {
936             setBundle(string);
937         }
938 
939         if ((string =
940                 EvalHelper.evalString("cols", getColsExpr(), this, pageContext)) != null) {
941             setCols(string);
942         }
943 
944         if ((bool =
945                 EvalHelper.evalBoolean("disabled", getDisabledExpr(), this,
946                     pageContext)) != null) {
947             setDisabled(bool.booleanValue());
948         }
949 
950         if ((string =
951                 EvalHelper.evalString("errorKey", getErrorKeyExpr(), this,
952                     pageContext)) != null) {
953             setErrorKey(string);
954         }
955 
956         if ((string =
957                 EvalHelper.evalString("errorStyle", getErrorStyleExpr(), this,
958                     pageContext)) != null) {
959             setErrorStyle(string);
960         }
961 
962         if ((string =
963                 EvalHelper.evalString("errorStyleClass",
964                     getErrorStyleClassExpr(), this, pageContext)) != null) {
965             setErrorStyleClass(string);
966         }
967 
968         if ((string =
969                 EvalHelper.evalString("errorStyleId", getErrorStyleIdExpr(),
970                     this, pageContext)) != null) {
971             setErrorStyleId(string);
972         }
973 
974         if ((bool =
975                 EvalHelper.evalBoolean("indexed", getIndexedExpr(), this,
976                     pageContext)) != null) {
977             setIndexed(bool.booleanValue());
978         }
979 
980         if ((string =
981                 EvalHelper.evalString("name", getNameExpr(), this, pageContext)) != null) {
982             setName(string);
983         }
984 
985         if ((string =
986                 EvalHelper.evalString("onblur", getOnblurExpr(), this,
987                     pageContext)) != null) {
988             setOnblur(string);
989         }
990 
991         if ((string =
992                 EvalHelper.evalString("onchange", getOnchangeExpr(), this,
993                     pageContext)) != null) {
994             setOnchange(string);
995         }
996 
997         if ((string =
998                 EvalHelper.evalString("onclick", getOnclickExpr(), this,
999                     pageContext)) != null) {
1000             setOnclick(string);
1001         }
1002 
1003         if ((string =
1004                 EvalHelper.evalString("ondblclick", getOndblclickExpr(), this,
1005                     pageContext)) != null) {
1006             setOndblclick(string);
1007         }
1008 
1009         if ((string =
1010                 EvalHelper.evalString("onfocus", getOnfocusExpr(), this,
1011                     pageContext)) != null) {
1012             setOnfocus(string);
1013         }
1014 
1015         if ((string =
1016                 EvalHelper.evalString("onkeydown", getOnkeydownExpr(), this,
1017                     pageContext)) != null) {
1018             setOnkeydown(string);
1019         }
1020 
1021         if ((string =
1022                 EvalHelper.evalString("onkeypress", getOnkeypressExpr(), this,
1023                     pageContext)) != null) {
1024             setOnkeypress(string);
1025         }
1026 
1027         if ((string =
1028                 EvalHelper.evalString("onkeyup", getOnkeyupExpr(), this,
1029                     pageContext)) != null) {
1030             setOnkeyup(string);
1031         }
1032 
1033         if ((string =
1034                 EvalHelper.evalString("onmousedown", getOnmousedownExpr(),
1035                     this, pageContext)) != null) {
1036             setOnmousedown(string);
1037         }
1038 
1039         if ((string =
1040                 EvalHelper.evalString("onmousemove", getOnmousemoveExpr(),
1041                     this, pageContext)) != null) {
1042             setOnmousemove(string);
1043         }
1044 
1045         if ((string =
1046                 EvalHelper.evalString("onmouseout", getOnmouseoutExpr(), this,
1047                     pageContext)) != null) {
1048             setOnmouseout(string);
1049         }
1050 
1051         if ((string =
1052                 EvalHelper.evalString("onmouseover", getOnmouseoverExpr(),
1053                     this, pageContext)) != null) {
1054             setOnmouseover(string);
1055         }
1056 
1057         if ((string =
1058                 EvalHelper.evalString("onmouseup", getOnmouseupExpr(), this,
1059                     pageContext)) != null) {
1060             setOnmouseup(string);
1061         }
1062 
1063         if ((string =
1064                 EvalHelper.evalString("onselect", getOnselectExpr(), this,
1065                     pageContext)) != null) {
1066             setOnselect(string);
1067         }
1068 
1069         if ((string =
1070                 EvalHelper.evalString("property", getPropertyExpr(), this,
1071                     pageContext)) != null) {
1072             setProperty(string);
1073         }
1074 
1075         if ((bool =
1076                 EvalHelper.evalBoolean("readonly", getReadonlyExpr(), this,
1077                     pageContext)) != null) {
1078             setReadonly(bool.booleanValue());
1079         }
1080 
1081         if ((string =
1082                 EvalHelper.evalString("rows", getRowsExpr(), this, pageContext)) != null) {
1083             setRows(string);
1084         }
1085 
1086         if ((string =
1087                 EvalHelper.evalString("style", getStyleExpr(), this, pageContext)) != null) {
1088             setStyle(string);
1089         }
1090 
1091         if ((string =
1092                 EvalHelper.evalString("size", getSizeExpr(), this, pageContext)) != null) {
1093             setSize(string);
1094         }
1095 
1096         if ((string =
1097                 EvalHelper.evalString("styleClass", getStyleClassExpr(), this,
1098                     pageContext)) != null) {
1099             setStyleClass(string);
1100         }
1101 
1102         if ((string =
1103                 EvalHelper.evalString("styleId", getStyleIdExpr(), this,
1104                     pageContext)) != null) {
1105             setStyleId(string);
1106         }
1107 
1108         if ((string =
1109                 EvalHelper.evalString("tabindex", getTabindexExpr(), this,
1110                     pageContext)) != null) {
1111             setTabindex(string);
1112         }
1113 
1114         if ((string =
1115                 EvalHelper.evalString("title", getTitleExpr(), this, pageContext)) != null) {
1116             setTitle(string);
1117         }
1118 
1119         if ((string =
1120                 EvalHelper.evalString("titleKey", getTitleKeyExpr(), this,
1121                     pageContext)) != null) {
1122             setTitleKey(string);
1123         }
1124 
1125         if ((string =
1126                 EvalHelper.evalString("value", getValueExpr(), this, pageContext)) != null) {
1127             setValue(string);
1128         }
1129     }
1130 }