iSeries WebFacing
v5.0

com.ibm.etools.iseries.webfacing.tags.impl
Class WFFieldTagSupport

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--com.ibm.etools.iseries.webfacing.tags.impl.WFBodyTagSupport
                    |
                    +--com.ibm.etools.iseries.webfacing.tags.impl.WFFieldTagSupport
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
WFMTFld, WFProgDef, WFUserDef

public class WFFieldTagSupport
extends WFBodyTagSupport

See Also:
Serialized Form

Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.iseries.webfacing.tags.impl.WFBodyTagSupport
context, MT, name, parent, record
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
WFFieldTagSupport()
           
 
Method Summary
 String getclass()
          Returns the css style class.
 String getCtrlrcd()
          Retrieve the subfile row number as a string
 String getField()
          Retrieve the field name
 String getFieldId()
          Given the field name and record name and a reference to the record, construct the html id.
 String getFieldValue()
           
 String getHtmlafter()
          Returns the html to be presented after the field.
 String getHtmlbefore()
          Returns the html to be presented before the field html.
 String getOnblur()
          Returns the onblur.
 String getOnclick()
          Returns the onclick.
 String getRecord()
          Returns the record name.
 String getSflrow()
          Retrieve the subfile row number as a string
 String getStyle()
          Returns the style.
 boolean isProtected()
          Return true if this field is protected.
 boolean isVisible()
          Return true if this field is visible on the screen.
 void release()
          Clean up locals ready for the next call;
 void setClass(String _class)
          Saves the style class.
 void setCtrlrcd(String parm)
          Set the subfile row number for this field
 void setField(String parm)
          Set the field name
 void setHtmlafter(String htmlafter)
          Save the html to be presented afer the field
 void setHtmlbefore(String htmlbefore)
          Save teh html to be presented before the field
 void setOnblur(String onblur)
          Sets the onblur.
 void setOnclick(String onclick)
          Sets the onclick.
 void setRecord(String parm)
          Stores the record name.
 void setSflrow(String parm)
          Set the subfile row number for this field
 void setStyle(String style)
          Sets the style.
 
Methods inherited from class com.ibm.etools.iseries.webfacing.tags.impl.WFBodyTagSupport
getLogger, logMsg, setPageContext, setParent
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent
 

Field Detail

Copyright

public static final String Copyright
Constructor Detail

WFFieldTagSupport

public WFFieldTagSupport()
Method Detail

release

public void release()
Clean up locals ready for the next call;
Overrides:
release in class WFBodyTagSupport

getFieldValue

public String getFieldValue()

getField

public String getField()
Retrieve the field name

setField

public void setField(String parm)
Set the field name

getFieldId

public String getFieldId()
Given the field name and record name and a reference to the record, construct the html id.

isVisible

public boolean isVisible()
Return true if this field is visible on the screen. For most fields, when the field is not visible then no html will be emitted by the tag.

isProtected

public boolean isProtected()
Return true if this field is protected. Protected fields cannot be changed and are rendered as read-only.

getRecord

public String getRecord()
Returns the record name.
Returns:
String

setRecord

public void setRecord(String parm)
Stores the record name.
Parameters:
record - The record to set

getclass

public String getclass()
Returns the css style class.
Returns:
String

getHtmlafter

public String getHtmlafter()
Returns the html to be presented after the field.
Returns:
String

getHtmlbefore

public String getHtmlbefore()
Returns the html to be presented before the field html.
Returns:
String

getOnblur

public String getOnblur()
Returns the onblur.
Returns:
String

getOnclick

public String getOnclick()
Returns the onclick.
Returns:
String

getStyle

public String getStyle()
Returns the style.
Returns:
String

setClass

public void setClass(String _class)
Saves the style class.
Parameters:
_class - The class to set

setHtmlafter

public void setHtmlafter(String htmlafter)
Save the html to be presented afer the field
Parameters:
htmlafter -  

setHtmlbefore

public void setHtmlbefore(String htmlbefore)
Save teh html to be presented before the field
Parameters:
htmlbefore - The htmlbefore to set

setOnblur

public void setOnblur(String onblur)
Sets the onblur.
Parameters:
onblur - The onblur to set

setOnclick

public void setOnclick(String onclick)
Sets the onclick.
Parameters:
onclick - The onclick to set

setStyle

public void setStyle(String style)
Sets the style.
Parameters:
style - The style to set

setSflrow

public void setSflrow(String parm)
Set the subfile row number for this field

getSflrow

public String getSflrow()
Retrieve the subfile row number as a string

setCtrlrcd

public void setCtrlrcd(String parm)
Set the subfile row number for this field

getCtrlrcd

public String getCtrlrcd()
Retrieve the subfile row number as a string

iSeries WebFacing
v5.0

Copyright © 2003 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.