Source Code Cross Referenced for ELSubmitTag.java in  » Web-Framework » struts-1.3.8 » org » apache » strutsel » taglib » html » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Framework » struts 1.3.8 » org.apache.strutsel.taglib.html 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * $Id: ELSubmitTag.java 479635 2006-11-27 14:27:18Z pbenedict $
003:         *
004:         * Licensed to the Apache Software Foundation (ASF) under one
005:         * or more contributor license agreements.  See the NOTICE file
006:         * distributed with this work for additional information
007:         * regarding copyright ownership.  The ASF licenses this file
008:         * to you under the Apache License, Version 2.0 (the
009:         * "License"); you may not use this file except in compliance
010:         * with the License.  You may obtain a copy of the License at
011:         *
012:         *  http://www.apache.org/licenses/LICENSE-2.0
013:         *
014:         * Unless required by applicable law or agreed to in writing,
015:         * software distributed under the License is distributed on an
016:         * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017:         * KIND, either express or implied.  See the License for the
018:         * specific language governing permissions and limitations
019:         * under the License.
020:         */
021:        package org.apache.strutsel.taglib.html;
022:
023:        import org.apache.struts.taglib.html.SubmitTag;
024:        import org.apache.strutsel.taglib.utils.EvalHelper;
025:
026:        import javax.servlet.jsp.JspException;
027:
028:        /**
029:         * Tag for input fields of type "submit". <p> This class is a subclass of the
030:         * class <code>org.apache.struts.taglib.html.SubmitTag</code> which provides
031:         * most of the described functionality.  This subclass allows all attribute
032:         * values to be specified as expressions utilizing the JavaServer Pages
033:         * Standard Library expression language.
034:         *
035:         * @version $Rev: 479635 $
036:         */
037:        public class ELSubmitTag extends SubmitTag {
038:            /**
039:             * Instance variable mapped to "accessKey" tag attribute. (Mapping set in
040:             * associated BeanInfo class.)
041:             */
042:            private String accessKeyExpr;
043:
044:            /**
045:             * Instance variable mapped to "alt" tag attribute. (Mapping set in
046:             * associated BeanInfo class.)
047:             */
048:            private String altExpr;
049:
050:            /**
051:             * Instance variable mapped to "altKey" tag attribute. (Mapping set in
052:             * associated BeanInfo class.)
053:             */
054:            private String altKeyExpr;
055:
056:            /**
057:             * Instance variable mapped to "bundle" tag attribute. (Mapping set in
058:             * associated BeanInfo class.)
059:             */
060:            private String bundleExpr;
061:
062:            /**
063:             * Instance variable mapped to "dir" tag attribute. (Mapping set in
064:             * associated BeanInfo class.)
065:             */
066:            private String dirExpr;
067:
068:            /**
069:             * Instance variable mapped to "disabled" tag attribute. (Mapping set in
070:             * associated BeanInfo class.)
071:             */
072:            private String disabledExpr;
073:
074:            /**
075:             * Instance variable mapped to "indexed" tag attribute. (Mapping set in
076:             * associated BeanInfo class.)
077:             */
078:            private String indexedExpr;
079:
080:            /**
081:             * Instance variable mapped to "lang" tag attribute. (Mapping set in
082:             * associated BeanInfo class.)
083:             */
084:            private String langExpr;
085:
086:            /**
087:             * Instance variable mapped to "onblur" tag attribute. (Mapping set in
088:             * associated BeanInfo class.)
089:             */
090:            private String onblurExpr;
091:
092:            /**
093:             * Instance variable mapped to "onchange" tag attribute. (Mapping set in
094:             * associated BeanInfo class.)
095:             */
096:            private String onchangeExpr;
097:
098:            /**
099:             * Instance variable mapped to "onclick" tag attribute. (Mapping set in
100:             * associated BeanInfo class.)
101:             */
102:            private String onclickExpr;
103:
104:            /**
105:             * Instance variable mapped to "ondblclick" tag attribute. (Mapping set in
106:             * associated BeanInfo class.)
107:             */
108:            private String ondblclickExpr;
109:
110:            /**
111:             * Instance variable mapped to "onfocus" tag attribute. (Mapping set in
112:             * associated BeanInfo class.)
113:             */
114:            private String onfocusExpr;
115:
116:            /**
117:             * Instance variable mapped to "onkeydown" tag attribute. (Mapping set in
118:             * associated BeanInfo class.)
119:             */
120:            private String onkeydownExpr;
121:
122:            /**
123:             * Instance variable mapped to "onkeypress" tag attribute. (Mapping set in
124:             * associated BeanInfo class.)
125:             */
126:            private String onkeypressExpr;
127:
128:            /**
129:             * Instance variable mapped to "onkeyup" tag attribute. (Mapping set in
130:             * associated BeanInfo class.)
131:             */
132:            private String onkeyupExpr;
133:
134:            /**
135:             * Instance variable mapped to "onmousedown" tag attribute. (Mapping set
136:             * in associated BeanInfo class.)
137:             */
138:            private String onmousedownExpr;
139:
140:            /**
141:             * Instance variable mapped to "onmousemove" tag attribute. (Mapping set
142:             * in associated BeanInfo class.)
143:             */
144:            private String onmousemoveExpr;
145:
146:            /**
147:             * Instance variable mapped to "onmouseout" tag attribute. (Mapping set in
148:             * associated BeanInfo class.)
149:             */
150:            private String onmouseoutExpr;
151:
152:            /**
153:             * Instance variable mapped to "onmouseover" tag attribute. (Mapping set
154:             * in associated BeanInfo class.)
155:             */
156:            private String onmouseoverExpr;
157:
158:            /**
159:             * Instance variable mapped to "onmouseup" tag attribute. (Mapping set in
160:             * associated BeanInfo class.)
161:             */
162:            private String onmouseupExpr;
163:
164:            /**
165:             * Instance variable mapped to "property" tag attribute. (Mapping set in
166:             * associated BeanInfo class.)
167:             */
168:            private String propertyExpr;
169:
170:            /**
171:             * Instance variable mapped to "style" tag attribute. (Mapping set in
172:             * associated BeanInfo class.)
173:             */
174:            private String styleExpr;
175:
176:            /**
177:             * Instance variable mapped to "styleClass" tag attribute. (Mapping set in
178:             * associated BeanInfo class.)
179:             */
180:            private String styleClassExpr;
181:
182:            /**
183:             * Instance variable mapped to "styleId" tag attribute. (Mapping set in
184:             * associated BeanInfo class.)
185:             */
186:            private String styleIdExpr;
187:
188:            /**
189:             * Instance variable mapped to "tabindex" tag attribute. (Mapping set in
190:             * associated BeanInfo class.)
191:             */
192:            private String tabindexExpr;
193:
194:            /**
195:             * Instance variable mapped to "title" tag attribute. (Mapping set in
196:             * associated BeanInfo class.)
197:             */
198:            private String titleExpr;
199:
200:            /**
201:             * Instance variable mapped to "titleKey" tag attribute. (Mapping set in
202:             * associated BeanInfo class.)
203:             */
204:            private String titleKeyExpr;
205:
206:            /**
207:             * Instance variable mapped to "value" tag attribute. (Mapping set in
208:             * associated BeanInfo class.)
209:             */
210:            private String valueExpr;
211:
212:            /**
213:             * Getter method for "accessKey" tag attribute. (Mapping set in associated
214:             * BeanInfo class.)
215:             */
216:            public String getAccesskeyExpr() {
217:                return (accessKeyExpr);
218:            }
219:
220:            /**
221:             * Getter method for "alt" tag attribute. (Mapping set in associated
222:             * BeanInfo class.)
223:             */
224:            public String getAltExpr() {
225:                return (altExpr);
226:            }
227:
228:            /**
229:             * Getter method for "altKey" tag attribute. (Mapping set in associated
230:             * BeanInfo class.)
231:             */
232:            public String getAltKeyExpr() {
233:                return (altKeyExpr);
234:            }
235:
236:            /**
237:             * Getter method for "bundle" tag attribute. (Mapping set in associated
238:             * BeanInfo class.)
239:             */
240:            public String getBundleExpr() {
241:                return (bundleExpr);
242:            }
243:
244:            /**
245:             * Getter method for "dir" tag attribute. (Mapping set in associated
246:             * BeanInfo class.)
247:             */
248:            public String getDirExpr() {
249:                return (dirExpr);
250:            }
251:
252:            /**
253:             * Getter method for "disabled" tag attribute. (Mapping set in associated
254:             * BeanInfo class.)
255:             */
256:            public String getDisabledExpr() {
257:                return (disabledExpr);
258:            }
259:
260:            /**
261:             * Getter method for "indexed" tag attribute. (Mapping set in associated
262:             * BeanInfo class.)
263:             */
264:            public String getIndexedExpr() {
265:                return (indexedExpr);
266:            }
267:
268:            /**
269:             * Getter method for "lang" tag attribute. (Mapping set in associated
270:             * BeanInfo class.)
271:             */
272:            public String getLangExpr() {
273:                return (langExpr);
274:            }
275:
276:            /**
277:             * Getter method for "onblur" tag attribute. (Mapping set in associated
278:             * BeanInfo class.)
279:             */
280:            public String getOnblurExpr() {
281:                return (onblurExpr);
282:            }
283:
284:            /**
285:             * Getter method for "onchange" tag attribute. (Mapping set in associated
286:             * BeanInfo class.)
287:             */
288:            public String getOnchangeExpr() {
289:                return (onchangeExpr);
290:            }
291:
292:            /**
293:             * Getter method for "onclick" tag attribute. (Mapping set in associated
294:             * BeanInfo class.)
295:             */
296:            public String getOnclickExpr() {
297:                return (onclickExpr);
298:            }
299:
300:            /**
301:             * Getter method for "ondblclick" tag attribute. (Mapping set in
302:             * associated BeanInfo class.)
303:             */
304:            public String getOndblclickExpr() {
305:                return (ondblclickExpr);
306:            }
307:
308:            /**
309:             * Getter method for "onfocus" tag attribute. (Mapping set in associated
310:             * BeanInfo class.)
311:             */
312:            public String getOnfocusExpr() {
313:                return (onfocusExpr);
314:            }
315:
316:            /**
317:             * Getter method for "onkeydown" tag attribute. (Mapping set in associated
318:             * BeanInfo class.)
319:             */
320:            public String getOnkeydownExpr() {
321:                return (onkeydownExpr);
322:            }
323:
324:            /**
325:             * Getter method for "onkeypress" tag attribute. (Mapping set in
326:             * associated BeanInfo class.)
327:             */
328:            public String getOnkeypressExpr() {
329:                return (onkeypressExpr);
330:            }
331:
332:            /**
333:             * Getter method for "onkeyup" tag attribute. (Mapping set in associated
334:             * BeanInfo class.)
335:             */
336:            public String getOnkeyupExpr() {
337:                return (onkeyupExpr);
338:            }
339:
340:            /**
341:             * Getter method for "onmousedown" tag attribute. (Mapping set in
342:             * associated BeanInfo class.)
343:             */
344:            public String getOnmousedownExpr() {
345:                return (onmousedownExpr);
346:            }
347:
348:            /**
349:             * Getter method for "onmousemove" tag attribute. (Mapping set in
350:             * associated BeanInfo class.)
351:             */
352:            public String getOnmousemoveExpr() {
353:                return (onmousemoveExpr);
354:            }
355:
356:            /**
357:             * Getter method for "onmouseout" tag attribute. (Mapping set in
358:             * associated BeanInfo class.)
359:             */
360:            public String getOnmouseoutExpr() {
361:                return (onmouseoutExpr);
362:            }
363:
364:            /**
365:             * Getter method for "onmouseover" tag attribute. (Mapping set in
366:             * associated BeanInfo class.)
367:             */
368:            public String getOnmouseoverExpr() {
369:                return (onmouseoverExpr);
370:            }
371:
372:            /**
373:             * Getter method for "onmouseup" tag attribute. (Mapping set in associated
374:             * BeanInfo class.)
375:             */
376:            public String getOnmouseupExpr() {
377:                return (onmouseupExpr);
378:            }
379:
380:            /**
381:             * Getter method for "property" tag attribute. (Mapping set in associated
382:             * BeanInfo class.)
383:             */
384:            public String getPropertyExpr() {
385:                return (propertyExpr);
386:            }
387:
388:            /**
389:             * Getter method for "style" tag attribute. (Mapping set in associated
390:             * BeanInfo class.)
391:             */
392:            public String getStyleExpr() {
393:                return (styleExpr);
394:            }
395:
396:            /**
397:             * Getter method for "styleClass" tag attribute. (Mapping set in
398:             * associated BeanInfo class.)
399:             */
400:            public String getStyleClassExpr() {
401:                return (styleClassExpr);
402:            }
403:
404:            /**
405:             * Getter method for "styleId" tag attribute. (Mapping set in associated
406:             * BeanInfo class.)
407:             */
408:            public String getStyleIdExpr() {
409:                return (styleIdExpr);
410:            }
411:
412:            /**
413:             * Getter method for "tabindex" tag attribute. (Mapping set in associated
414:             * BeanInfo class.)
415:             */
416:            public String getTabindexExpr() {
417:                return (tabindexExpr);
418:            }
419:
420:            /**
421:             * Getter method for "title" tag attribute. (Mapping set in associated
422:             * BeanInfo class.)
423:             */
424:            public String getTitleExpr() {
425:                return (titleExpr);
426:            }
427:
428:            /**
429:             * Getter method for "titleKey" tag attribute. (Mapping set in associated
430:             * BeanInfo class.)
431:             */
432:            public String getTitleKeyExpr() {
433:                return (titleKeyExpr);
434:            }
435:
436:            /**
437:             * Getter method for "value" tag attribute. (Mapping set in associated
438:             * BeanInfo class.)
439:             */
440:            public String getValueExpr() {
441:                return (valueExpr);
442:            }
443:
444:            /**
445:             * Setter method for "accessKey" tag attribute. (Mapping set in associated
446:             * BeanInfo class.)
447:             */
448:            public void setAccesskeyExpr(String accessKeyExpr) {
449:                this .accessKeyExpr = accessKeyExpr;
450:            }
451:
452:            /**
453:             * Setter method for "alt" tag attribute. (Mapping set in associated
454:             * BeanInfo class.)
455:             */
456:            public void setAltExpr(String altExpr) {
457:                this .altExpr = altExpr;
458:            }
459:
460:            /**
461:             * Setter method for "altKey" tag attribute. (Mapping set in associated
462:             * BeanInfo class.)
463:             */
464:            public void setAltKeyExpr(String altKeyExpr) {
465:                this .altKeyExpr = altKeyExpr;
466:            }
467:
468:            /**
469:             * Setter method for "bundle" tag attribute. (Mapping set in associated
470:             * BeanInfo class.)
471:             */
472:            public void setBundleExpr(String bundleExpr) {
473:                this .bundleExpr = bundleExpr;
474:            }
475:
476:            /**
477:             * Setter method for "dir" tag attribute. (Mapping set in associated
478:             * BeanInfo class.)
479:             */
480:            public void setDirExpr(String dirExpr) {
481:                this .dirExpr = dirExpr;
482:            }
483:
484:            /**
485:             * Setter method for "disabled" tag attribute. (Mapping set in associated
486:             * BeanInfo class.)
487:             */
488:            public void setDisabledExpr(String disabledExpr) {
489:                this .disabledExpr = disabledExpr;
490:            }
491:
492:            /**
493:             * Setter method for "indexed" tag attribute. (Mapping set in associated
494:             * BeanInfo class.)
495:             */
496:            public void setIndexedExpr(String indexedExpr) {
497:                this .indexedExpr = indexedExpr;
498:            }
499:
500:            /**
501:             * Setter method for "lang" tag attribute. (Mapping set in associated
502:             * BeanInfo class.)
503:             */
504:            public void setLangExpr(String langExpr) {
505:                this .langExpr = langExpr;
506:            }
507:
508:            /**
509:             * Setter method for "onblur" tag attribute. (Mapping set in associated
510:             * BeanInfo class.)
511:             */
512:            public void setOnblurExpr(String onblurExpr) {
513:                this .onblurExpr = onblurExpr;
514:            }
515:
516:            /**
517:             * Setter method for "onchange" tag attribute. (Mapping set in associated
518:             * BeanInfo class.)
519:             */
520:            public void setOnchangeExpr(String onchangeExpr) {
521:                this .onchangeExpr = onchangeExpr;
522:            }
523:
524:            /**
525:             * Setter method for "onclick" tag attribute. (Mapping set in associated
526:             * BeanInfo class.)
527:             */
528:            public void setOnclickExpr(String onclickExpr) {
529:                this .onclickExpr = onclickExpr;
530:            }
531:
532:            /**
533:             * Setter method for "ondblclick" tag attribute. (Mapping set in
534:             * associated BeanInfo class.)
535:             */
536:            public void setOndblclickExpr(String ondblclickExpr) {
537:                this .ondblclickExpr = ondblclickExpr;
538:            }
539:
540:            /**
541:             * Setter method for "onfocus" tag attribute. (Mapping set in associated
542:             * BeanInfo class.)
543:             */
544:            public void setOnfocusExpr(String onfocusExpr) {
545:                this .onfocusExpr = onfocusExpr;
546:            }
547:
548:            /**
549:             * Setter method for "onkeydown" tag attribute. (Mapping set in associated
550:             * BeanInfo class.)
551:             */
552:            public void setOnkeydownExpr(String onkeydownExpr) {
553:                this .onkeydownExpr = onkeydownExpr;
554:            }
555:
556:            /**
557:             * Setter method for "onkeypress" tag attribute. (Mapping set in
558:             * associated BeanInfo class.)
559:             */
560:            public void setOnkeypressExpr(String onkeypressExpr) {
561:                this .onkeypressExpr = onkeypressExpr;
562:            }
563:
564:            /**
565:             * Setter method for "onkeyup" tag attribute. (Mapping set in associated
566:             * BeanInfo class.)
567:             */
568:            public void setOnkeyupExpr(String onkeyupExpr) {
569:                this .onkeyupExpr = onkeyupExpr;
570:            }
571:
572:            /**
573:             * Setter method for "onmousedown" tag attribute. (Mapping set in
574:             * associated BeanInfo class.)
575:             */
576:            public void setOnmousedownExpr(String onmousedownExpr) {
577:                this .onmousedownExpr = onmousedownExpr;
578:            }
579:
580:            /**
581:             * Setter method for "onmousemove" tag attribute. (Mapping set in
582:             * associated BeanInfo class.)
583:             */
584:            public void setOnmousemoveExpr(String onmousemoveExpr) {
585:                this .onmousemoveExpr = onmousemoveExpr;
586:            }
587:
588:            /**
589:             * Setter method for "onmouseout" tag attribute. (Mapping set in
590:             * associated BeanInfo class.)
591:             */
592:            public void setOnmouseoutExpr(String onmouseoutExpr) {
593:                this .onmouseoutExpr = onmouseoutExpr;
594:            }
595:
596:            /**
597:             * Setter method for "onmouseover" tag attribute. (Mapping set in
598:             * associated BeanInfo class.)
599:             */
600:            public void setOnmouseoverExpr(String onmouseoverExpr) {
601:                this .onmouseoverExpr = onmouseoverExpr;
602:            }
603:
604:            /**
605:             * Setter method for "onmouseup" tag attribute. (Mapping set in associated
606:             * BeanInfo class.)
607:             */
608:            public void setOnmouseupExpr(String onmouseupExpr) {
609:                this .onmouseupExpr = onmouseupExpr;
610:            }
611:
612:            /**
613:             * Setter method for "property" tag attribute. (Mapping set in associated
614:             * BeanInfo class.)
615:             */
616:            public void setPropertyExpr(String propertyExpr) {
617:                this .propertyExpr = propertyExpr;
618:            }
619:
620:            /**
621:             * Setter method for "style" tag attribute. (Mapping set in associated
622:             * BeanInfo class.)
623:             */
624:            public void setStyleExpr(String styleExpr) {
625:                this .styleExpr = styleExpr;
626:            }
627:
628:            /**
629:             * Setter method for "styleClass" tag attribute. (Mapping set in
630:             * associated BeanInfo class.)
631:             */
632:            public void setStyleClassExpr(String styleClassExpr) {
633:                this .styleClassExpr = styleClassExpr;
634:            }
635:
636:            /**
637:             * Setter method for "styleId" tag attribute. (Mapping set in associated
638:             * BeanInfo class.)
639:             */
640:            public void setStyleIdExpr(String styleIdExpr) {
641:                this .styleIdExpr = styleIdExpr;
642:            }
643:
644:            /**
645:             * Setter method for "tabindex" tag attribute. (Mapping set in associated
646:             * BeanInfo class.)
647:             */
648:            public void setTabindexExpr(String tabindexExpr) {
649:                this .tabindexExpr = tabindexExpr;
650:            }
651:
652:            /**
653:             * Setter method for "title" tag attribute. (Mapping set in associated
654:             * BeanInfo class.)
655:             */
656:            public void setTitleExpr(String titleExpr) {
657:                this .titleExpr = titleExpr;
658:            }
659:
660:            /**
661:             * Setter method for "titleKey" tag attribute. (Mapping set in associated
662:             * BeanInfo class.)
663:             */
664:            public void setTitleKeyExpr(String titleKeyExpr) {
665:                this .titleKeyExpr = titleKeyExpr;
666:            }
667:
668:            /**
669:             * Setter method for "value" tag attribute. (Mapping set in associated
670:             * BeanInfo class.)
671:             */
672:            public void setValueExpr(String valueExpr) {
673:                this .valueExpr = valueExpr;
674:            }
675:
676:            /**
677:             * Resets attribute values for tag reuse.
678:             */
679:            public void release() {
680:                super .release();
681:                setAccesskeyExpr(null);
682:                setAltExpr(null);
683:                setAltKeyExpr(null);
684:                setBundleExpr(null);
685:                setDirExpr(null);
686:                setDisabledExpr(null);
687:                setIndexedExpr(null);
688:                setLangExpr(null);
689:                setOnblurExpr(null);
690:                setOnchangeExpr(null);
691:                setOnclickExpr(null);
692:                setOndblclickExpr(null);
693:                setOnfocusExpr(null);
694:                setOnkeydownExpr(null);
695:                setOnkeypressExpr(null);
696:                setOnkeyupExpr(null);
697:                setOnmousedownExpr(null);
698:                setOnmousemoveExpr(null);
699:                setOnmouseoutExpr(null);
700:                setOnmouseoverExpr(null);
701:                setOnmouseupExpr(null);
702:                setPropertyExpr(null);
703:                setStyleExpr(null);
704:                setStyleClassExpr(null);
705:                setStyleIdExpr(null);
706:                setTabindexExpr(null);
707:                setTitleExpr(null);
708:                setTitleKeyExpr(null);
709:                setValueExpr(null);
710:            }
711:
712:            /**
713:             * Process the start tag.
714:             *
715:             * @throws JspException if a JSP exception has occurred
716:             */
717:            public int doStartTag() throws JspException {
718:                evaluateExpressions();
719:
720:                return (super .doStartTag());
721:            }
722:
723:            /**
724:             * Processes all attribute values which use the JSTL expression evaluation
725:             * engine to determine their values.
726:             *
727:             * @throws JspException if a JSP exception has occurred
728:             */
729:            private void evaluateExpressions() throws JspException {
730:                String string = null;
731:                Boolean bool = null;
732:
733:                if ((string = EvalHelper.evalString("accessKey",
734:                        getAccesskeyExpr(), this , pageContext)) != null) {
735:                    setAccesskey(string);
736:                }
737:
738:                if ((string = EvalHelper.evalString("alt", getAltExpr(), this ,
739:                        pageContext)) != null) {
740:                    setAlt(string);
741:                }
742:
743:                if ((string = EvalHelper.evalString("altKey", getAltKeyExpr(),
744:                        this , pageContext)) != null) {
745:                    setAltKey(string);
746:                }
747:
748:                if ((string = EvalHelper.evalString("bundle", getBundleExpr(),
749:                        this , pageContext)) != null) {
750:                    setBundle(string);
751:                }
752:
753:                if ((string = EvalHelper.evalString("dir", getDirExpr(), this ,
754:                        pageContext)) != null) {
755:                    setDir(string);
756:                }
757:
758:                if ((bool = EvalHelper.evalBoolean("disabled",
759:                        getDisabledExpr(), this , pageContext)) != null) {
760:                    setDisabled(bool.booleanValue());
761:                }
762:
763:                if ((string = EvalHelper.evalString("lang", getLangExpr(),
764:                        this , pageContext)) != null) {
765:                    setLang(string);
766:                }
767:
768:                if ((bool = EvalHelper.evalBoolean("indexed", getIndexedExpr(),
769:                        this , pageContext)) != null) {
770:                    setIndexed(bool.booleanValue());
771:                }
772:
773:                if ((string = EvalHelper.evalString("onblur", getOnblurExpr(),
774:                        this , pageContext)) != null) {
775:                    setOnblur(string);
776:                }
777:
778:                if ((string = EvalHelper.evalString("onchange",
779:                        getOnchangeExpr(), this , pageContext)) != null) {
780:                    setOnchange(string);
781:                }
782:
783:                if ((string = EvalHelper.evalString("onclick",
784:                        getOnclickExpr(), this , pageContext)) != null) {
785:                    setOnclick(string);
786:                }
787:
788:                if ((string = EvalHelper.evalString("ondblclick",
789:                        getOndblclickExpr(), this , pageContext)) != null) {
790:                    setOndblclick(string);
791:                }
792:
793:                if ((string = EvalHelper.evalString("onfocus",
794:                        getOnfocusExpr(), this , pageContext)) != null) {
795:                    setOnfocus(string);
796:                }
797:
798:                if ((string = EvalHelper.evalString("onkeydown",
799:                        getOnkeydownExpr(), this , pageContext)) != null) {
800:                    setOnkeydown(string);
801:                }
802:
803:                if ((string = EvalHelper.evalString("onkeypress",
804:                        getOnkeypressExpr(), this , pageContext)) != null) {
805:                    setOnkeypress(string);
806:                }
807:
808:                if ((string = EvalHelper.evalString("onkeyup",
809:                        getOnkeyupExpr(), this , pageContext)) != null) {
810:                    setOnkeyup(string);
811:                }
812:
813:                if ((string = EvalHelper.evalString("onmousedown",
814:                        getOnmousedownExpr(), this , pageContext)) != null) {
815:                    setOnmousedown(string);
816:                }
817:
818:                if ((string = EvalHelper.evalString("onmousemove",
819:                        getOnmousemoveExpr(), this , pageContext)) != null) {
820:                    setOnmousemove(string);
821:                }
822:
823:                if ((string = EvalHelper.evalString("onmouseout",
824:                        getOnmouseoutExpr(), this , pageContext)) != null) {
825:                    setOnmouseout(string);
826:                }
827:
828:                if ((string = EvalHelper.evalString("onmouseover",
829:                        getOnmouseoverExpr(), this , pageContext)) != null) {
830:                    setOnmouseover(string);
831:                }
832:
833:                if ((string = EvalHelper.evalString("onmouseup",
834:                        getOnmouseupExpr(), this , pageContext)) != null) {
835:                    setOnmouseup(string);
836:                }
837:
838:                if ((string = EvalHelper.evalString("property",
839:                        getPropertyExpr(), this , pageContext)) != null) {
840:                    setProperty(string);
841:                }
842:
843:                if ((string = EvalHelper.evalString("style", getStyleExpr(),
844:                        this , pageContext)) != null) {
845:                    setStyle(string);
846:                }
847:
848:                if ((string = EvalHelper.evalString("styleClass",
849:                        getStyleClassExpr(), this , pageContext)) != null) {
850:                    setStyleClass(string);
851:                }
852:
853:                if ((string = EvalHelper.evalString("styleId",
854:                        getStyleIdExpr(), this , pageContext)) != null) {
855:                    setStyleId(string);
856:                }
857:
858:                if ((string = EvalHelper.evalString("tabindex",
859:                        getTabindexExpr(), this , pageContext)) != null) {
860:                    setTabindex(string);
861:                }
862:
863:                if ((string = EvalHelper.evalString("title", getTitleExpr(),
864:                        this , pageContext)) != null) {
865:                    setTitle(string);
866:                }
867:
868:                if ((string = EvalHelper.evalString("titleKey",
869:                        getTitleKeyExpr(), this , pageContext)) != null) {
870:                    setTitleKey(string);
871:                }
872:
873:                if ((string = EvalHelper.evalString("value", getValueExpr(),
874:                        this, pageContext)) != null) {
875:                    setValue(string);
876:                }
877:            }
878:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.