com.ivata.mask.web.tag
Class FieldLabelTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.ivata.mask.web.tag.FieldLabelTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class FieldLabelTag
extends javax.servlet.jsp.tagext.TagSupport

Creates an input field, or displays the value for a field.

Since:
ivata masks 0.1 (2004-05-11)
Version:
$Revision: 1.7 $ TODO: replace this class with LabelTag from the HTML package.
Author:
Colin MacLeod colin.macleod@ivata.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
FieldLabelTag()
           
 
Method Summary
 int doStartTag()
           Called when the tag is first encountered.
 java.lang.String getBundle()
           Struts message resources bundle.
 com.ivata.mask.field.Field getField()
           Field to be displayed.
 com.ivata.mask.field.Field getSubField()
           Sub-field within the field to be displayed.
 void setBundle(java.lang.String string)
           Struts message resources bundle.
 void setField(com.ivata.mask.field.Field fieldParam)
           Field to be displayed.
 void setSubField(com.ivata.mask.field.Field fieldParam)
           Sub-field within the field to be displayed.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldLabelTag

public FieldLabelTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException

Called when the tag is first encountered. Simply diplays the field for now.

Throws:
javax.servlet.jsp.JspException
See Also:
Tag.doStartTag()

getBundle

public final java.lang.String getBundle()

Struts message resources bundle.

Returns:
Struts message resources bundle.

getField

public com.ivata.mask.field.Field getField()

Field to be displayed.

Returns:
field to be displayed.

getSubField

public com.ivata.mask.field.Field getSubField()

Sub-field within the field to be displayed.

Returns:
Sub-field within the field to be displayed.

setBundle

public final void setBundle(java.lang.String string)

Struts message resources bundle.

Parameters:
string - Struts message resources bundle.

setField

public void setField(com.ivata.mask.field.Field fieldParam)

Field to be displayed.

Parameters:
fieldParam - field to be displayed.

setSubField

public void setSubField(com.ivata.mask.field.Field fieldParam)

Sub-field within the field to be displayed.

Parameters:
fieldParam - Sub-field within the field to be displayed.


Copyright © 2001-2005 ivata limited. All Rights Reserved.