📄 checkboxtag.java
字号:
/* * WebWork, Web Application Framework * * Distributable under Apache license. * See terms of license at opensource.org */package webwork.view.taglib.ui;import javax.servlet.jsp.JspException;/** * Checkbox tag. * * @author Rickard 謆erg (rickard@dreambean.com) * @version $Revision: 1.4 $ */public class CheckBoxTag extends AbstractHTMLComponentTag{ // Attributes ---------------------------------------------------- protected String fieldValue; // Public -------------------------------------------------------- public String getTemplate() { return "checkbox"; } public void setFieldValue(String aValue) { this.fieldValue = aValue; } // BodyTag implementation ---------------------------------------- public int doEndTag() throws JspException { if (fieldValue != null) this.addParameter("fieldValue", findValue(fieldValue)); return super.doEndTag(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -