📄 elformtag.java
字号:
/*
* $Id: ELFormTag.java 479635 2006-11-27 14:27:18Z pbenedict $
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.strutsel.taglib.html;
import org.apache.struts.taglib.html.FormTag;
import org.apache.strutsel.taglib.utils.EvalHelper;
import javax.servlet.jsp.JspException;
/**
* Custom tag that represents an input form, associated with a bean whose
* properties correspond to the various fields of the form. <p> This class is
* a subclass of the class <code>org.apache.struts.taglib.html.FormTag</code>
* which provides most of the described functionality. This subclass allows
* all attribute values to be specified as expressions utilizing the
* JavaServer Pages Standard Library expression language.
*
* @version $Rev: 479635 $
*/
public class ELFormTag extends FormTag {
/**
* Instance variable mapped to "action" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String actionExpr;
/**
* Instance variable mapped to "dir" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String dirExpr;
/**
* Instance variable mapped to "disabled" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String disabledExpr;
/**
* Instance variable mapped to "enctype" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String enctypeExpr;
/**
* Instance variable mapped to "focus" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String focusExpr;
/**
* Instance variable mapped to "focusIndex" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String focusIndexExpr;
/**
* Instance variable mapped to "lang" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String langExpr;
/**
* Instance variable mapped to "method" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String methodExpr;
/**
* Instance variable mapped to "onreset" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String onresetExpr;
/**
* Instance variable mapped to "onsubmit" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String onsubmitExpr;
/**
* Instance variable mapped to "readonly" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String readonlyExpr;
/**
* Instance variable mapped to "scriptLanguage" tag attribute. (Mapping
* set in associated BeanInfo class.)
*/
private String scriptLanguageExpr;
/**
* Instance variable mapped to "style" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String styleExpr;
/**
* Instance variable mapped to "styleClass" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String styleClassExpr;
/**
* Instance variable mapped to "styleId" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String styleIdExpr;
/**
* Instance variable mapped to "target" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
private String targetExpr;
/**
* Instance variable mapped to "acceptCharset" tag attribute. (Mapping set
* in associated BeanInfo class.)
*/
private String acceptCharsetExpr;
/**
* Getter method for "action" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getActionExpr() {
return (actionExpr);
}
/**
* Getter method for "dir" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getDirExpr() {
return (dirExpr);
}
/**
* Getter method for "disabled" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getDisabledExpr() {
return (disabledExpr);
}
/**
* Getter method for "enctype" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getEnctypeExpr() {
return (enctypeExpr);
}
/**
* Getter method for "focus" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getFocusExpr() {
return (focusExpr);
}
/**
* Getter method for "focusIndex" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
public String getFocusIndexExpr() {
return (focusIndexExpr);
}
/**
* Getter method for "lang" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getLangExpr() {
return (langExpr);
}
/**
* Getter method for "method" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getMethodExpr() {
return (methodExpr);
}
/**
* Getter method for "onreset" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getOnresetExpr() {
return (onresetExpr);
}
/**
* Getter method for "onsubmit" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getOnsubmitExpr() {
return (onsubmitExpr);
}
/**
* Getter method for "readonly" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getReadonlyExpr() {
return (readonlyExpr);
}
/**
* Getter method for "scriptLanguage" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
public String getScriptLanguageExpr() {
return (scriptLanguageExpr);
}
/**
* Getter method for "style" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getStyleExpr() {
return (styleExpr);
}
/**
* Getter method for "styleClass" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
public String getStyleClassExpr() {
return (styleClassExpr);
}
/**
* Getter method for "styleId" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getStyleIdExpr() {
return (styleIdExpr);
}
/**
* Getter method for "target" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public String getTargetExpr() {
return (targetExpr);
}
/**
* Getter method for "acceptCharset" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
public String getAcceptCharsetExpr() {
return (acceptCharsetExpr);
}
/**
* Setter method for "action" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -