View Javadoc

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