1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.strutsel.taglib.html;
19
20 import org.apache.struts.taglib.html.LinkTag;
21 import org.apache.strutsel.taglib.utils.EvalHelper;
22
23 import javax.servlet.jsp.JspException;
24
25 /***
26 * Generate a URL-encoded hyperlink to the specified URI. <p> This class is a
27 * subclass of the class <code>org.apache.struts.taglib.html.LinkTag</code>
28 * which provides most of the described functionality. This subclass allows
29 * all attribute values to be specified as expressions utilizing the
30 * JavaServer Pages Standard Library expression language.
31 *
32 * @version $Rev: 376779 $
33 */
34 public class ELLinkTag extends LinkTag {
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 "action" tag attribute. (Mapping set in
43 * associated BeanInfo class.)
44 */
45 private String actionExpr;
46
47 /***
48 * Instance variable mapped to "module" tag attribute. (Mapping set in
49 * associated BeanInfo class.)
50 */
51 private String moduleExpr;
52
53 /***
54 * Instance variable mapped to "anchor" tag attribute. (Mapping set in
55 * associated BeanInfo class.)
56 */
57 private String anchorExpr;
58
59 /***
60 * Instance variable mapped to "bundle" tag attribute. (Mapping set in
61 * associated BeanInfo class.)
62 */
63 private String bundleExpr;
64
65 /***
66 * Instance variable mapped to "forward" tag attribute. (Mapping set in
67 * associated BeanInfo class.)
68 */
69 private String forwardExpr;
70
71 /***
72 * Instance variable mapped to "href" tag attribute. (Mapping set in
73 * associated BeanInfo class.)
74 */
75 private String hrefExpr;
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 "indexId" tag attribute. (Mapping set in
85 * associated BeanInfo class.)
86 */
87 private String indexIdExpr;
88
89 /***
90 * Instance variable mapped to "linkName" tag attribute. (Mapping set in
91 * associated BeanInfo class.)
92 */
93 private String linkNameExpr;
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 "onclick" tag attribute. (Mapping set in
109 * associated BeanInfo class.)
110 */
111 private String onclickExpr;
112
113 /***
114 * Instance variable mapped to "ondblclick" tag attribute. (Mapping set in
115 * associated BeanInfo class.)
116 */
117 private String ondblclickExpr;
118
119 /***
120 * Instance variable mapped to "onfocus" tag attribute. (Mapping set in
121 * associated BeanInfo class.)
122 */
123 private String onfocusExpr;
124
125 /***
126 * Instance variable mapped to "onkeydown" tag attribute. (Mapping set in
127 * associated BeanInfo class.)
128 */
129 private String onkeydownExpr;
130
131 /***
132 * Instance variable mapped to "onkeypress" tag attribute. (Mapping set in
133 * associated BeanInfo class.)
134 */
135 private String onkeypressExpr;
136
137 /***
138 * Instance variable mapped to "onkeyup" tag attribute. (Mapping set in
139 * associated BeanInfo class.)
140 */
141 private String onkeyupExpr;
142
143 /***
144 * Instance variable mapped to "onmousedown" tag attribute. (Mapping set
145 * in associated BeanInfo class.)
146 */
147 private String onmousedownExpr;
148
149 /***
150 * Instance variable mapped to "onmousemove" tag attribute. (Mapping set
151 * in associated BeanInfo class.)
152 */
153 private String onmousemoveExpr;
154
155 /***
156 * Instance variable mapped to "onmouseout" tag attribute. (Mapping set in
157 * associated BeanInfo class.)
158 */
159 private String onmouseoutExpr;
160
161 /***
162 * Instance variable mapped to "onmouseover" tag attribute. (Mapping set
163 * in associated BeanInfo class.)
164 */
165 private String onmouseoverExpr;
166
167 /***
168 * Instance variable mapped to "onmouseup" tag attribute. (Mapping set in
169 * associated BeanInfo class.)
170 */
171 private String onmouseupExpr;
172
173 /***
174 * Instance variable mapped to "page" tag attribute. (Mapping set in
175 * associated BeanInfo class.)
176 */
177 private String pageExpr;
178
179 /***
180 * Instance variable mapped to "paramId" tag attribute. (Mapping set in
181 * associated BeanInfo class.)
182 */
183 private String paramIdExpr;
184
185 /***
186 * Instance variable mapped to "paramName" tag attribute. (Mapping set in
187 * associated BeanInfo class.)
188 */
189 private String paramNameExpr;
190
191 /***
192 * Instance variable mapped to "paramProperty" tag attribute. (Mapping set
193 * in associated BeanInfo class.)
194 */
195 private String paramPropertyExpr;
196
197 /***
198 * Instance variable mapped to "paramScope" tag attribute. (Mapping set in
199 * associated BeanInfo class.)
200 */
201 private String paramScopeExpr;
202
203 /***
204 * Instance variable mapped to "property" tag attribute. (Mapping set in
205 * associated BeanInfo class.)
206 */
207 private String propertyExpr;
208
209 /***
210 * Instance variable mapped to "scope" tag attribute. (Mapping set in
211 * associated BeanInfo class.)
212 */
213 private String scopeExpr;
214
215 /***
216 * Instance variable mapped to "style" tag attribute. (Mapping set in
217 * associated BeanInfo class.)
218 */
219 private String styleExpr;
220
221 /***
222 * Instance variable mapped to "styleClass" tag attribute. (Mapping set in
223 * associated BeanInfo class.)
224 */
225 private String styleClassExpr;
226
227 /***
228 * Instance variable mapped to "styleId" tag attribute. (Mapping set in
229 * associated BeanInfo class.)
230 */
231 private String styleIdExpr;
232
233 /***
234 * Instance variable mapped to "tabindex" tag attribute. (Mapping set in
235 * associated BeanInfo class.)
236 */
237 private String tabindexExpr;
238
239 /***
240 * Instance variable mapped to "target" tag attribute. (Mapping set in
241 * associated BeanInfo class.)
242 */
243 private String targetExpr;
244
245 /***
246 * Instance variable mapped to "title" tag attribute. (Mapping set in
247 * associated BeanInfo class.)
248 */
249 private String titleExpr;
250
251 /***
252 * Instance variable mapped to "titleKey" tag attribute. (Mapping set in
253 * associated BeanInfo class.)
254 */
255 private String titleKeyExpr;
256
257 /***
258 * Instance variable mapped to "transaction" tag attribute. (Mapping set
259 * in associated BeanInfo class.)
260 */
261 private String transactionExpr;
262
263 /***
264 * Instance variable mapped to "useLocalEncoding" tag attribute. (Mapping
265 * set in associated BeanInfo class.)
266 */
267 private String useLocalEncodingExpr;
268
269 /***
270 * Getter method for "accessKey" tag attribute. (Mapping set in associated
271 * BeanInfo class.)
272 */
273 public String getAccesskeyExpr() {
274 return (accessKeyExpr);
275 }
276
277 /***
278 * Getter method for "action" tag attribute. (Mapping set in associated
279 * BeanInfo class.)
280 */
281 public String getActionExpr() {
282 return (actionExpr);
283 }
284
285 /***
286 * Getter method for "module" tag attribute. (Mapping set in associated
287 * BeanInfo class.)
288 */
289 public String getModuleExpr() {
290 return (moduleExpr);
291 }
292
293 /***
294 * Getter method for "anchor" tag attribute. (Mapping set in associated
295 * BeanInfo class.)
296 */
297 public String getAnchorExpr() {
298 return (anchorExpr);
299 }
300
301 /***
302 * Getter method for "bundle" tag attribute. (Mapping set in associated
303 * BeanInfo class.)
304 */
305 public String getBundleExpr() {
306 return (bundleExpr);
307 }
308
309 /***
310 * Getter method for "forward" tag attribute. (Mapping set in associated
311 * BeanInfo class.)
312 */
313 public String getForwardExpr() {
314 return (forwardExpr);
315 }
316
317 /***
318 * Getter method for "href" tag attribute. (Mapping set in associated
319 * BeanInfo class.)
320 */
321 public String getHrefExpr() {
322 return (hrefExpr);
323 }
324
325 /***
326 * Getter method for "indexed" tag attribute. (Mapping set in associated
327 * BeanInfo class.)
328 */
329 public String getIndexedExpr() {
330 return (indexedExpr);
331 }
332
333 /***
334 * Getter method for "indexId" tag attribute. (Mapping set in associated
335 * BeanInfo class.)
336 */
337 public String getIndexIdExpr() {
338 return (indexIdExpr);
339 }
340
341 /***
342 * Getter method for "linkName" tag attribute. (Mapping set in associated
343 * BeanInfo class.)
344 */
345 public String getLinkNameExpr() {
346 return (linkNameExpr);
347 }
348
349 /***
350 * Getter method for "name" tag attribute. (Mapping set in associated
351 * BeanInfo class.)
352 */
353 public String getNameExpr() {
354 return (nameExpr);
355 }
356
357 /***
358 * Getter method for "onblur" tag attribute. (Mapping set in associated
359 * BeanInfo class.)
360 */
361 public String getOnblurExpr() {
362 return (onblurExpr);
363 }
364
365 /***
366 * Getter method for "onclick" tag attribute. (Mapping set in associated
367 * BeanInfo class.)
368 */
369 public String getOnclickExpr() {
370 return (onclickExpr);
371 }
372
373 /***
374 * Getter method for "ondblclick" tag attribute. (Mapping set in
375 * associated BeanInfo class.)
376 */
377 public String getOndblclickExpr() {
378 return (ondblclickExpr);
379 }
380
381 /***
382 * Getter method for "onfocus" tag attribute. (Mapping set in associated
383 * BeanInfo class.)
384 */
385 public String getOnfocusExpr() {
386 return (onfocusExpr);
387 }
388
389 /***
390 * Getter method for "onkeydown" tag attribute. (Mapping set in associated
391 * BeanInfo class.)
392 */
393 public String getOnkeydownExpr() {
394 return (onkeydownExpr);
395 }
396
397 /***
398 * Getter method for "onkeypress" tag attribute. (Mapping set in
399 * associated BeanInfo class.)
400 */
401 public String getOnkeypressExpr() {
402 return (onkeypressExpr);
403 }
404
405 /***
406 * Getter method for "onkeyup" tag attribute. (Mapping set in associated
407 * BeanInfo class.)
408 */
409 public String getOnkeyupExpr() {
410 return (onkeyupExpr);
411 }
412
413 /***
414 * Getter method for "onmousedown" tag attribute. (Mapping set in
415 * associated BeanInfo class.)
416 */
417 public String getOnmousedownExpr() {
418 return (onmousedownExpr);
419 }
420
421 /***
422 * Getter method for "onmousemove" tag attribute. (Mapping set in
423 * associated BeanInfo class.)
424 */
425 public String getOnmousemoveExpr() {
426 return (onmousemoveExpr);
427 }
428
429 /***
430 * Getter method for "onmouseout" tag attribute. (Mapping set in
431 * associated BeanInfo class.)
432 */
433 public String getOnmouseoutExpr() {
434 return (onmouseoutExpr);
435 }
436
437 /***
438 * Getter method for "onmouseover" tag attribute. (Mapping set in
439 * associated BeanInfo class.)
440 */
441 public String getOnmouseoverExpr() {
442 return (onmouseoverExpr);
443 }
444
445 /***
446 * Getter method for "onmouseup" tag attribute. (Mapping set in associated
447 * BeanInfo class.)
448 */
449 public String getOnmouseupExpr() {
450 return (onmouseupExpr);
451 }
452
453 /***
454 * Getter method for "page" tag attribute. (Mapping set in associated
455 * BeanInfo class.)
456 */
457 public String getPageExpr() {
458 return (pageExpr);
459 }
460
461 /***
462 * Getter method for "paramId" tag attribute. (Mapping set in associated
463 * BeanInfo class.)
464 */
465 public String getParamIdExpr() {
466 return (paramIdExpr);
467 }
468
469 /***
470 * Getter method for "paramName" tag attribute. (Mapping set in associated
471 * BeanInfo class.)
472 */
473 public String getParamNameExpr() {
474 return (paramNameExpr);
475 }
476
477 /***
478 * Getter method for "paramProperty" tag attribute. (Mapping set in
479 * associated BeanInfo class.)
480 */
481 public String getParamPropertyExpr() {
482 return (paramPropertyExpr);
483 }
484
485 /***
486 * Getter method for "paramScope" tag attribute. (Mapping set in
487 * associated BeanInfo class.)
488 */
489 public String getParamScopeExpr() {
490 return (paramScopeExpr);
491 }
492
493 /***
494 * Getter method for "property" tag attribute. (Mapping set in associated
495 * BeanInfo class.)
496 */
497 public String getPropertyExpr() {
498 return (propertyExpr);
499 }
500
501 /***
502 * Getter method for "scope" tag attribute. (Mapping set in associated
503 * BeanInfo class.)
504 */
505 public String getScopeExpr() {
506 return (scopeExpr);
507 }
508
509 /***
510 * Getter method for "style" tag attribute. (Mapping set in associated
511 * BeanInfo class.)
512 */
513 public String getStyleExpr() {
514 return (styleExpr);
515 }
516
517 /***
518 * Getter method for "styleClass" tag attribute. (Mapping set in
519 * associated BeanInfo class.)
520 */
521 public String getStyleClassExpr() {
522 return (styleClassExpr);
523 }
524
525 /***
526 * Getter method for "styleId" tag attribute. (Mapping set in associated
527 * BeanInfo class.)
528 */
529 public String getStyleIdExpr() {
530 return (styleIdExpr);
531 }
532
533 /***
534 * Getter method for "tabindex" tag attribute. (Mapping set in associated
535 * BeanInfo class.)
536 */
537 public String getTabindexExpr() {
538 return (tabindexExpr);
539 }
540
541 /***
542 * Getter method for "target" tag attribute. (Mapping set in associated
543 * BeanInfo class.)
544 */
545 public String getTargetExpr() {
546 return (targetExpr);
547 }
548
549 /***
550 * Getter method for "title" tag attribute. (Mapping set in associated
551 * BeanInfo class.)
552 */
553 public String getTitleExpr() {
554 return (titleExpr);
555 }
556
557 /***
558 * Getter method for "titleKey" tag attribute. (Mapping set in associated
559 * BeanInfo class.)
560 */
561 public String getTitleKeyExpr() {
562 return (titleKeyExpr);
563 }
564
565 /***
566 * Getter method for "transaction" tag attribute. (Mapping set in
567 * associated BeanInfo class.)
568 */
569 public String getTransactionExpr() {
570 return (transactionExpr);
571 }
572
573 /***
574 * Getter method for "useLocalEncoding" tag attribute. (Mapping set in
575 * associated BeanInfo class.)
576 */
577 public String getUseLocalEncodingExpr() {
578 return (useLocalEncodingExpr);
579 }
580
581 /***
582 * Setter method for "accessKey" tag attribute. (Mapping set in associated
583 * BeanInfo class.)
584 */
585 public void setAccesskeyExpr(String accessKeyExpr) {
586 this.accessKeyExpr = accessKeyExpr;
587 }
588
589 /***
590 * Setter method for "action" tag attribute. (Mapping set in associated
591 * BeanInfo class.)
592 */
593 public void setActionExpr(String actionExpr) {
594 this.actionExpr = actionExpr;
595 }
596
597 /***
598 * Setter method for "module" tag attribute. (Mapping set in associated
599 * BeanInfo class.)
600 */
601 public void setModuleExpr(String moduleExpr) {
602 this.moduleExpr = moduleExpr;
603 }
604
605 /***
606 * Setter method for "anchor" tag attribute. (Mapping set in associated
607 * BeanInfo class.)
608 */
609 public void setAnchorExpr(String anchorExpr) {
610 this.anchorExpr = anchorExpr;
611 }
612
613 /***
614 * Setter method for "bundle" tag attribute. (Mapping set in associated
615 * BeanInfo class.)
616 */
617 public void setBundleExpr(String bundleExpr) {
618 this.bundleExpr = bundleExpr;
619 }
620
621 /***
622 * Setter method for "forward" tag attribute. (Mapping set in associated
623 * BeanInfo class.)
624 */
625 public void setForwardExpr(String forwardExpr) {
626 this.forwardExpr = forwardExpr;
627 }
628
629 /***
630 * Setter method for "href" tag attribute. (Mapping set in associated
631 * BeanInfo class.)
632 */
633 public void setHrefExpr(String hrefExpr) {
634 this.hrefExpr = hrefExpr;
635 }
636
637 /***
638 * Setter method for "indexed" tag attribute. (Mapping set in associated
639 * BeanInfo class.)
640 */
641 public void setIndexedExpr(String indexedExpr) {
642 this.indexedExpr = indexedExpr;
643 }
644
645 /***
646 * Setter method for "indexId" tag attribute. (Mapping set in associated
647 * BeanInfo class.)
648 */
649 public void setIndexIdExpr(String indexIdExpr) {
650 this.indexIdExpr = indexIdExpr;
651 }
652
653 /***
654 * Setter method for "linkName" tag attribute. (Mapping set in associated
655 * BeanInfo class.)
656 */
657 public void setLinkNameExpr(String linkNameExpr) {
658 this.linkNameExpr = linkNameExpr;
659 }
660
661 /***
662 * Setter method for "name" tag attribute. (Mapping set in associated
663 * BeanInfo class.)
664 */
665 public void setNameExpr(String nameExpr) {
666 this.nameExpr = nameExpr;
667 }
668
669 /***
670 * Setter method for "onblur" tag attribute. (Mapping set in associated
671 * BeanInfo class.)
672 */
673 public void setOnblurExpr(String onblurExpr) {
674 this.onblurExpr = onblurExpr;
675 }
676
677 /***
678 * Setter method for "onclick" tag attribute. (Mapping set in associated
679 * BeanInfo class.)
680 */
681 public void setOnclickExpr(String onclickExpr) {
682 this.onclickExpr = onclickExpr;
683 }
684
685 /***
686 * Setter method for "ondblclick" tag attribute. (Mapping set in
687 * associated BeanInfo class.)
688 */
689 public void setOndblclickExpr(String ondblclickExpr) {
690 this.ondblclickExpr = ondblclickExpr;
691 }
692
693 /***
694 * Setter method for "onfocus" tag attribute. (Mapping set in associated
695 * BeanInfo class.)
696 */
697 public void setOnfocusExpr(String onfocusExpr) {
698 this.onfocusExpr = onfocusExpr;
699 }
700
701 /***
702 * Setter method for "onkeydown" tag attribute. (Mapping set in associated
703 * BeanInfo class.)
704 */
705 public void setOnkeydownExpr(String onkeydownExpr) {
706 this.onkeydownExpr = onkeydownExpr;
707 }
708
709 /***
710 * Setter method for "onkeypress" tag attribute. (Mapping set in
711 * associated BeanInfo class.)
712 */
713 public void setOnkeypressExpr(String onkeypressExpr) {
714 this.onkeypressExpr = onkeypressExpr;
715 }
716
717 /***
718 * Setter method for "onkeyup" tag attribute. (Mapping set in associated
719 * BeanInfo class.)
720 */
721 public void setOnkeyupExpr(String onkeyupExpr) {
722 this.onkeyupExpr = onkeyupExpr;
723 }
724
725 /***
726 * Setter method for "onmousedown" tag attribute. (Mapping set in
727 * associated BeanInfo class.)
728 */
729 public void setOnmousedownExpr(String onmousedownExpr) {
730 this.onmousedownExpr = onmousedownExpr;
731 }
732
733 /***
734 * Setter method for "onmousemove" tag attribute. (Mapping set in
735 * associated BeanInfo class.)
736 */
737 public void setOnmousemoveExpr(String onmousemoveExpr) {
738 this.onmousemoveExpr = onmousemoveExpr;
739 }
740
741 /***
742 * Setter method for "onmouseout" tag attribute. (Mapping set in
743 * associated BeanInfo class.)
744 */
745 public void setOnmouseoutExpr(String onmouseoutExpr) {
746 this.onmouseoutExpr = onmouseoutExpr;
747 }
748
749 /***
750 * Setter method for "onmouseover" tag attribute. (Mapping set in
751 * associated BeanInfo class.)
752 */
753 public void setOnmouseoverExpr(String onmouseoverExpr) {
754 this.onmouseoverExpr = onmouseoverExpr;
755 }
756
757 /***
758 * Setter method for "onmouseup" tag attribute. (Mapping set in associated
759 * BeanInfo class.)
760 */
761 public void setOnmouseupExpr(String onmouseupExpr) {
762 this.onmouseupExpr = onmouseupExpr;
763 }
764
765 /***
766 * Setter method for "page" tag attribute. (Mapping set in associated
767 * BeanInfo class.)
768 */
769 public void setPageExpr(String pageExpr) {
770 this.pageExpr = pageExpr;
771 }
772
773 /***
774 * Setter method for "paramId" tag attribute. (Mapping set in associated
775 * BeanInfo class.)
776 */
777 public void setParamIdExpr(String paramIdExpr) {
778 this.paramIdExpr = paramIdExpr;
779 }
780
781 /***
782 * Setter method for "paramName" tag attribute. (Mapping set in associated
783 * BeanInfo class.)
784 */
785 public void setParamNameExpr(String paramNameExpr) {
786 this.paramNameExpr = paramNameExpr;
787 }
788
789 /***
790 * Setter method for "paramProperty" tag attribute. (Mapping set in
791 * associated BeanInfo class.)
792 */
793 public void setParamPropertyExpr(String paramPropertyExpr) {
794 this.paramPropertyExpr = paramPropertyExpr;
795 }
796
797 /***
798 * Setter method for "paramScope" tag attribute. (Mapping set in
799 * associated BeanInfo class.)
800 */
801 public void setParamScopeExpr(String paramScopeExpr) {
802 this.paramScopeExpr = paramScopeExpr;
803 }
804
805 /***
806 * Setter method for "property" tag attribute. (Mapping set in associated
807 * BeanInfo class.)
808 */
809 public void setPropertyExpr(String propertyExpr) {
810 this.propertyExpr = propertyExpr;
811 }
812
813 /***
814 * Setter method for "scope" tag attribute. (Mapping set in associated
815 * BeanInfo class.)
816 */
817 public void setScopeExpr(String scopeExpr) {
818 this.scopeExpr = scopeExpr;
819 }
820
821 /***
822 * Setter method for "style" tag attribute. (Mapping set in associated
823 * BeanInfo class.)
824 */
825 public void setStyleExpr(String styleExpr) {
826 this.styleExpr = styleExpr;
827 }
828
829 /***
830 * Setter method for "styleClass" tag attribute. (Mapping set in
831 * associated BeanInfo class.)
832 */
833 public void setStyleClassExpr(String styleClassExpr) {
834 this.styleClassExpr = styleClassExpr;
835 }
836
837 /***
838 * Setter method for "styleId" tag attribute. (Mapping set in associated
839 * BeanInfo class.)
840 */
841 public void setStyleIdExpr(String styleIdExpr) {
842 this.styleIdExpr = styleIdExpr;
843 }
844
845 /***
846 * Setter method for "tabindex" tag attribute. (Mapping set in associated
847 * BeanInfo class.)
848 */
849 public void setTabindexExpr(String tabindexExpr) {
850 this.tabindexExpr = tabindexExpr;
851 }
852
853 /***
854 * Setter method for "target" tag attribute. (Mapping set in associated
855 * BeanInfo class.)
856 */
857 public void setTargetExpr(String targetExpr) {
858 this.targetExpr = targetExpr;
859 }
860
861 /***
862 * Setter method for "title" tag attribute. (Mapping set in associated
863 * BeanInfo class.)
864 */
865 public void setTitleExpr(String titleExpr) {
866 this.titleExpr = titleExpr;
867 }
868
869 /***
870 * Setter method for "titleKey" tag attribute. (Mapping set in associated
871 * BeanInfo class.)
872 */
873 public void setTitleKeyExpr(String titleKeyExpr) {
874 this.titleKeyExpr = titleKeyExpr;
875 }
876
877 /***
878 * Setter method for "transaction" tag attribute. (Mapping set in
879 * associated BeanInfo class.)
880 */
881 public void setTransactionExpr(String transactionExpr) {
882 this.transactionExpr = transactionExpr;
883 }
884
885 /***
886 * Setter method for "useLocalEncoding" tag attribute. (Mapping set in
887 * associated BeanInfo class.)
888 */
889 public void setUseLocalEncodingExpr(String useLocalEncodingExpr) {
890 this.useLocalEncodingExpr = useLocalEncodingExpr;
891 }
892
893 /***
894 * Resets attribute values for tag reuse.
895 */
896 public void release() {
897 super.release();
898 setAccesskeyExpr(null);
899 setActionExpr(null);
900 setModuleExpr(null);
901 setAnchorExpr(null);
902 setBundleExpr(null);
903 setForwardExpr(null);
904 setHrefExpr(null);
905 setIndexedExpr(null);
906 setIndexIdExpr(null);
907 setLinkNameExpr(null);
908 setNameExpr(null);
909 setOnblurExpr(null);
910 setOnclickExpr(null);
911 setOndblclickExpr(null);
912 setOnfocusExpr(null);
913 setOnkeydownExpr(null);
914 setOnkeypressExpr(null);
915 setOnkeyupExpr(null);
916 setOnmousedownExpr(null);
917 setOnmousemoveExpr(null);
918 setOnmouseoutExpr(null);
919 setOnmouseoverExpr(null);
920 setOnmouseupExpr(null);
921 setPageExpr(null);
922 setParamIdExpr(null);
923 setParamNameExpr(null);
924 setParamPropertyExpr(null);
925 setParamScopeExpr(null);
926 setPropertyExpr(null);
927 setScopeExpr(null);
928 setStyleExpr(null);
929 setStyleClassExpr(null);
930 setStyleIdExpr(null);
931 setTabindexExpr(null);
932 setTargetExpr(null);
933 setTitleExpr(null);
934 setTitleKeyExpr(null);
935 setTransactionExpr(null);
936 setUseLocalEncodingExpr(null);
937 }
938
939 /***
940 * Process the start tag.
941 *
942 * @throws JspException if a JSP exception has occurred
943 */
944 public int doStartTag() throws JspException {
945 evaluateExpressions();
946
947 return (super.doStartTag());
948 }
949
950 /***
951 * Processes all attribute values which use the JSTL expression evaluation
952 * engine to determine their values.
953 *
954 * @throws JspException if a JSP exception has occurred
955 */
956 private void evaluateExpressions()
957 throws JspException {
958 String string = null;
959 Boolean bool = null;
960
961 if ((string =
962 EvalHelper.evalString("accessKey", getAccesskeyExpr(), this,
963 pageContext)) != null) {
964 setAccesskey(string);
965 }
966
967 if ((string =
968 EvalHelper.evalString("action", getActionExpr(), this,
969 pageContext)) != null) {
970 setAction(string);
971 }
972
973 if ((string =
974 EvalHelper.evalString("module", getModuleExpr(), this,
975 pageContext)) != null) {
976 setModule(string);
977 }
978
979 if ((string =
980 EvalHelper.evalString("anchor", getAnchorExpr(), this,
981 pageContext)) != null) {
982 setAnchor(string);
983 }
984
985 if ((string =
986 EvalHelper.evalString("bundle", getBundleExpr(), this,
987 pageContext)) != null) {
988 setBundle(string);
989 }
990
991 if ((string =
992 EvalHelper.evalString("forward", getForwardExpr(), this,
993 pageContext)) != null) {
994 setForward(string);
995 }
996
997 if ((string =
998 EvalHelper.evalString("href", getHrefExpr(), this, pageContext)) != null) {
999 setHref(string);
1000 }
1001
1002 if ((bool =
1003 EvalHelper.evalBoolean("indexed", getIndexedExpr(), this,
1004 pageContext)) != null) {
1005 setIndexed(bool.booleanValue());
1006 }
1007
1008 if ((string =
1009 EvalHelper.evalString("indexId", getIndexIdExpr(), this,
1010 pageContext)) != null) {
1011 setIndexId(string);
1012 }
1013
1014 if ((string =
1015 EvalHelper.evalString("linkName", getLinkNameExpr(), this,
1016 pageContext)) != null) {
1017 setLinkName(string);
1018 }
1019
1020 if ((string =
1021 EvalHelper.evalString("name", getNameExpr(), this, pageContext)) != null) {
1022 setName(string);
1023 }
1024
1025 if ((string =
1026 EvalHelper.evalString("onblur", getOnblurExpr(), this,
1027 pageContext)) != null) {
1028 setOnblur(string);
1029 }
1030
1031 if ((string =
1032 EvalHelper.evalString("onclick", getOnclickExpr(), this,
1033 pageContext)) != null) {
1034 setOnclick(string);
1035 }
1036
1037 if ((string =
1038 EvalHelper.evalString("ondblclick", getOndblclickExpr(), this,
1039 pageContext)) != null) {
1040 setOndblclick(string);
1041 }
1042
1043 if ((string =
1044 EvalHelper.evalString("onfocus", getOnfocusExpr(), this,
1045 pageContext)) != null) {
1046 setOnfocus(string);
1047 }
1048
1049 if ((string =
1050 EvalHelper.evalString("onkeydown", getOnkeydownExpr(), this,
1051 pageContext)) != null) {
1052 setOnkeydown(string);
1053 }
1054
1055 if ((string =
1056 EvalHelper.evalString("onkeypress", getOnkeypressExpr(), this,
1057 pageContext)) != null) {
1058 setOnkeypress(string);
1059 }
1060
1061 if ((string =
1062 EvalHelper.evalString("onkeyup", getOnkeyupExpr(), this,
1063 pageContext)) != null) {
1064 setOnkeyup(string);
1065 }
1066
1067 if ((string =
1068 EvalHelper.evalString("onmousedown", getOnmousedownExpr(),
1069 this, pageContext)) != null) {
1070 setOnmousedown(string);
1071 }
1072
1073 if ((string =
1074 EvalHelper.evalString("onmousemove", getOnmousemoveExpr(),
1075 this, pageContext)) != null) {
1076 setOnmousemove(string);
1077 }
1078
1079 if ((string =
1080 EvalHelper.evalString("onmouseout", getOnmouseoutExpr(), this,
1081 pageContext)) != null) {
1082 setOnmouseout(string);
1083 }
1084
1085 if ((string =
1086 EvalHelper.evalString("onmouseover", getOnmouseoverExpr(),
1087 this, pageContext)) != null) {
1088 setOnmouseover(string);
1089 }
1090
1091 if ((string =
1092 EvalHelper.evalString("onmouseup", getOnmouseupExpr(), this,
1093 pageContext)) != null) {
1094 setOnmouseup(string);
1095 }
1096
1097 if ((string =
1098 EvalHelper.evalString("page", getPageExpr(), this, pageContext)) != null) {
1099 setPage(string);
1100 }
1101
1102 if ((string =
1103 EvalHelper.evalString("paramId", getParamIdExpr(), this,
1104 pageContext)) != null) {
1105 setParamId(string);
1106 }
1107
1108 if ((string =
1109 EvalHelper.evalString("paramName", getParamNameExpr(), this,
1110 pageContext)) != null) {
1111 setParamName(string);
1112 }
1113
1114 if ((string =
1115 EvalHelper.evalString("paramProperty", getParamPropertyExpr(),
1116 this, pageContext)) != null) {
1117 setParamProperty(string);
1118 }
1119
1120 if ((string =
1121 EvalHelper.evalString("paramScope", getParamScopeExpr(), this,
1122 pageContext)) != null) {
1123 setParamScope(string);
1124 }
1125
1126 if ((string =
1127 EvalHelper.evalString("property", getPropertyExpr(), this,
1128 pageContext)) != null) {
1129 setProperty(string);
1130 }
1131
1132 if ((string =
1133 EvalHelper.evalString("scope", getScopeExpr(), this, pageContext)) != null) {
1134 setScope(string);
1135 }
1136
1137 if ((string =
1138 EvalHelper.evalString("style", getStyleExpr(), this, pageContext)) != null) {
1139 setStyle(string);
1140 }
1141
1142 if ((string =
1143 EvalHelper.evalString("styleClass", getStyleClassExpr(), this,
1144 pageContext)) != null) {
1145 setStyleClass(string);
1146 }
1147
1148 if ((string =
1149 EvalHelper.evalString("styleId", getStyleIdExpr(), this,
1150 pageContext)) != null) {
1151 setStyleId(string);
1152 }
1153
1154 if ((string =
1155 EvalHelper.evalString("tabindex", getTabindexExpr(), this,
1156 pageContext)) != null) {
1157 setTabindex(string);
1158 }
1159
1160 if ((string =
1161 EvalHelper.evalString("target", getTargetExpr(), this,
1162 pageContext)) != null) {
1163 setTarget(string);
1164 }
1165
1166 if ((string =
1167 EvalHelper.evalString("title", getTitleExpr(), this, pageContext)) != null) {
1168 setTitle(string);
1169 }
1170
1171 if ((string =
1172 EvalHelper.evalString("titleKey", getTitleKeyExpr(), this,
1173 pageContext)) != null) {
1174 setTitleKey(string);
1175 }
1176
1177 if ((bool =
1178 EvalHelper.evalBoolean("transaction", getTransactionExpr(),
1179 this, pageContext)) != null) {
1180 setTransaction(bool.booleanValue());
1181 }
1182
1183 if ((bool =
1184 EvalHelper.evalBoolean("useLocalEncoding",
1185 getUseLocalEncodingExpr(), this, pageContext)) != null) {
1186 setUseLocalEncoding(bool.booleanValue());
1187 }
1188 }
1189 }