Source Code Cross Referenced for ELFileTag.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) 


0001:        /*
0002:         * $Id: ELFileTag.java 479635 2006-11-27 14:27:18Z pbenedict $
0003:         *
0004:         * Licensed to the Apache Software Foundation (ASF) under one
0005:         * or more contributor license agreements.  See the NOTICE file
0006:         * distributed with this work for additional information
0007:         * regarding copyright ownership.  The ASF licenses this file
0008:         * to you under the Apache License, Version 2.0 (the
0009:         * "License"); you may not use this file except in compliance
0010:         * with the License.  You may obtain a copy of the License at
0011:         *
0012:         *  http://www.apache.org/licenses/LICENSE-2.0
0013:         *
0014:         * Unless required by applicable law or agreed to in writing,
0015:         * software distributed under the License is distributed on an
0016:         * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
0017:         * KIND, either express or implied.  See the License for the
0018:         * specific language governing permissions and limitations
0019:         * under the License.
0020:         */
0021:        package org.apache.strutsel.taglib.html;
0022:
0023:        import org.apache.struts.taglib.html.FileTag;
0024:        import org.apache.strutsel.taglib.utils.EvalHelper;
0025:
0026:        import javax.servlet.jsp.JspException;
0027:
0028:        /**
0029:         * Custom tag for input fields of type "file". <p> This class is a subclass of
0030:         * the class <code>org.apache.struts.taglib.html.FileTag</code> which provides
0031:         * most of the described functionality.  This subclass allows all attribute
0032:         * values to be specified as expressions utilizing the JavaServer Pages
0033:         * Standard Library expression language.
0034:         *
0035:         * @version $Rev: 479635 $
0036:         */
0037:        public class ELFileTag extends FileTag {
0038:            /**
0039:             * Instance variable mapped to "accesskey" tag attribute. (Mapping set in
0040:             * associated BeanInfo class.)
0041:             */
0042:            private String accesskeyExpr;
0043:
0044:            /**
0045:             * Instance variable mapped to "accept" tag attribute. (Mapping set in
0046:             * associated BeanInfo class.)
0047:             */
0048:            private String acceptExpr;
0049:
0050:            /**
0051:             * Instance variable mapped to "alt" tag attribute. (Mapping set in
0052:             * associated BeanInfo class.)
0053:             */
0054:            private String altExpr;
0055:
0056:            /**
0057:             * Instance variable mapped to "altKey" tag attribute. (Mapping set in
0058:             * associated BeanInfo class.)
0059:             */
0060:            private String altKeyExpr;
0061:
0062:            /**
0063:             * Instance variable mapped to "bundle" tag attribute. (Mapping set in
0064:             * associated BeanInfo class.)
0065:             */
0066:            private String bundleExpr;
0067:
0068:            /**
0069:             * Instance variable mapped to "dir" tag attribute. (Mapping set in
0070:             * associated BeanInfo class.)
0071:             */
0072:            private String dirExpr;
0073:
0074:            /**
0075:             * Instance variable mapped to "disabled" tag attribute. (Mapping set in
0076:             * associated BeanInfo class.)
0077:             */
0078:            private String disabledExpr;
0079:
0080:            /**
0081:             * Instance variable mapped to "errorKey" tag attribute. (Mapping set in
0082:             * associated BeanInfo class.)
0083:             */
0084:            private String errorKeyExpr;
0085:
0086:            /**
0087:             * Instance variable mapped to "errorStyle" tag attribute. (Mapping set in
0088:             * associated BeanInfo class.)
0089:             */
0090:            private String errorStyleExpr;
0091:
0092:            /**
0093:             * Instance variable mapped to "errorStyleClass" tag attribute. (Mapping
0094:             * set in associated BeanInfo class.)
0095:             */
0096:            private String errorStyleClassExpr;
0097:
0098:            /**
0099:             * Instance variable mapped to "errorStyleId" tag attribute. (Mapping set
0100:             * in associated BeanInfo class.)
0101:             */
0102:            private String errorStyleIdExpr;
0103:
0104:            /**
0105:             * Instance variable mapped to "indexed" tag attribute. (Mapping set in
0106:             * associated BeanInfo class.)
0107:             */
0108:            private String indexedExpr;
0109:
0110:            /**
0111:             * Instance variable mapped to "lang" tag attribute. (Mapping set in
0112:             * associated BeanInfo class.)
0113:             */
0114:            private String langExpr;
0115:
0116:            /**
0117:             * Instance variable mapped to "maxlength" tag attribute. (Mapping set in
0118:             * associated BeanInfo class.)
0119:             */
0120:            private String maxlengthExpr;
0121:
0122:            /**
0123:             * Instance variable mapped to "name" tag attribute. (Mapping set in
0124:             * associated BeanInfo class.)
0125:             */
0126:            private String nameExpr;
0127:
0128:            /**
0129:             * Instance variable mapped to "onblur" tag attribute. (Mapping set in
0130:             * associated BeanInfo class.)
0131:             */
0132:            private String onblurExpr;
0133:
0134:            /**
0135:             * Instance variable mapped to "onchange" tag attribute. (Mapping set in
0136:             * associated BeanInfo class.)
0137:             */
0138:            private String onchangeExpr;
0139:
0140:            /**
0141:             * Instance variable mapped to "onclick" tag attribute. (Mapping set in
0142:             * associated BeanInfo class.)
0143:             */
0144:            private String onclickExpr;
0145:
0146:            /**
0147:             * Instance variable mapped to "ondblclick" tag attribute. (Mapping set in
0148:             * associated BeanInfo class.)
0149:             */
0150:            private String ondblclickExpr;
0151:
0152:            /**
0153:             * Instance variable mapped to "onfocus" tag attribute. (Mapping set in
0154:             * associated BeanInfo class.)
0155:             */
0156:            private String onfocusExpr;
0157:
0158:            /**
0159:             * Instance variable mapped to "onkeydown" tag attribute. (Mapping set in
0160:             * associated BeanInfo class.)
0161:             */
0162:            private String onkeydownExpr;
0163:
0164:            /**
0165:             * Instance variable mapped to "onkeypress" tag attribute. (Mapping set in
0166:             * associated BeanInfo class.)
0167:             */
0168:            private String onkeypressExpr;
0169:
0170:            /**
0171:             * Instance variable mapped to "onkeyup" tag attribute. (Mapping set in
0172:             * associated BeanInfo class.)
0173:             */
0174:            private String onkeyupExpr;
0175:
0176:            /**
0177:             * Instance variable mapped to "onmousedown" tag attribute. (Mapping set
0178:             * in associated BeanInfo class.)
0179:             */
0180:            private String onmousedownExpr;
0181:
0182:            /**
0183:             * Instance variable mapped to "onmousemove" tag attribute. (Mapping set
0184:             * in associated BeanInfo class.)
0185:             */
0186:            private String onmousemoveExpr;
0187:
0188:            /**
0189:             * Instance variable mapped to "onmouseout" tag attribute. (Mapping set in
0190:             * associated BeanInfo class.)
0191:             */
0192:            private String onmouseoutExpr;
0193:
0194:            /**
0195:             * Instance variable mapped to "onmouseover" tag attribute. (Mapping set
0196:             * in associated BeanInfo class.)
0197:             */
0198:            private String onmouseoverExpr;
0199:
0200:            /**
0201:             * Instance variable mapped to "onmouseup" tag attribute. (Mapping set in
0202:             * associated BeanInfo class.)
0203:             */
0204:            private String onmouseupExpr;
0205:
0206:            /**
0207:             * Instance variable mapped to "property" tag attribute. (Mapping set in
0208:             * associated BeanInfo class.)
0209:             */
0210:            private String propertyExpr;
0211:
0212:            /**
0213:             * Instance variable mapped to "size" tag attribute. (Mapping set in
0214:             * associated BeanInfo class.)
0215:             */
0216:            private String sizeExpr;
0217:
0218:            /**
0219:             * Instance variable mapped to "style" tag attribute. (Mapping set in
0220:             * associated BeanInfo class.)
0221:             */
0222:            private String styleExpr;
0223:
0224:            /**
0225:             * Instance variable mapped to "styleClass" tag attribute. (Mapping set in
0226:             * associated BeanInfo class.)
0227:             */
0228:            private String styleClassExpr;
0229:
0230:            /**
0231:             * Instance variable mapped to "styleId" tag attribute. (Mapping set in
0232:             * associated BeanInfo class.)
0233:             */
0234:            private String styleIdExpr;
0235:
0236:            /**
0237:             * Instance variable mapped to "tabindex" tag attribute. (Mapping set in
0238:             * associated BeanInfo class.)
0239:             */
0240:            private String tabindexExpr;
0241:
0242:            /**
0243:             * Instance variable mapped to "title" tag attribute. (Mapping set in
0244:             * associated BeanInfo class.)
0245:             */
0246:            private String titleExpr;
0247:
0248:            /**
0249:             * Instance variable mapped to "titleKey" tag attribute. (Mapping set in
0250:             * associated BeanInfo class.)
0251:             */
0252:            private String titleKeyExpr;
0253:
0254:            /**
0255:             * Instance variable mapped to "value" tag attribute. (Mapping set in
0256:             * associated BeanInfo class.)
0257:             */
0258:            private String valueExpr;
0259:
0260:            /**
0261:             * Getter method for "accesskey" tag attribute. (Mapping set in associated
0262:             * BeanInfo class.)
0263:             */
0264:            public String getAccesskeyExpr() {
0265:                return (accesskeyExpr);
0266:            }
0267:
0268:            /**
0269:             * Getter method for "accept" tag attribute. (Mapping set in associated
0270:             * BeanInfo class.)
0271:             */
0272:            public String getAcceptExpr() {
0273:                return (acceptExpr);
0274:            }
0275:
0276:            /**
0277:             * Getter method for "alt" tag attribute. (Mapping set in associated
0278:             * BeanInfo class.)
0279:             */
0280:            public String getAltExpr() {
0281:                return (altExpr);
0282:            }
0283:
0284:            /**
0285:             * Getter method for "altKey" tag attribute. (Mapping set in associated
0286:             * BeanInfo class.)
0287:             */
0288:            public String getAltKeyExpr() {
0289:                return (altKeyExpr);
0290:            }
0291:
0292:            /**
0293:             * Getter method for "bundle" tag attribute. (Mapping set in associated
0294:             * BeanInfo class.)
0295:             */
0296:            public String getBundleExpr() {
0297:                return (bundleExpr);
0298:            }
0299:
0300:            /**
0301:             * Getter method for "dir" tag attribute. (Mapping set in associated
0302:             * BeanInfo class.)
0303:             */
0304:            public String getDirExpr() {
0305:                return (dirExpr);
0306:            }
0307:
0308:            /**
0309:             * Getter method for "disabled" tag attribute. (Mapping set in associated
0310:             * BeanInfo class.)
0311:             */
0312:            public String getDisabledExpr() {
0313:                return (disabledExpr);
0314:            }
0315:
0316:            /**
0317:             * Getter method for "errorKey" tag attribute. (Mapping set in associated
0318:             * BeanInfo class.)
0319:             */
0320:            public String getErrorKeyExpr() {
0321:                return (errorKeyExpr);
0322:            }
0323:
0324:            /**
0325:             * Getter method for "errorStyle" tag attribute. (Mapping set in
0326:             * associated BeanInfo class.)
0327:             */
0328:            public String getErrorStyleExpr() {
0329:                return (errorStyleExpr);
0330:            }
0331:
0332:            /**
0333:             * Getter method for "errorStyleClass" tag attribute. (Mapping set in
0334:             * associated BeanInfo class.)
0335:             */
0336:            public String getErrorStyleClassExpr() {
0337:                return (errorStyleClassExpr);
0338:            }
0339:
0340:            /**
0341:             * Getter method for "errorStyleId" tag attribute. (Mapping set in
0342:             * associated BeanInfo class.)
0343:             */
0344:            public String getErrorStyleIdExpr() {
0345:                return (errorStyleIdExpr);
0346:            }
0347:
0348:            /**
0349:             * Getter method for "indexed" tag attribute. (Mapping set in associated
0350:             * BeanInfo class.)
0351:             */
0352:            public String getIndexedExpr() {
0353:                return (indexedExpr);
0354:            }
0355:
0356:            /**
0357:             * Getter method for "lang" tag attribute. (Mapping set in associated
0358:             * BeanInfo class.)
0359:             */
0360:            public String getLangExpr() {
0361:                return (langExpr);
0362:            }
0363:
0364:            /**
0365:             * Getter method for "maxlength" tag attribute. (Mapping set in associated
0366:             * BeanInfo class.)
0367:             */
0368:            public String getMaxlengthExpr() {
0369:                return (maxlengthExpr);
0370:            }
0371:
0372:            /**
0373:             * Getter method for "name" tag attribute. (Mapping set in associated
0374:             * BeanInfo class.)
0375:             */
0376:            public String getNameExpr() {
0377:                return (nameExpr);
0378:            }
0379:
0380:            /**
0381:             * Getter method for "onblur" tag attribute. (Mapping set in associated
0382:             * BeanInfo class.)
0383:             */
0384:            public String getOnblurExpr() {
0385:                return (onblurExpr);
0386:            }
0387:
0388:            /**
0389:             * Getter method for "onchange" tag attribute. (Mapping set in associated
0390:             * BeanInfo class.)
0391:             */
0392:            public String getOnchangeExpr() {
0393:                return (onchangeExpr);
0394:            }
0395:
0396:            /**
0397:             * Getter method for "onclick" tag attribute. (Mapping set in associated
0398:             * BeanInfo class.)
0399:             */
0400:            public String getOnclickExpr() {
0401:                return (onclickExpr);
0402:            }
0403:
0404:            /**
0405:             * Getter method for "ondblclick" tag attribute. (Mapping set in
0406:             * associated BeanInfo class.)
0407:             */
0408:            public String getOndblclickExpr() {
0409:                return (ondblclickExpr);
0410:            }
0411:
0412:            /**
0413:             * Getter method for "onfocus" tag attribute. (Mapping set in associated
0414:             * BeanInfo class.)
0415:             */
0416:            public String getOnfocusExpr() {
0417:                return (onfocusExpr);
0418:            }
0419:
0420:            /**
0421:             * Getter method for "onkeydown" tag attribute. (Mapping set in associated
0422:             * BeanInfo class.)
0423:             */
0424:            public String getOnkeydownExpr() {
0425:                return (onkeydownExpr);
0426:            }
0427:
0428:            /**
0429:             * Getter method for "onkeypress" tag attribute. (Mapping set in
0430:             * associated BeanInfo class.)
0431:             */
0432:            public String getOnkeypressExpr() {
0433:                return (onkeypressExpr);
0434:            }
0435:
0436:            /**
0437:             * Getter method for "onkeyup" tag attribute. (Mapping set in associated
0438:             * BeanInfo class.)
0439:             */
0440:            public String getOnkeyupExpr() {
0441:                return (onkeyupExpr);
0442:            }
0443:
0444:            /**
0445:             * Getter method for "onmousedown" tag attribute. (Mapping set in
0446:             * associated BeanInfo class.)
0447:             */
0448:            public String getOnmousedownExpr() {
0449:                return (onmousedownExpr);
0450:            }
0451:
0452:            /**
0453:             * Getter method for "onmousemove" tag attribute. (Mapping set in
0454:             * associated BeanInfo class.)
0455:             */
0456:            public String getOnmousemoveExpr() {
0457:                return (onmousemoveExpr);
0458:            }
0459:
0460:            /**
0461:             * Getter method for "onmouseout" tag attribute. (Mapping set in
0462:             * associated BeanInfo class.)
0463:             */
0464:            public String getOnmouseoutExpr() {
0465:                return (onmouseoutExpr);
0466:            }
0467:
0468:            /**
0469:             * Getter method for "onmouseover" tag attribute. (Mapping set in
0470:             * associated BeanInfo class.)
0471:             */
0472:            public String getOnmouseoverExpr() {
0473:                return (onmouseoverExpr);
0474:            }
0475:
0476:            /**
0477:             * Getter method for "onmouseup" tag attribute. (Mapping set in associated
0478:             * BeanInfo class.)
0479:             */
0480:            public String getOnmouseupExpr() {
0481:                return (onmouseupExpr);
0482:            }
0483:
0484:            /**
0485:             * Getter method for "property" tag attribute. (Mapping set in associated
0486:             * BeanInfo class.)
0487:             */
0488:            public String getPropertyExpr() {
0489:                return (propertyExpr);
0490:            }
0491:
0492:            /**
0493:             * Getter method for "size" tag attribute. (Mapping set in associated
0494:             * BeanInfo class.)
0495:             */
0496:            public String getSizeExpr() {
0497:                return (sizeExpr);
0498:            }
0499:
0500:            /**
0501:             * Getter method for "style" tag attribute. (Mapping set in associated
0502:             * BeanInfo class.)
0503:             */
0504:            public String getStyleExpr() {
0505:                return (styleExpr);
0506:            }
0507:
0508:            /**
0509:             * Getter method for "styleClass" tag attribute. (Mapping set in
0510:             * associated BeanInfo class.)
0511:             */
0512:            public String getStyleClassExpr() {
0513:                return (styleClassExpr);
0514:            }
0515:
0516:            /**
0517:             * Getter method for "styleId" tag attribute. (Mapping set in associated
0518:             * BeanInfo class.)
0519:             */
0520:            public String getStyleIdExpr() {
0521:                return (styleIdExpr);
0522:            }
0523:
0524:            /**
0525:             * Getter method for "tabindex" tag attribute. (Mapping set in associated
0526:             * BeanInfo class.)
0527:             */
0528:            public String getTabindexExpr() {
0529:                return (tabindexExpr);
0530:            }
0531:
0532:            /**
0533:             * Getter method for "title" tag attribute. (Mapping set in associated
0534:             * BeanInfo class.)
0535:             */
0536:            public String getTitleExpr() {
0537:                return (titleExpr);
0538:            }
0539:
0540:            /**
0541:             * Getter method for "titleKey" tag attribute. (Mapping set in associated
0542:             * BeanInfo class.)
0543:             */
0544:            public String getTitleKeyExpr() {
0545:                return (titleKeyExpr);
0546:            }
0547:
0548:            /**
0549:             * Getter method for "value" tag attribute. (Mapping set in associated
0550:             * BeanInfo class.)
0551:             */
0552:            public String getValueExpr() {
0553:                return (valueExpr);
0554:            }
0555:
0556:            /**
0557:             * Setter method for "accesskey" tag attribute. (Mapping set in associated
0558:             * BeanInfo class.)
0559:             */
0560:            public void setAccesskeyExpr(String accesskeyExpr) {
0561:                this .accesskeyExpr = accesskeyExpr;
0562:            }
0563:
0564:            /**
0565:             * Setter method for "accept" tag attribute. (Mapping set in associated
0566:             * BeanInfo class.)
0567:             */
0568:            public void setAcceptExpr(String acceptExpr) {
0569:                this .acceptExpr = acceptExpr;
0570:            }
0571:
0572:            /**
0573:             * Setter method for "alt" tag attribute. (Mapping set in associated
0574:             * BeanInfo class.)
0575:             */
0576:            public void setAltExpr(String altExpr) {
0577:                this .altExpr = altExpr;
0578:            }
0579:
0580:            /**
0581:             * Setter method for "altKey" tag attribute. (Mapping set in associated
0582:             * BeanInfo class.)
0583:             */
0584:            public void setAltKeyExpr(String altKeyExpr) {
0585:                this .altKeyExpr = altKeyExpr;
0586:            }
0587:
0588:            /**
0589:             * Setter method for "bundle" tag attribute. (Mapping set in associated
0590:             * BeanInfo class.)
0591:             */
0592:            public void setBundleExpr(String bundleExpr) {
0593:                this .bundleExpr = bundleExpr;
0594:            }
0595:
0596:            /**
0597:             * Setter method for "dir" tag attribute. (Mapping set in associated
0598:             * BeanInfo class.)
0599:             */
0600:            public void setDirExpr(String dirExpr) {
0601:                this .dirExpr = dirExpr;
0602:            }
0603:
0604:            /**
0605:             * Setter method for "disabled" tag attribute. (Mapping set in associated
0606:             * BeanInfo class.)
0607:             */
0608:            public void setDisabledExpr(String disabledExpr) {
0609:                this .disabledExpr = disabledExpr;
0610:            }
0611:
0612:            /**
0613:             * Setter method for "errorKey" tag attribute. (Mapping set in associated
0614:             * BeanInfo class.)
0615:             */
0616:            public void setErrorKeyExpr(String errorKeyExpr) {
0617:                this .errorKeyExpr = errorKeyExpr;
0618:            }
0619:
0620:            /**
0621:             * Setter method for "errorStyle" tag attribute. (Mapping set in
0622:             * associated BeanInfo class.)
0623:             */
0624:            public void setErrorStyleExpr(String errorStyleExpr) {
0625:                this .errorStyleExpr = errorStyleExpr;
0626:            }
0627:
0628:            /**
0629:             * Setter method for "errorStyleClass" tag attribute. (Mapping set in
0630:             * associated BeanInfo class.)
0631:             */
0632:            public void setErrorStyleClassExpr(String errorStyleClassExpr) {
0633:                this .errorStyleClassExpr = errorStyleClassExpr;
0634:            }
0635:
0636:            /**
0637:             * Setter method for "errorStyleId" tag attribute. (Mapping set in
0638:             * associated BeanInfo class.)
0639:             */
0640:            public void setErrorStyleIdExpr(String errorStyleIdExpr) {
0641:                this .errorStyleIdExpr = errorStyleIdExpr;
0642:            }
0643:
0644:            /**
0645:             * Setter method for "indexed" tag attribute. (Mapping set in associated
0646:             * BeanInfo class.)
0647:             */
0648:            public void setIndexedExpr(String indexedExpr) {
0649:                this .indexedExpr = indexedExpr;
0650:            }
0651:
0652:            /**
0653:             * Setter method for "lang" tag attribute. (Mapping set in associated
0654:             * BeanInfo class.)
0655:             */
0656:            public void setLangExpr(String langExpr) {
0657:                this .langExpr = langExpr;
0658:            }
0659:
0660:            /**
0661:             * Setter method for "maxlength" tag attribute. (Mapping set in associated
0662:             * BeanInfo class.)
0663:             */
0664:            public void setMaxlengthExpr(String maxlengthExpr) {
0665:                this .maxlengthExpr = maxlengthExpr;
0666:            }
0667:
0668:            /**
0669:             * Setter method for "name" tag attribute. (Mapping set in associated
0670:             * BeanInfo class.)
0671:             */
0672:            public void setNameExpr(String nameExpr) {
0673:                this .nameExpr = nameExpr;
0674:            }
0675:
0676:            /**
0677:             * Setter method for "onblur" tag attribute. (Mapping set in associated
0678:             * BeanInfo class.)
0679:             */
0680:            public void setOnblurExpr(String onblurExpr) {
0681:                this .onblurExpr = onblurExpr;
0682:            }
0683:
0684:            /**
0685:             * Setter method for "onchange" tag attribute. (Mapping set in associated
0686:             * BeanInfo class.)
0687:             */
0688:            public void setOnchangeExpr(String onchangeExpr) {
0689:                this .onchangeExpr = onchangeExpr;
0690:            }
0691:
0692:            /**
0693:             * Setter method for "onclick" tag attribute. (Mapping set in associated
0694:             * BeanInfo class.)
0695:             */
0696:            public void setOnclickExpr(String onclickExpr) {
0697:                this .onclickExpr = onclickExpr;
0698:            }
0699:
0700:            /**
0701:             * Setter method for "ondblclick" tag attribute. (Mapping set in
0702:             * associated BeanInfo class.)
0703:             */
0704:            public void setOndblclickExpr(String ondblclickExpr) {
0705:                this .ondblclickExpr = ondblclickExpr;
0706:            }
0707:
0708:            /**
0709:             * Setter method for "onfocus" tag attribute. (Mapping set in associated
0710:             * BeanInfo class.)
0711:             */
0712:            public void setOnfocusExpr(String onfocusExpr) {
0713:                this .onfocusExpr = onfocusExpr;
0714:            }
0715:
0716:            /**
0717:             * Setter method for "onkeydown" tag attribute. (Mapping set in associated
0718:             * BeanInfo class.)
0719:             */
0720:            public void setOnkeydownExpr(String onkeydownExpr) {
0721:                this .onkeydownExpr = onkeydownExpr;
0722:            }
0723:
0724:            /**
0725:             * Setter method for "onkeypress" tag attribute. (Mapping set in
0726:             * associated BeanInfo class.)
0727:             */
0728:            public void setOnkeypressExpr(String onkeypressExpr) {
0729:                this .onkeypressExpr = onkeypressExpr;
0730:            }
0731:
0732:            /**
0733:             * Setter method for "onkeyup" tag attribute. (Mapping set in associated
0734:             * BeanInfo class.)
0735:             */
0736:            public void setOnkeyupExpr(String onkeyupExpr) {
0737:                this .onkeyupExpr = onkeyupExpr;
0738:            }
0739:
0740:            /**
0741:             * Setter method for "onmousedown" tag attribute. (Mapping set in
0742:             * associated BeanInfo class.)
0743:             */
0744:            public void setOnmousedownExpr(String onmousedownExpr) {
0745:                this .onmousedownExpr = onmousedownExpr;
0746:            }
0747:
0748:            /**
0749:             * Setter method for "onmousemove" tag attribute. (Mapping set in
0750:             * associated BeanInfo class.)
0751:             */
0752:            public void setOnmousemoveExpr(String onmousemoveExpr) {
0753:                this .onmousemoveExpr = onmousemoveExpr;
0754:            }
0755:
0756:            /**
0757:             * Setter method for "onmouseout" tag attribute. (Mapping set in
0758:             * associated BeanInfo class.)
0759:             */
0760:            public void setOnmouseoutExpr(String onmouseoutExpr) {
0761:                this .onmouseoutExpr = onmouseoutExpr;
0762:            }
0763:
0764:            /**
0765:             * Setter method for "onmouseover" tag attribute. (Mapping set in
0766:             * associated BeanInfo class.)
0767:             */
0768:            public void setOnmouseoverExpr(String onmouseoverExpr) {
0769:                this .onmouseoverExpr = onmouseoverExpr;
0770:            }
0771:
0772:            /**
0773:             * Setter method for "onmouseup" tag attribute. (Mapping set in associated
0774:             * BeanInfo class.)
0775:             */
0776:            public void setOnmouseupExpr(String onmouseupExpr) {
0777:                this .onmouseupExpr = onmouseupExpr;
0778:            }
0779:
0780:            /**
0781:             * Setter method for "property" tag attribute. (Mapping set in associated
0782:             * BeanInfo class.)
0783:             */
0784:            public void setPropertyExpr(String propertyExpr) {
0785:                this .propertyExpr = propertyExpr;
0786:            }
0787:
0788:            /**
0789:             * Setter method for "size" tag attribute. (Mapping set in associated
0790:             * BeanInfo class.)
0791:             */
0792:            public void setSizeExpr(String sizeExpr) {
0793:                this .sizeExpr = sizeExpr;
0794:            }
0795:
0796:            /**
0797:             * Setter method for "style" tag attribute. (Mapping set in associated
0798:             * BeanInfo class.)
0799:             */
0800:            public void setStyleExpr(String styleExpr) {
0801:                this .styleExpr = styleExpr;
0802:            }
0803:
0804:            /**
0805:             * Setter method for "styleClass" tag attribute. (Mapping set in
0806:             * associated BeanInfo class.)
0807:             */
0808:            public void setStyleClassExpr(String styleClassExpr) {
0809:                this .styleClassExpr = styleClassExpr;
0810:            }
0811:
0812:            /**
0813:             * Setter method for "styleId" tag attribute. (Mapping set in associated
0814:             * BeanInfo class.)
0815:             */
0816:            public void setStyleIdExpr(String styleIdExpr) {
0817:                this .styleIdExpr = styleIdExpr;
0818:            }
0819:
0820:            /**
0821:             * Setter method for "tabindex" tag attribute. (Mapping set in associated
0822:             * BeanInfo class.)
0823:             */
0824:            public void setTabindexExpr(String tabindexExpr) {
0825:                this .tabindexExpr = tabindexExpr;
0826:            }
0827:
0828:            /**
0829:             * Setter method for "title" tag attribute. (Mapping set in associated
0830:             * BeanInfo class.)
0831:             */
0832:            public void setTitleExpr(String titleExpr) {
0833:                this .titleExpr = titleExpr;
0834:            }
0835:
0836:            /**
0837:             * Setter method for "titleKey" tag attribute. (Mapping set in associated
0838:             * BeanInfo class.)
0839:             */
0840:            public void setTitleKeyExpr(String titleKeyExpr) {
0841:                this .titleKeyExpr = titleKeyExpr;
0842:            }
0843:
0844:            /**
0845:             * Setter method for "value" tag attribute. (Mapping set in associated
0846:             * BeanInfo class.)
0847:             */
0848:            public void setValueExpr(String valueExpr) {
0849:                this .valueExpr = valueExpr;
0850:            }
0851:
0852:            /**
0853:             * Resets attribute values for tag reuse.
0854:             */
0855:            public void release() {
0856:                super .release();
0857:                setAccesskeyExpr(null);
0858:                setAcceptExpr(null);
0859:                setAltExpr(null);
0860:                setAltKeyExpr(null);
0861:                setBundleExpr(null);
0862:                setDirExpr(null);
0863:                setDisabledExpr(null);
0864:                setErrorKeyExpr(null);
0865:                setErrorStyleExpr(null);
0866:                setErrorStyleClassExpr(null);
0867:                setErrorStyleIdExpr(null);
0868:                setIndexedExpr(null);
0869:                setLangExpr(null);
0870:                setMaxlengthExpr(null);
0871:                setNameExpr(null);
0872:                setOnblurExpr(null);
0873:                setOnchangeExpr(null);
0874:                setOnclickExpr(null);
0875:                setOndblclickExpr(null);
0876:                setOnfocusExpr(null);
0877:                setOnkeydownExpr(null);
0878:                setOnkeypressExpr(null);
0879:                setOnkeyupExpr(null);
0880:                setOnmousedownExpr(null);
0881:                setOnmousemoveExpr(null);
0882:                setOnmouseoutExpr(null);
0883:                setOnmouseoverExpr(null);
0884:                setOnmouseupExpr(null);
0885:                setPropertyExpr(null);
0886:                setSizeExpr(null);
0887:                setStyleExpr(null);
0888:                setStyleClassExpr(null);
0889:                setStyleIdExpr(null);
0890:                setTabindexExpr(null);
0891:                setTitleExpr(null);
0892:                setTitleKeyExpr(null);
0893:                setValueExpr(null);
0894:            }
0895:
0896:            /**
0897:             * Process the start tag.
0898:             *
0899:             * @throws JspException if a JSP exception has occurred
0900:             */
0901:            public int doStartTag() throws JspException {
0902:                evaluateExpressions();
0903:
0904:                return (super .doStartTag());
0905:            }
0906:
0907:            /**
0908:             * Processes all attribute values which use the JSTL expression evaluation
0909:             * engine to determine their values.
0910:             *
0911:             * @throws JspException if a JSP exception has occurred
0912:             */
0913:            private void evaluateExpressions() throws JspException {
0914:                String string = null;
0915:                Boolean bool = null;
0916:
0917:                if ((string = EvalHelper.evalString("accesskey",
0918:                        getAccesskeyExpr(), this , pageContext)) != null) {
0919:                    setAccesskey(string);
0920:                }
0921:
0922:                if ((string = EvalHelper.evalString("accept", getAcceptExpr(),
0923:                        this , pageContext)) != null) {
0924:                    setAccept(string);
0925:                }
0926:
0927:                if ((string = EvalHelper.evalString("alt", getAltExpr(), this ,
0928:                        pageContext)) != null) {
0929:                    setAlt(string);
0930:                }
0931:
0932:                if ((string = EvalHelper.evalString("altKey", getAltKeyExpr(),
0933:                        this , pageContext)) != null) {
0934:                    setAltKey(string);
0935:                }
0936:
0937:                if ((string = EvalHelper.evalString("bundle", getBundleExpr(),
0938:                        this , pageContext)) != null) {
0939:                    setBundle(string);
0940:                }
0941:
0942:                if ((string = EvalHelper.evalString("dir", getDirExpr(), this ,
0943:                        pageContext)) != null) {
0944:                    setDir(string);
0945:                }
0946:
0947:                if ((bool = EvalHelper.evalBoolean("disabled",
0948:                        getDisabledExpr(), this , pageContext)) != null) {
0949:                    setDisabled(bool.booleanValue());
0950:                }
0951:
0952:                if ((string = EvalHelper.evalString("errorKey",
0953:                        getErrorKeyExpr(), this , pageContext)) != null) {
0954:                    setErrorKey(string);
0955:                }
0956:
0957:                if ((string = EvalHelper.evalString("errorStyle",
0958:                        getErrorStyleExpr(), this , pageContext)) != null) {
0959:                    setErrorStyle(string);
0960:                }
0961:
0962:                if ((string = EvalHelper.evalString("errorStyleClass",
0963:                        getErrorStyleClassExpr(), this , pageContext)) != null) {
0964:                    setErrorStyleClass(string);
0965:                }
0966:
0967:                if ((string = EvalHelper.evalString("errorStyleId",
0968:                        getErrorStyleIdExpr(), this , pageContext)) != null) {
0969:                    setErrorStyleId(string);
0970:                }
0971:
0972:                if ((bool = EvalHelper.evalBoolean("indexed", getIndexedExpr(),
0973:                        this , pageContext)) != null) {
0974:                    setIndexed(bool.booleanValue());
0975:                }
0976:
0977:                if ((string = EvalHelper.evalString("lang", getLangExpr(),
0978:                        this , pageContext)) != null) {
0979:                    setLang(string);
0980:                }
0981:
0982:                if ((string = EvalHelper.evalString("maxlength",
0983:                        getMaxlengthExpr(), this , pageContext)) != null) {
0984:                    setMaxlength(string);
0985:                }
0986:
0987:                if ((string = EvalHelper.evalString("name", getNameExpr(),
0988:                        this , pageContext)) != null) {
0989:                    setName(string);
0990:                }
0991:
0992:                if ((string = EvalHelper.evalString("onblur", getOnblurExpr(),
0993:                        this , pageContext)) != null) {
0994:                    setOnblur(string);
0995:                }
0996:
0997:                if ((string = EvalHelper.evalString("onchange",
0998:                        getOnchangeExpr(), this , pageContext)) != null) {
0999:                    setOnchange(string);
1000:                }
1001:
1002:                if ((string = EvalHelper.evalString("onclick",
1003:                        getOnclickExpr(), this , pageContext)) != null) {
1004:                    setOnclick(string);
1005:                }
1006:
1007:                if ((string = EvalHelper.evalString("ondblclick",
1008:                        getOndblclickExpr(), this , pageContext)) != null) {
1009:                    setOndblclick(string);
1010:                }
1011:
1012:                if ((string = EvalHelper.evalString("onfocus",
1013:                        getOnfocusExpr(), this , pageContext)) != null) {
1014:                    setOnfocus(string);
1015:                }
1016:
1017:                if ((string = EvalHelper.evalString("onkeydown",
1018:                        getOnkeydownExpr(), this , pageContext)) != null) {
1019:                    setOnkeydown(string);
1020:                }
1021:
1022:                if ((string = EvalHelper.evalString("onkeypress",
1023:                        getOnkeypressExpr(), this , pageContext)) != null) {
1024:                    setOnkeypress(string);
1025:                }
1026:
1027:                if ((string = EvalHelper.evalString("onkeyup",
1028:                        getOnkeyupExpr(), this , pageContext)) != null) {
1029:                    setOnkeyup(string);
1030:                }
1031:
1032:                if ((string = EvalHelper.evalString("onmousedown",
1033:                        getOnmousedownExpr(), this , pageContext)) != null) {
1034:                    setOnmousedown(string);
1035:                }
1036:
1037:                if ((string = EvalHelper.evalString("onmousemove",
1038:                        getOnmousemoveExpr(), this , pageContext)) != null) {
1039:                    setOnmousemove(string);
1040:                }
1041:
1042:                if ((string = EvalHelper.evalString("onmouseout",
1043:                        getOnmouseoutExpr(), this , pageContext)) != null) {
1044:                    setOnmouseout(string);
1045:                }
1046:
1047:                if ((string = EvalHelper.evalString("onmouseover",
1048:                        getOnmouseoverExpr(), this , pageContext)) != null) {
1049:                    setOnmouseover(string);
1050:                }
1051:
1052:                if ((string = EvalHelper.evalString("onmouseup",
1053:                        getOnmouseupExpr(), this , pageContext)) != null) {
1054:                    setOnmouseup(string);
1055:                }
1056:
1057:                if ((string = EvalHelper.evalString("property",
1058:                        getPropertyExpr(), this , pageContext)) != null) {
1059:                    setProperty(string);
1060:                }
1061:
1062:                if ((string = EvalHelper.evalString("size", getSizeExpr(),
1063:                        this , pageContext)) != null) {
1064:                    setSize(string);
1065:                }
1066:
1067:                if ((string = EvalHelper.evalString("style", getStyleExpr(),
1068:                        this , pageContext)) != null) {
1069:                    setStyle(string);
1070:                }
1071:
1072:                if ((string = EvalHelper.evalString("styleClass",
1073:                        getStyleClassExpr(), this , pageContext)) != null) {
1074:                    setStyleClass(string);
1075:                }
1076:
1077:                if ((string = EvalHelper.evalString("styleId",
1078:                        getStyleIdExpr(), this , pageContext)) != null) {
1079:                    setStyleId(string);
1080:                }
1081:
1082:                if ((string = EvalHelper.evalString("tabindex",
1083:                        getTabindexExpr(), this , pageContext)) != null) {
1084:                    setTabindex(string);
1085:                }
1086:
1087:                if ((string = EvalHelper.evalString("title", getTitleExpr(),
1088:                        this , pageContext)) != null) {
1089:                    setTitle(string);
1090:                }
1091:
1092:                if ((string = EvalHelper.evalString("titleKey",
1093:                        getTitleKeyExpr(), this , pageContext)) != null) {
1094:                    setTitleKey(string);
1095:                }
1096:
1097:                if ((string = EvalHelper.evalString("value", getValueExpr(),
1098:                        this, pageContext)) != null) {
1099:                    setValue(string);
1100:                }
1101:            }
1102:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.