View Javadoc

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