View Javadoc

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