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