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