wt.part
Class TwoWayAltCheckBoxComponent

java.lang.Object
  extended bywt.templateutil.components.HTMLComponent
      extended bywt.templateutil.components.HTMLTableCellComponent
          extended bywt.templateutil.components.DisableableCheckBoxCellComponent
              extended bywt.templateutil.components.CheckBoxCellComponent
                  extended bywt.part.TwoWayAltCheckBoxComponent
All Implemented Interfaces:
Serializable

public class TwoWayAltCheckBoxComponent
extends CheckBoxCellComponent
implements Serializable

TwoWayAltCheckBoxComponent is a HTML component used to display the "Two-Way" checkbox in the table on the Define Part Alternates HTML page. It modifies the behavior of the CheckBoxCellComponent by prechecking the two-way checkbox when the form is first displayed if an alternate link from the alternate back to the context object is found.

See Also:
Serialized Form

Field Summary
static String BEGIN_CHECKBOX_NAME
           
private static String CLASSNAME
           
static String CONTEXT_SEPARATOR
           
private static String RESOURCE
           
private  String tableContext
           
private static boolean VERBOSE
           
 
Fields inherited from class wt.templateutil.components.DisableableCheckBoxCellComponent
COMPONENT_ID_CHECKBOX_SUFFIX
 
Fields inherited from class wt.templateutil.components.HTMLTableCellComponent
ALIGN, BGCOLOR, COLSPAN, HEIGHT, NOWRAP, ROWSPAN, showBold, TAG, TD_ALIGN, TD_CLASS, TD_COLSPAN, TD_HEIGHT, TD_ID, TD_NOWRAP, TD_ROWSPAN, TD_VALIGN, TD_WIDTH, VALIGN, WIDTH
 
Fields inherited from class wt.templateutil.components.HTMLComponent
CLASS, COMPONENT_ID, COMPONENT_ID_SEPARATOR, CREATE, DEFAULT_SERVICE_NAME, DEFAULTS_ONLY, EMPTY_STRING, ID, ID_US_ENGLISH_LOCALE, NAME, NULLVALUE, PRINT_TAG_ATTR, SERVICENAME, UPDATE, VIEW
 
Constructor Summary
TwoWayAltCheckBoxComponent()
           
 
Method Summary
 String show(Object value, Properties formData, OutputStream os, Locale locale)
          Displays the two-way checkbox
 
Methods inherited from class wt.templateutil.components.CheckBoxCellComponent
isDisabled
 
Methods inherited from class wt.templateutil.components.DisableableCheckBoxCellComponent
getTableContext, init, setTableContext
 
Methods inherited from class wt.templateutil.components.HTMLTableCellComponent
getTag, isShowBold, setShowBold, setTagListArray, showSubComponents, startComponent
 
Methods inherited from class wt.templateutil.components.HTMLComponent
appendID, appendID, appendToID, appendToID, createIDForComponent, endComponent, getHtmlComponents, getID, getIdProp, getName, getOID, getPrintWriter, getRealValue, getServiceName, getState, getTagID, getTagIDKey, getTagList, getTagSettings, getURLFactory, insertID, insertID, isInheritStyle, isPrintTagAttributes, isUseDefaultsOnly, main, putTagID, putTagID, removeID, removeTagID, setHtmlComponents, setID, setInheritStyle, setName, setPrintTagAttributes, setServiceName, setState, setTag, setTagList, setTagListDefaults, setTagSettings, setTagValue, setUseDefaultsOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

tableContext

private String tableContext

CONTEXT_SEPARATOR

public static String CONTEXT_SEPARATOR

BEGIN_CHECKBOX_NAME

public static String BEGIN_CHECKBOX_NAME

VERBOSE

private static final boolean VERBOSE
See Also:
Constant Field Values
Constructor Detail

TwoWayAltCheckBoxComponent

public TwoWayAltCheckBoxComponent()
Method Detail

show

public String show(Object value,
                   Properties formData,
                   OutputStream os,
                   Locale locale)
Displays the two-way checkbox

Overrides:
show in class DisableableCheckBoxCellComponent
Parameters:
value -
formData -
os -
locale -
Returns:
String