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