|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.ivata.mask.web.tag.FieldTag
Creates an input field, or displays the value for a field.
Note: you must set a session attribute
| 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 | |
FieldTag()
|
|
| Method Summary | |
int |
doStartTag()
Called when the tag is first encountered. |
com.ivata.mask.field.Field |
getField()
Field to be displayed. |
static FieldWriterFactory |
getFieldWriterFactory(javax.servlet.jsp.PageContext pageContext)
Get the field writer factory we'll be using to create field writers. |
com.ivata.mask.field.Field |
getSubField()
Sub-field within the field to be displayed. |
com.ivata.mask.valueobject.ValueObject |
getValueObject()
Value object to display/edit. |
boolean |
isDisabled()
If true, the field will not allow user entry. |
boolean |
isHidden()
If true, overrides the hidden value of the field definition,
to make this a hidden field. |
void |
setDisabled(boolean disabledParam)
If true, the field will not allow user entry. |
void |
setField(com.ivata.mask.field.Field fieldParam)
Stores the identifier of the field within this group to be displayed. |
void |
setHidden(boolean hiddenParam)
If true, overrides the hidden value of the field definition,
to make this a hidden field. |
void |
setSubField(com.ivata.mask.field.Field fieldParam)
Sub-field within the field to be displayed. |
void |
setValueObject(com.ivata.mask.valueobject.ValueObject object)
Value object to display/edit. |
| 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 |
public FieldTag()
| Method Detail |
public static FieldWriterFactory getFieldWriterFactory(javax.servlet.jsp.PageContext pageContext)
throws javax.servlet.jsp.JspException
Get the field writer factory we'll be using to create field writers.
pageContext - current tag page context, used to lookup the factory
attribute.
javax.servlet.jsp.JspException - if the field writer factory has not been set to an
application scope attribute called FieldWriterFactory.APPLICATION_ATTRIBUTE.
public int doStartTag()
throws javax.servlet.jsp.JspException
Called when the tag is first encountered. Simply diplays the field for now.
javax.servlet.jsp.JspExceptionTag.doStartTag()public com.ivata.mask.field.Field getField()
Field to be displayed.
public com.ivata.mask.field.Field getSubField()
Sub-field within the field to be displayed.
public com.ivata.mask.valueobject.ValueObject getValueObject()
Value object to display/edit.
public boolean isDisabled()
If true, the field will not allow user entry.
public boolean isHidden()
If true, overrides the hidden value of the field definition,
to make this a hidden field.
Field.isHidden()public void setDisabled(boolean disabledParam)
If true, the field will not allow user entry.
disabledParam - Set whether or not the field is disabled.public final void setField(com.ivata.mask.field.Field fieldParam)
Stores the identifier of the field within this group to be displayed.
fieldParam - definition of the field which this tag is going to
display/edit.public void setHidden(boolean hiddenParam)
If true, overrides the hidden value of the field definition,
to make this a hidden field.
hiddenParam - Set to true to hide the field, overriding
any setting in the field definition.Field.isHidden()public void setSubField(com.ivata.mask.field.Field fieldParam)
Sub-field within the field to be displayed.
fieldParam - Sub-field within the field to be displayed.public void setValueObject(com.ivata.mask.valueobject.ValueObject object)
Value object to display/edit.
object - value object to display/edit.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||