labeltag.java

来自「webwork source」· Java 代码 · 共 37 行

JAVA
37
字号
/* * 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;/** *	<b>label</b> tag. * *	@author Matt Baldree (matt@smallleap.com) *	@version $Revision: 1.4 $ */public class LabelTag extends ComponentTag{   // Attributes ----------------------------------------------------   // Public --------------------------------------------------------   public String getTemplate()   {      return "label";   }   // BodyTag implementation ----------------------------------------   public int doEndTag()      throws JspException   {      if(valueAttr == null)         valueAttr = nameAttr;      return super.doEndTag();   }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?