Package org.openxava.web.taglib
Class LabelTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.openxava.web.taglib.LabelTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class LabelTag extends javax.servlet.jsp.tagext.TagSupport
JSP Taglabel
to get a translated label with the OpenXava translation mechanism. Typical usage:<xava:label key="depth" />
- Author:
- Florian Hof
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LabelTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doStartTag()
java.lang.String
getKey()
void
setKey(java.lang.String string)
-
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
-
getKey
public java.lang.String getKey()
-
setKey
public void setKey(java.lang.String string)
-
-