View Javadoc

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