View Javadoc

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