0001: /*
0002: * $Id: ELLinkTag.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.LinkTag;
0024: import org.apache.strutsel.taglib.utils.EvalHelper;
0025:
0026: import javax.servlet.jsp.JspException;
0027:
0028: /**
0029: * Generate a URL-encoded hyperlink to the specified URI. <p> This class is a
0030: * subclass of the class <code>org.apache.struts.taglib.html.LinkTag</code>
0031: * which provides most of the described functionality. This subclass allows
0032: * all attribute values to be specified as expressions utilizing the
0033: * JavaServer Pages Standard Library expression language.
0034: *
0035: * @version $Rev: 479635 $
0036: */
0037: public class ELLinkTag extends LinkTag {
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 "action" tag attribute. (Mapping set in
0046: * associated BeanInfo class.)
0047: */
0048: private String actionExpr;
0049:
0050: /**
0051: * Instance variable mapped to "module" tag attribute. (Mapping set in
0052: * associated BeanInfo class.)
0053: */
0054: private String moduleExpr;
0055:
0056: /**
0057: * Instance variable mapped to "anchor" tag attribute. (Mapping set in
0058: * associated BeanInfo class.)
0059: */
0060: private String anchorExpr;
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 "forward" tag attribute. (Mapping set in
0076: * associated BeanInfo class.)
0077: */
0078: private String forwardExpr;
0079:
0080: /**
0081: * Instance variable mapped to "href" tag attribute. (Mapping set in
0082: * associated BeanInfo class.)
0083: */
0084: private String hrefExpr;
0085:
0086: /**
0087: * Instance variable mapped to "indexed" tag attribute. (Mapping set in
0088: * associated BeanInfo class.)
0089: */
0090: private String indexedExpr;
0091:
0092: /**
0093: * Instance variable mapped to "indexId" tag attribute. (Mapping set in
0094: * associated BeanInfo class.)
0095: */
0096: private String indexIdExpr;
0097:
0098: /**
0099: * Instance variable mapped to "lang" tag attribute. (Mapping set in
0100: * associated BeanInfo class.)
0101: */
0102: private String langExpr;
0103:
0104: /**
0105: * Instance variable mapped to "linkName" tag attribute. (Mapping set in
0106: * associated BeanInfo class.)
0107: */
0108: private String linkNameExpr;
0109:
0110: /**
0111: * Instance variable mapped to "name" tag attribute. (Mapping set in
0112: * associated BeanInfo class.)
0113: */
0114: private String nameExpr;
0115:
0116: /**
0117: * Instance variable mapped to "onblur" tag attribute. (Mapping set in
0118: * associated BeanInfo class.)
0119: */
0120: private String onblurExpr;
0121:
0122: /**
0123: * Instance variable mapped to "onclick" tag attribute. (Mapping set in
0124: * associated BeanInfo class.)
0125: */
0126: private String onclickExpr;
0127:
0128: /**
0129: * Instance variable mapped to "ondblclick" tag attribute. (Mapping set in
0130: * associated BeanInfo class.)
0131: */
0132: private String ondblclickExpr;
0133:
0134: /**
0135: * Instance variable mapped to "onfocus" tag attribute. (Mapping set in
0136: * associated BeanInfo class.)
0137: */
0138: private String onfocusExpr;
0139:
0140: /**
0141: * Instance variable mapped to "onkeydown" tag attribute. (Mapping set in
0142: * associated BeanInfo class.)
0143: */
0144: private String onkeydownExpr;
0145:
0146: /**
0147: * Instance variable mapped to "onkeypress" tag attribute. (Mapping set in
0148: * associated BeanInfo class.)
0149: */
0150: private String onkeypressExpr;
0151:
0152: /**
0153: * Instance variable mapped to "onkeyup" tag attribute. (Mapping set in
0154: * associated BeanInfo class.)
0155: */
0156: private String onkeyupExpr;
0157:
0158: /**
0159: * Instance variable mapped to "onmousedown" tag attribute. (Mapping set
0160: * in associated BeanInfo class.)
0161: */
0162: private String onmousedownExpr;
0163:
0164: /**
0165: * Instance variable mapped to "onmousemove" tag attribute. (Mapping set
0166: * in associated BeanInfo class.)
0167: */
0168: private String onmousemoveExpr;
0169:
0170: /**
0171: * Instance variable mapped to "onmouseout" tag attribute. (Mapping set in
0172: * associated BeanInfo class.)
0173: */
0174: private String onmouseoutExpr;
0175:
0176: /**
0177: * Instance variable mapped to "onmouseover" tag attribute. (Mapping set
0178: * in associated BeanInfo class.)
0179: */
0180: private String onmouseoverExpr;
0181:
0182: /**
0183: * Instance variable mapped to "onmouseup" tag attribute. (Mapping set in
0184: * associated BeanInfo class.)
0185: */
0186: private String onmouseupExpr;
0187:
0188: /**
0189: * Instance variable mapped to "page" tag attribute. (Mapping set in
0190: * associated BeanInfo class.)
0191: */
0192: private String pageExpr;
0193:
0194: /**
0195: * Instance variable mapped to "paramId" tag attribute. (Mapping set in
0196: * associated BeanInfo class.)
0197: */
0198: private String paramIdExpr;
0199:
0200: /**
0201: * Instance variable mapped to "paramName" tag attribute. (Mapping set in
0202: * associated BeanInfo class.)
0203: */
0204: private String paramNameExpr;
0205:
0206: /**
0207: * Instance variable mapped to "paramProperty" tag attribute. (Mapping set
0208: * in associated BeanInfo class.)
0209: */
0210: private String paramPropertyExpr;
0211:
0212: /**
0213: * Instance variable mapped to "paramScope" tag attribute. (Mapping set in
0214: * associated BeanInfo class.)
0215: */
0216: private String paramScopeExpr;
0217:
0218: /**
0219: * Instance variable mapped to "property" tag attribute. (Mapping set in
0220: * associated BeanInfo class.)
0221: */
0222: private String propertyExpr;
0223:
0224: /**
0225: * Instance variable mapped to "scope" tag attribute. (Mapping set in
0226: * associated BeanInfo class.)
0227: */
0228: private String scopeExpr;
0229:
0230: /**
0231: * Instance variable mapped to "style" tag attribute. (Mapping set in
0232: * associated BeanInfo class.)
0233: */
0234: private String styleExpr;
0235:
0236: /**
0237: * Instance variable mapped to "styleClass" tag attribute. (Mapping set in
0238: * associated BeanInfo class.)
0239: */
0240: private String styleClassExpr;
0241:
0242: /**
0243: * Instance variable mapped to "styleId" tag attribute. (Mapping set in
0244: * associated BeanInfo class.)
0245: */
0246: private String styleIdExpr;
0247:
0248: /**
0249: * Instance variable mapped to "tabindex" tag attribute. (Mapping set in
0250: * associated BeanInfo class.)
0251: */
0252: private String tabindexExpr;
0253:
0254: /**
0255: * Instance variable mapped to "target" tag attribute. (Mapping set in
0256: * associated BeanInfo class.)
0257: */
0258: private String targetExpr;
0259:
0260: /**
0261: * Instance variable mapped to "title" tag attribute. (Mapping set in
0262: * associated BeanInfo class.)
0263: */
0264: private String titleExpr;
0265:
0266: /**
0267: * Instance variable mapped to "titleKey" tag attribute. (Mapping set in
0268: * associated BeanInfo class.)
0269: */
0270: private String titleKeyExpr;
0271:
0272: /**
0273: * Instance variable mapped to "transaction" tag attribute. (Mapping set
0274: * in associated BeanInfo class.)
0275: */
0276: private String transactionExpr;
0277:
0278: /**
0279: * Instance variable mapped to "useLocalEncoding" tag attribute. (Mapping
0280: * set in associated BeanInfo class.)
0281: */
0282: private String useLocalEncodingExpr;
0283:
0284: /**
0285: * Getter method for "accessKey" tag attribute. (Mapping set in associated
0286: * BeanInfo class.)
0287: */
0288: public String getAccesskeyExpr() {
0289: return (accessKeyExpr);
0290: }
0291:
0292: /**
0293: * Getter method for "action" tag attribute. (Mapping set in associated
0294: * BeanInfo class.)
0295: */
0296: public String getActionExpr() {
0297: return (actionExpr);
0298: }
0299:
0300: /**
0301: * Getter method for "module" tag attribute. (Mapping set in associated
0302: * BeanInfo class.)
0303: */
0304: public String getModuleExpr() {
0305: return (moduleExpr);
0306: }
0307:
0308: /**
0309: * Getter method for "anchor" tag attribute. (Mapping set in associated
0310: * BeanInfo class.)
0311: */
0312: public String getAnchorExpr() {
0313: return (anchorExpr);
0314: }
0315:
0316: /**
0317: * Getter method for "bundle" tag attribute. (Mapping set in associated
0318: * BeanInfo class.)
0319: */
0320: public String getBundleExpr() {
0321: return (bundleExpr);
0322: }
0323:
0324: /**
0325: * Getter method for "dir" tag attribute. (Mapping set in associated
0326: * BeanInfo class.)
0327: */
0328: public String getDirExpr() {
0329: return (dirExpr);
0330: }
0331:
0332: /**
0333: * Getter method for "forward" tag attribute. (Mapping set in associated
0334: * BeanInfo class.)
0335: */
0336: public String getForwardExpr() {
0337: return (forwardExpr);
0338: }
0339:
0340: /**
0341: * Getter method for "href" tag attribute. (Mapping set in associated
0342: * BeanInfo class.)
0343: */
0344: public String getHrefExpr() {
0345: return (hrefExpr);
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 "indexId" tag attribute. (Mapping set in associated
0358: * BeanInfo class.)
0359: */
0360: public String getIndexIdExpr() {
0361: return (indexIdExpr);
0362: }
0363:
0364: /**
0365: * Getter method for "lang" tag attribute. (Mapping set in associated
0366: * BeanInfo class.)
0367: */
0368: public String getLangExpr() {
0369: return (langExpr);
0370: }
0371:
0372: /**
0373: * Getter method for "linkName" tag attribute. (Mapping set in associated
0374: * BeanInfo class.)
0375: */
0376: public String getLinkNameExpr() {
0377: return (linkNameExpr);
0378: }
0379:
0380: /**
0381: * Getter method for "name" tag attribute. (Mapping set in associated
0382: * BeanInfo class.)
0383: */
0384: public String getNameExpr() {
0385: return (nameExpr);
0386: }
0387:
0388: /**
0389: * Getter method for "onblur" tag attribute. (Mapping set in associated
0390: * BeanInfo class.)
0391: */
0392: public String getOnblurExpr() {
0393: return (onblurExpr);
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 "page" tag attribute. (Mapping set in associated
0486: * BeanInfo class.)
0487: */
0488: public String getPageExpr() {
0489: return (pageExpr);
0490: }
0491:
0492: /**
0493: * Getter method for "paramId" tag attribute. (Mapping set in associated
0494: * BeanInfo class.)
0495: */
0496: public String getParamIdExpr() {
0497: return (paramIdExpr);
0498: }
0499:
0500: /**
0501: * Getter method for "paramName" tag attribute. (Mapping set in associated
0502: * BeanInfo class.)
0503: */
0504: public String getParamNameExpr() {
0505: return (paramNameExpr);
0506: }
0507:
0508: /**
0509: * Getter method for "paramProperty" tag attribute. (Mapping set in
0510: * associated BeanInfo class.)
0511: */
0512: public String getParamPropertyExpr() {
0513: return (paramPropertyExpr);
0514: }
0515:
0516: /**
0517: * Getter method for "paramScope" tag attribute. (Mapping set in
0518: * associated BeanInfo class.)
0519: */
0520: public String getParamScopeExpr() {
0521: return (paramScopeExpr);
0522: }
0523:
0524: /**
0525: * Getter method for "property" tag attribute. (Mapping set in associated
0526: * BeanInfo class.)
0527: */
0528: public String getPropertyExpr() {
0529: return (propertyExpr);
0530: }
0531:
0532: /**
0533: * Getter method for "scope" tag attribute. (Mapping set in associated
0534: * BeanInfo class.)
0535: */
0536: public String getScopeExpr() {
0537: return (scopeExpr);
0538: }
0539:
0540: /**
0541: * Getter method for "style" tag attribute. (Mapping set in associated
0542: * BeanInfo class.)
0543: */
0544: public String getStyleExpr() {
0545: return (styleExpr);
0546: }
0547:
0548: /**
0549: * Getter method for "styleClass" tag attribute. (Mapping set in
0550: * associated BeanInfo class.)
0551: */
0552: public String getStyleClassExpr() {
0553: return (styleClassExpr);
0554: }
0555:
0556: /**
0557: * Getter method for "styleId" tag attribute. (Mapping set in associated
0558: * BeanInfo class.)
0559: */
0560: public String getStyleIdExpr() {
0561: return (styleIdExpr);
0562: }
0563:
0564: /**
0565: * Getter method for "tabindex" tag attribute. (Mapping set in associated
0566: * BeanInfo class.)
0567: */
0568: public String getTabindexExpr() {
0569: return (tabindexExpr);
0570: }
0571:
0572: /**
0573: * Getter method for "target" tag attribute. (Mapping set in associated
0574: * BeanInfo class.)
0575: */
0576: public String getTargetExpr() {
0577: return (targetExpr);
0578: }
0579:
0580: /**
0581: * Getter method for "title" tag attribute. (Mapping set in associated
0582: * BeanInfo class.)
0583: */
0584: public String getTitleExpr() {
0585: return (titleExpr);
0586: }
0587:
0588: /**
0589: * Getter method for "titleKey" tag attribute. (Mapping set in associated
0590: * BeanInfo class.)
0591: */
0592: public String getTitleKeyExpr() {
0593: return (titleKeyExpr);
0594: }
0595:
0596: /**
0597: * Getter method for "transaction" tag attribute. (Mapping set in
0598: * associated BeanInfo class.)
0599: */
0600: public String getTransactionExpr() {
0601: return (transactionExpr);
0602: }
0603:
0604: /**
0605: * Getter method for "useLocalEncoding" tag attribute. (Mapping set in
0606: * associated BeanInfo class.)
0607: */
0608: public String getUseLocalEncodingExpr() {
0609: return (useLocalEncodingExpr);
0610: }
0611:
0612: /**
0613: * Setter method for "accessKey" tag attribute. (Mapping set in associated
0614: * BeanInfo class.)
0615: */
0616: public void setAccesskeyExpr(String accessKeyExpr) {
0617: this .accessKeyExpr = accessKeyExpr;
0618: }
0619:
0620: /**
0621: * Setter method for "action" tag attribute. (Mapping set in associated
0622: * BeanInfo class.)
0623: */
0624: public void setActionExpr(String actionExpr) {
0625: this .actionExpr = actionExpr;
0626: }
0627:
0628: /**
0629: * Setter method for "module" tag attribute. (Mapping set in associated
0630: * BeanInfo class.)
0631: */
0632: public void setModuleExpr(String moduleExpr) {
0633: this .moduleExpr = moduleExpr;
0634: }
0635:
0636: /**
0637: * Setter method for "anchor" tag attribute. (Mapping set in associated
0638: * BeanInfo class.)
0639: */
0640: public void setAnchorExpr(String anchorExpr) {
0641: this .anchorExpr = anchorExpr;
0642: }
0643:
0644: /**
0645: * Setter method for "bundle" tag attribute. (Mapping set in associated
0646: * BeanInfo class.)
0647: */
0648: public void setBundleExpr(String bundleExpr) {
0649: this .bundleExpr = bundleExpr;
0650: }
0651:
0652: /**
0653: * Setter method for "dir" tag attribute. (Mapping set in associated
0654: * BeanInfo class.)
0655: */
0656: public void setDirExpr(String dirExpr) {
0657: this .dirExpr = dirExpr;
0658: }
0659:
0660: /**
0661: * Setter method for "forward" tag attribute. (Mapping set in associated
0662: * BeanInfo class.)
0663: */
0664: public void setForwardExpr(String forwardExpr) {
0665: this .forwardExpr = forwardExpr;
0666: }
0667:
0668: /**
0669: * Setter method for "href" tag attribute. (Mapping set in associated
0670: * BeanInfo class.)
0671: */
0672: public void setHrefExpr(String hrefExpr) {
0673: this .hrefExpr = hrefExpr;
0674: }
0675:
0676: /**
0677: * Setter method for "indexed" tag attribute. (Mapping set in associated
0678: * BeanInfo class.)
0679: */
0680: public void setIndexedExpr(String indexedExpr) {
0681: this .indexedExpr = indexedExpr;
0682: }
0683:
0684: /**
0685: * Setter method for "indexId" tag attribute. (Mapping set in associated
0686: * BeanInfo class.)
0687: */
0688: public void setIndexIdExpr(String indexIdExpr) {
0689: this .indexIdExpr = indexIdExpr;
0690: }
0691:
0692: /**
0693: * Setter method for "lang" tag attribute. (Mapping set in associated
0694: * BeanInfo class.)
0695: */
0696: public void setLangExpr(String langExpr) {
0697: this .langExpr = langExpr;
0698: }
0699:
0700: /**
0701: * Setter method for "linkName" tag attribute. (Mapping set in associated
0702: * BeanInfo class.)
0703: */
0704: public void setLinkNameExpr(String linkNameExpr) {
0705: this .linkNameExpr = linkNameExpr;
0706: }
0707:
0708: /**
0709: * Setter method for "name" tag attribute. (Mapping set in associated
0710: * BeanInfo class.)
0711: */
0712: public void setNameExpr(String nameExpr) {
0713: this .nameExpr = nameExpr;
0714: }
0715:
0716: /**
0717: * Setter method for "onblur" tag attribute. (Mapping set in associated
0718: * BeanInfo class.)
0719: */
0720: public void setOnblurExpr(String onblurExpr) {
0721: this .onblurExpr = onblurExpr;
0722: }
0723:
0724: /**
0725: * Setter method for "onclick" tag attribute. (Mapping set in associated
0726: * BeanInfo class.)
0727: */
0728: public void setOnclickExpr(String onclickExpr) {
0729: this .onclickExpr = onclickExpr;
0730: }
0731:
0732: /**
0733: * Setter method for "ondblclick" tag attribute. (Mapping set in
0734: * associated BeanInfo class.)
0735: */
0736: public void setOndblclickExpr(String ondblclickExpr) {
0737: this .ondblclickExpr = ondblclickExpr;
0738: }
0739:
0740: /**
0741: * Setter method for "onfocus" tag attribute. (Mapping set in associated
0742: * BeanInfo class.)
0743: */
0744: public void setOnfocusExpr(String onfocusExpr) {
0745: this .onfocusExpr = onfocusExpr;
0746: }
0747:
0748: /**
0749: * Setter method for "onkeydown" tag attribute. (Mapping set in associated
0750: * BeanInfo class.)
0751: */
0752: public void setOnkeydownExpr(String onkeydownExpr) {
0753: this .onkeydownExpr = onkeydownExpr;
0754: }
0755:
0756: /**
0757: * Setter method for "onkeypress" tag attribute. (Mapping set in
0758: * associated BeanInfo class.)
0759: */
0760: public void setOnkeypressExpr(String onkeypressExpr) {
0761: this .onkeypressExpr = onkeypressExpr;
0762: }
0763:
0764: /**
0765: * Setter method for "onkeyup" tag attribute. (Mapping set in associated
0766: * BeanInfo class.)
0767: */
0768: public void setOnkeyupExpr(String onkeyupExpr) {
0769: this .onkeyupExpr = onkeyupExpr;
0770: }
0771:
0772: /**
0773: * Setter method for "onmousedown" tag attribute. (Mapping set in
0774: * associated BeanInfo class.)
0775: */
0776: public void setOnmousedownExpr(String onmousedownExpr) {
0777: this .onmousedownExpr = onmousedownExpr;
0778: }
0779:
0780: /**
0781: * Setter method for "onmousemove" tag attribute. (Mapping set in
0782: * associated BeanInfo class.)
0783: */
0784: public void setOnmousemoveExpr(String onmousemoveExpr) {
0785: this .onmousemoveExpr = onmousemoveExpr;
0786: }
0787:
0788: /**
0789: * Setter method for "onmouseout" tag attribute. (Mapping set in
0790: * associated BeanInfo class.)
0791: */
0792: public void setOnmouseoutExpr(String onmouseoutExpr) {
0793: this .onmouseoutExpr = onmouseoutExpr;
0794: }
0795:
0796: /**
0797: * Setter method for "onmouseover" tag attribute. (Mapping set in
0798: * associated BeanInfo class.)
0799: */
0800: public void setOnmouseoverExpr(String onmouseoverExpr) {
0801: this .onmouseoverExpr = onmouseoverExpr;
0802: }
0803:
0804: /**
0805: * Setter method for "onmouseup" tag attribute. (Mapping set in associated
0806: * BeanInfo class.)
0807: */
0808: public void setOnmouseupExpr(String onmouseupExpr) {
0809: this .onmouseupExpr = onmouseupExpr;
0810: }
0811:
0812: /**
0813: * Setter method for "page" tag attribute. (Mapping set in associated
0814: * BeanInfo class.)
0815: */
0816: public void setPageExpr(String pageExpr) {
0817: this .pageExpr = pageExpr;
0818: }
0819:
0820: /**
0821: * Setter method for "paramId" tag attribute. (Mapping set in associated
0822: * BeanInfo class.)
0823: */
0824: public void setParamIdExpr(String paramIdExpr) {
0825: this .paramIdExpr = paramIdExpr;
0826: }
0827:
0828: /**
0829: * Setter method for "paramName" tag attribute. (Mapping set in associated
0830: * BeanInfo class.)
0831: */
0832: public void setParamNameExpr(String paramNameExpr) {
0833: this .paramNameExpr = paramNameExpr;
0834: }
0835:
0836: /**
0837: * Setter method for "paramProperty" tag attribute. (Mapping set in
0838: * associated BeanInfo class.)
0839: */
0840: public void setParamPropertyExpr(String paramPropertyExpr) {
0841: this .paramPropertyExpr = paramPropertyExpr;
0842: }
0843:
0844: /**
0845: * Setter method for "paramScope" tag attribute. (Mapping set in
0846: * associated BeanInfo class.)
0847: */
0848: public void setParamScopeExpr(String paramScopeExpr) {
0849: this .paramScopeExpr = paramScopeExpr;
0850: }
0851:
0852: /**
0853: * Setter method for "property" tag attribute. (Mapping set in associated
0854: * BeanInfo class.)
0855: */
0856: public void setPropertyExpr(String propertyExpr) {
0857: this .propertyExpr = propertyExpr;
0858: }
0859:
0860: /**
0861: * Setter method for "scope" tag attribute. (Mapping set in associated
0862: * BeanInfo class.)
0863: */
0864: public void setScopeExpr(String scopeExpr) {
0865: this .scopeExpr = scopeExpr;
0866: }
0867:
0868: /**
0869: * Setter method for "style" tag attribute. (Mapping set in associated
0870: * BeanInfo class.)
0871: */
0872: public void setStyleExpr(String styleExpr) {
0873: this .styleExpr = styleExpr;
0874: }
0875:
0876: /**
0877: * Setter method for "styleClass" tag attribute. (Mapping set in
0878: * associated BeanInfo class.)
0879: */
0880: public void setStyleClassExpr(String styleClassExpr) {
0881: this .styleClassExpr = styleClassExpr;
0882: }
0883:
0884: /**
0885: * Setter method for "styleId" tag attribute. (Mapping set in associated
0886: * BeanInfo class.)
0887: */
0888: public void setStyleIdExpr(String styleIdExpr) {
0889: this .styleIdExpr = styleIdExpr;
0890: }
0891:
0892: /**
0893: * Setter method for "tabindex" tag attribute. (Mapping set in associated
0894: * BeanInfo class.)
0895: */
0896: public void setTabindexExpr(String tabindexExpr) {
0897: this .tabindexExpr = tabindexExpr;
0898: }
0899:
0900: /**
0901: * Setter method for "target" tag attribute. (Mapping set in associated
0902: * BeanInfo class.)
0903: */
0904: public void setTargetExpr(String targetExpr) {
0905: this .targetExpr = targetExpr;
0906: }
0907:
0908: /**
0909: * Setter method for "title" tag attribute. (Mapping set in associated
0910: * BeanInfo class.)
0911: */
0912: public void setTitleExpr(String titleExpr) {
0913: this .titleExpr = titleExpr;
0914: }
0915:
0916: /**
0917: * Setter method for "titleKey" tag attribute. (Mapping set in associated
0918: * BeanInfo class.)
0919: */
0920: public void setTitleKeyExpr(String titleKeyExpr) {
0921: this .titleKeyExpr = titleKeyExpr;
0922: }
0923:
0924: /**
0925: * Setter method for "transaction" tag attribute. (Mapping set in
0926: * associated BeanInfo class.)
0927: */
0928: public void setTransactionExpr(String transactionExpr) {
0929: this .transactionExpr = transactionExpr;
0930: }
0931:
0932: /**
0933: * Setter method for "useLocalEncoding" tag attribute. (Mapping set in
0934: * associated BeanInfo class.)
0935: */
0936: public void setUseLocalEncodingExpr(String useLocalEncodingExpr) {
0937: this .useLocalEncodingExpr = useLocalEncodingExpr;
0938: }
0939:
0940: /**
0941: * Resets attribute values for tag reuse.
0942: */
0943: public void release() {
0944: super .release();
0945: setAccesskeyExpr(null);
0946: setActionExpr(null);
0947: setModuleExpr(null);
0948: setAnchorExpr(null);
0949: setBundleExpr(null);
0950: setDirExpr(null);
0951: setForwardExpr(null);
0952: setHrefExpr(null);
0953: setIndexedExpr(null);
0954: setIndexIdExpr(null);
0955: setLangExpr(null);
0956: setLinkNameExpr(null);
0957: setNameExpr(null);
0958: setOnblurExpr(null);
0959: setOnclickExpr(null);
0960: setOndblclickExpr(null);
0961: setOnfocusExpr(null);
0962: setOnkeydownExpr(null);
0963: setOnkeypressExpr(null);
0964: setOnkeyupExpr(null);
0965: setOnmousedownExpr(null);
0966: setOnmousemoveExpr(null);
0967: setOnmouseoutExpr(null);
0968: setOnmouseoverExpr(null);
0969: setOnmouseupExpr(null);
0970: setPageExpr(null);
0971: setParamIdExpr(null);
0972: setParamNameExpr(null);
0973: setParamPropertyExpr(null);
0974: setParamScopeExpr(null);
0975: setPropertyExpr(null);
0976: setScopeExpr(null);
0977: setStyleExpr(null);
0978: setStyleClassExpr(null);
0979: setStyleIdExpr(null);
0980: setTabindexExpr(null);
0981: setTargetExpr(null);
0982: setTitleExpr(null);
0983: setTitleKeyExpr(null);
0984: setTransactionExpr(null);
0985: setUseLocalEncodingExpr(null);
0986: }
0987:
0988: /**
0989: * Process the start tag.
0990: *
0991: * @throws JspException if a JSP exception has occurred
0992: */
0993: public int doStartTag() throws JspException {
0994: evaluateExpressions();
0995:
0996: return (super .doStartTag());
0997: }
0998:
0999: /**
1000: * Processes all attribute values which use the JSTL expression evaluation
1001: * engine to determine their values.
1002: *
1003: * @throws JspException if a JSP exception has occurred
1004: */
1005: private void evaluateExpressions() throws JspException {
1006: String string = null;
1007: Boolean bool = null;
1008:
1009: if ((string = EvalHelper.evalString("accessKey",
1010: getAccesskeyExpr(), this , pageContext)) != null) {
1011: setAccesskey(string);
1012: }
1013:
1014: if ((string = EvalHelper.evalString("action", getActionExpr(),
1015: this , pageContext)) != null) {
1016: setAction(string);
1017: }
1018:
1019: if ((string = EvalHelper.evalString("module", getModuleExpr(),
1020: this , pageContext)) != null) {
1021: setModule(string);
1022: }
1023:
1024: if ((string = EvalHelper.evalString("anchor", getAnchorExpr(),
1025: this , pageContext)) != null) {
1026: setAnchor(string);
1027: }
1028:
1029: if ((string = EvalHelper.evalString("bundle", getBundleExpr(),
1030: this , pageContext)) != null) {
1031: setBundle(string);
1032: }
1033:
1034: if ((string = EvalHelper.evalString("dir", getDirExpr(), this ,
1035: pageContext)) != null) {
1036: setDir(string);
1037: }
1038:
1039: if ((string = EvalHelper.evalString("forward",
1040: getForwardExpr(), this , pageContext)) != null) {
1041: setForward(string);
1042: }
1043:
1044: if ((string = EvalHelper.evalString("href", getHrefExpr(),
1045: this , pageContext)) != null) {
1046: setHref(string);
1047: }
1048:
1049: if ((bool = EvalHelper.evalBoolean("indexed", getIndexedExpr(),
1050: this , pageContext)) != null) {
1051: setIndexed(bool.booleanValue());
1052: }
1053:
1054: if ((string = EvalHelper.evalString("indexId",
1055: getIndexIdExpr(), this , pageContext)) != null) {
1056: setIndexId(string);
1057: }
1058:
1059: if ((string = EvalHelper.evalString("lang", getLangExpr(),
1060: this , pageContext)) != null) {
1061: setLang(string);
1062: }
1063:
1064: if ((string = EvalHelper.evalString("linkName",
1065: getLinkNameExpr(), this , pageContext)) != null) {
1066: setLinkName(string);
1067: }
1068:
1069: if ((string = EvalHelper.evalString("name", getNameExpr(),
1070: this , pageContext)) != null) {
1071: setName(string);
1072: }
1073:
1074: if ((string = EvalHelper.evalString("onblur", getOnblurExpr(),
1075: this , pageContext)) != null) {
1076: setOnblur(string);
1077: }
1078:
1079: if ((string = EvalHelper.evalString("onclick",
1080: getOnclickExpr(), this , pageContext)) != null) {
1081: setOnclick(string);
1082: }
1083:
1084: if ((string = EvalHelper.evalString("ondblclick",
1085: getOndblclickExpr(), this , pageContext)) != null) {
1086: setOndblclick(string);
1087: }
1088:
1089: if ((string = EvalHelper.evalString("onfocus",
1090: getOnfocusExpr(), this , pageContext)) != null) {
1091: setOnfocus(string);
1092: }
1093:
1094: if ((string = EvalHelper.evalString("onkeydown",
1095: getOnkeydownExpr(), this , pageContext)) != null) {
1096: setOnkeydown(string);
1097: }
1098:
1099: if ((string = EvalHelper.evalString("onkeypress",
1100: getOnkeypressExpr(), this , pageContext)) != null) {
1101: setOnkeypress(string);
1102: }
1103:
1104: if ((string = EvalHelper.evalString("onkeyup",
1105: getOnkeyupExpr(), this , pageContext)) != null) {
1106: setOnkeyup(string);
1107: }
1108:
1109: if ((string = EvalHelper.evalString("onmousedown",
1110: getOnmousedownExpr(), this , pageContext)) != null) {
1111: setOnmousedown(string);
1112: }
1113:
1114: if ((string = EvalHelper.evalString("onmousemove",
1115: getOnmousemoveExpr(), this , pageContext)) != null) {
1116: setOnmousemove(string);
1117: }
1118:
1119: if ((string = EvalHelper.evalString("onmouseout",
1120: getOnmouseoutExpr(), this , pageContext)) != null) {
1121: setOnmouseout(string);
1122: }
1123:
1124: if ((string = EvalHelper.evalString("onmouseover",
1125: getOnmouseoverExpr(), this , pageContext)) != null) {
1126: setOnmouseover(string);
1127: }
1128:
1129: if ((string = EvalHelper.evalString("onmouseup",
1130: getOnmouseupExpr(), this , pageContext)) != null) {
1131: setOnmouseup(string);
1132: }
1133:
1134: if ((string = EvalHelper.evalString("page", getPageExpr(),
1135: this , pageContext)) != null) {
1136: setPage(string);
1137: }
1138:
1139: if ((string = EvalHelper.evalString("paramId",
1140: getParamIdExpr(), this , pageContext)) != null) {
1141: setParamId(string);
1142: }
1143:
1144: if ((string = EvalHelper.evalString("paramName",
1145: getParamNameExpr(), this , pageContext)) != null) {
1146: setParamName(string);
1147: }
1148:
1149: if ((string = EvalHelper.evalString("paramProperty",
1150: getParamPropertyExpr(), this , pageContext)) != null) {
1151: setParamProperty(string);
1152: }
1153:
1154: if ((string = EvalHelper.evalString("paramScope",
1155: getParamScopeExpr(), this , pageContext)) != null) {
1156: setParamScope(string);
1157: }
1158:
1159: if ((string = EvalHelper.evalString("property",
1160: getPropertyExpr(), this , pageContext)) != null) {
1161: setProperty(string);
1162: }
1163:
1164: if ((string = EvalHelper.evalString("scope", getScopeExpr(),
1165: this , pageContext)) != null) {
1166: setScope(string);
1167: }
1168:
1169: if ((string = EvalHelper.evalString("style", getStyleExpr(),
1170: this , pageContext)) != null) {
1171: setStyle(string);
1172: }
1173:
1174: if ((string = EvalHelper.evalString("styleClass",
1175: getStyleClassExpr(), this , pageContext)) != null) {
1176: setStyleClass(string);
1177: }
1178:
1179: if ((string = EvalHelper.evalString("styleId",
1180: getStyleIdExpr(), this , pageContext)) != null) {
1181: setStyleId(string);
1182: }
1183:
1184: if ((string = EvalHelper.evalString("tabindex",
1185: getTabindexExpr(), this , pageContext)) != null) {
1186: setTabindex(string);
1187: }
1188:
1189: if ((string = EvalHelper.evalString("target", getTargetExpr(),
1190: this , pageContext)) != null) {
1191: setTarget(string);
1192: }
1193:
1194: if ((string = EvalHelper.evalString("title", getTitleExpr(),
1195: this , pageContext)) != null) {
1196: setTitle(string);
1197: }
1198:
1199: if ((string = EvalHelper.evalString("titleKey",
1200: getTitleKeyExpr(), this , pageContext)) != null) {
1201: setTitleKey(string);
1202: }
1203:
1204: if ((bool = EvalHelper.evalBoolean("transaction",
1205: getTransactionExpr(), this , pageContext)) != null) {
1206: setTransaction(bool.booleanValue());
1207: }
1208:
1209: if ((bool = EvalHelper.evalBoolean("useLocalEncoding",
1210: getUseLocalEncodingExpr(), this, pageContext)) != null) {
1211: setUseLocalEncoding(bool.booleanValue());
1212: }
1213: }
1214: }
|