📄 elformtag.java
字号:
public void setActionExpr(String actionExpr) {
this.actionExpr = actionExpr;
}
/**
* Setter method for "dir" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public void setDirExpr(String dirExpr) {
this.dirExpr = dirExpr;
}
/**
* Setter method for "disabled" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public void setDisabledExpr(String disabledExpr) {
this.disabledExpr = disabledExpr;
}
/**
* Setter method for "enctype" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public void setEnctypeExpr(String enctypeExpr) {
this.enctypeExpr = enctypeExpr;
}
/**
* Setter method for "focus" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public void setFocusExpr(String focusExpr) {
this.focusExpr = focusExpr;
}
/**
* Setter method for "focusIndex" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
public void setFocusIndexExpr(String focusIndexExpr) {
this.focusIndexExpr = focusIndexExpr;
}
/**
* Setter method for "lang" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public void setLangExpr(String langExpr) {
this.langExpr = langExpr;
}
/**
* Setter method for "method" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public void setMethodExpr(String methodExpr) {
this.methodExpr = methodExpr;
}
/**
* Setter method for "onreset" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public void setOnresetExpr(String onresetExpr) {
this.onresetExpr = onresetExpr;
}
/**
* Setter method for "onsubmit" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public void setOnsubmitExpr(String onsubmitExpr) {
this.onsubmitExpr = onsubmitExpr;
}
/**
* Setter method for "readonly" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public void setReadonlyExpr(String readonlyExpr) {
this.readonlyExpr = readonlyExpr;
}
/**
* Setter method for "scriptLanguage" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
public void setScriptLanguageExpr(String scriptLanguageExpr) {
this.scriptLanguageExpr = scriptLanguageExpr;
}
/**
* Setter method for "style" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public void setStyleExpr(String styleExpr) {
this.styleExpr = styleExpr;
}
/**
* Setter method for "styleClass" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
public void setStyleClassExpr(String styleClassExpr) {
this.styleClassExpr = styleClassExpr;
}
/**
* Setter method for "styleId" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public void setStyleIdExpr(String styleIdExpr) {
this.styleIdExpr = styleIdExpr;
}
/**
* Setter method for "target" tag attribute. (Mapping set in associated
* BeanInfo class.)
*/
public void setTargetExpr(String targetExpr) {
this.targetExpr = targetExpr;
}
/**
* Setter method for "acceptCharset" tag attribute. (Mapping set in
* associated BeanInfo class.)
*/
public void setAcceptCharsetExpr(String acceptCharsetExpr) {
this.acceptCharsetExpr = acceptCharsetExpr;
}
/**
* Resets attribute values for tag reuse.
*/
public void release() {
super.release();
setActionExpr(null);
setDirExpr(null);
setDisabledExpr(null);
setEnctypeExpr(null);
setFocusExpr(null);
setFocusIndexExpr(null);
setLangExpr(null);
setMethodExpr(null);
setOnresetExpr(null);
setOnsubmitExpr(null);
setReadonlyExpr(null);
setScriptLanguageExpr(null);
setStyleExpr(null);
setStyleClassExpr(null);
setStyleIdExpr(null);
setTargetExpr(null);
setAcceptCharsetExpr(null);
}
/**
* Process the start tag.
*
* @throws JspException if a JSP exception has occurred
*/
public int doStartTag() throws JspException {
evaluateExpressions();
return (super.doStartTag());
}
/**
* Processes all attribute values which use the JSTL expression evaluation
* engine to determine their values.
*
* @throws JspException if a JSP exception has occurred
*/
private void evaluateExpressions()
throws JspException {
String string = null;
Boolean bool = null;
if ((string =
EvalHelper.evalString("action", getActionExpr(), this,
pageContext)) != null) {
setAction(string);
}
if ((string =
EvalHelper.evalString("dir", getDirExpr(), this,
pageContext)) != null) {
setDir(string);
}
if ((bool =
EvalHelper.evalBoolean("disabled", getDisabledExpr(), this,
pageContext)) != null) {
setDisabled(bool.booleanValue());
}
if ((string =
EvalHelper.evalString("enctype", getEnctypeExpr(), this,
pageContext)) != null) {
setEnctype(string);
}
if ((string =
EvalHelper.evalString("focus", getFocusExpr(), this, pageContext)) != null) {
setFocus(string);
}
if ((string =
EvalHelper.evalString("focusIndex", getFocusIndexExpr(), this,
pageContext)) != null) {
setFocusIndex(string);
}
if ((string =
EvalHelper.evalString("lang", getLangExpr(), this,
pageContext)) != null) {
setLang(string);
}
if ((string =
EvalHelper.evalString("method", getMethodExpr(), this,
pageContext)) != null) {
setMethod(string);
}
if ((string =
EvalHelper.evalString("onreset", getOnresetExpr(), this,
pageContext)) != null) {
setOnreset(string);
}
if ((string =
EvalHelper.evalString("onsubmit", getOnsubmitExpr(), this,
pageContext)) != null) {
setOnsubmit(string);
}
if ((bool =
EvalHelper.evalBoolean("readonly", getReadonlyExpr(), this,
pageContext)) != null) {
setReadonly(bool.booleanValue());
}
if ((bool =
EvalHelper.evalBoolean("scriptLanguage",
getScriptLanguageExpr(), this, pageContext)) != null) {
setScriptLanguage(bool.booleanValue());
}
if ((string =
EvalHelper.evalString("style", getStyleExpr(), this, pageContext)) != null) {
setStyle(string);
}
if ((string =
EvalHelper.evalString("styleClass", getStyleClassExpr(), this,
pageContext)) != null) {
setStyleClass(string);
}
if ((string =
EvalHelper.evalString("styleId", getStyleIdExpr(), this,
pageContext)) != null) {
setStyleId(string);
}
if ((string =
EvalHelper.evalString("target", getTargetExpr(), this,
pageContext)) != null) {
setTarget(string);
}
if ((string =
EvalHelper.evalString("acceptCharset", getAcceptCharsetExpr(),
this, pageContext)) != null) {
setAcceptCharset(string);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -