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