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