|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.dualselector.DualListSelectorTag
public class DualListSelectorTag
DualListSelectorTag is the tag handler class for the sas:DualListSelector custom tag . DualListSelectorTag is invoked by the JSP page to evaluate the sas:DualListSelector custom tag during the execution of the page. Tag handler methods are called by the JSP page implementation class at various points during the evaluation of the tag. The tag handler methods in turn call methods on the underlying Transformation Bean object, DualListSelector, to execute the methods.
If you need to extend or modify the functionality of the sas:DualListSelector custom tag, you can subclass this tag handler class.
For More Information:
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
Refer to the Custom Tag Library Reference for usage information on the sas:DualListSelector custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site.
BaseDualSelector
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
RB_KEY
|
Fields inherited from class com.sas.taglib.BaseBodyTag |
---|
DELIMITERS |
Constructor Summary | |
---|---|
DualListSelectorTag()
|
Method Summary | |
---|---|
protected void |
applyAttributes()
Sets the attributes on the underlying DualListSelector object. |
int |
doEndTag()
Process the end tag. |
int |
doStartTag()
Processes the start tag for this instance. |
java.lang.String |
getDescriptionModel()
Gets the descriptionmodel property of the DualListSelectorTag. |
java.lang.String |
getDoubleLeftArrowImage()
Gets the doubleLeftArrowImage property of the DualListSelectorTag. |
java.lang.String |
getDoubleRightArrowImage()
Gets the doubleRightArrowImage property of the DualListSelectorTag. |
java.lang.String |
getDownArrowImage()
Gets the downArrowImage property of the DualListSelectorTag. |
java.lang.String |
getFormAction()
Returns the value placed on the FORM tags ACTION= attribute. |
java.lang.String |
getFormMethod()
Gets the HTTP method to be used when sending the form contents to the server. |
java.lang.String |
getFormName()
Returns the form name |
java.lang.String |
getFormTarget()
Returns the window name that displays the data returned by the invoked program. |
java.lang.String |
getLeftArrowImage()
Gets the leftArrowImage property of the DualListSelectorTag. |
java.lang.String |
getModel()
Gets the model property of the DualListSelectorTag. |
boolean |
getMultipleSelections()
Gets the multiple property of the DualListSelectorTag. |
java.lang.String |
getPostDownTrigger()
Returns a name of JavaScript function name which will be executed after an item is moved down in the target component. |
java.lang.String |
getPostSourceTrigger()
Returns a name of JavaScript function name which will be executed after an item is moved from the source to the target list. |
java.lang.String |
getPostTargetTrigger()
Returns a name of JavaScript function name which will be executed after an item is moved from the target to the source list. |
java.lang.String |
getPostUpTrigger()
Returns a name of JavaScript function name which will be executed after an item is moved up in the target component. |
java.lang.String |
getPreDownTrigger()
Returns a name of JavaScript function name which will be executed before an item is moved down in the target component. |
java.lang.String |
getPreSourceTrigger()
Sets a JavaScript function name which will be executed before an item is moved from source to target. |
java.lang.String |
getPreTargetTrigger()
Returns a name of JavaScript function name which will be executed before an item is moved from the target to the source list. |
java.lang.String |
getPreUpTrigger()
Returns a name of JavaScript function name which will be executed before an item is moved up in the target component. |
java.lang.String |
getRightArrowImage()
Gets the rightArrowImage property of the DualListSelectorTag. |
int |
getSize()
Returns the size property (int) of the Listbox. |
java.lang.String |
getSourceLabel()
Gets the sourceLabel property of the DualListSelectorTag. |
java.lang.String |
getStyleClassPrefix()
Returns the style class prefix used for this selector. |
java.lang.String |
getSubmitButtonLabel()
Gets the submitButtonLabel property of the DualListSelectorTag. |
java.lang.String |
getTargetDescriptionModel()
Gets the descriptionmodel property of the DualListSelectorTag. |
java.lang.String |
getTargetLabel()
Gets the targetLabel property of the DualListSelectorTag. |
int |
getTargetMaximumCount()
Returns the maximum number of target items. |
java.lang.String |
getTargetModel()
Gets the model property of the DualListSelectorTag. |
java.lang.String |
getUpArrowImage()
Gets the upArrowImage property of the DualListSelectorTag. |
boolean |
getWriteForm()
Gets the writeForm property of the DualListSelectorTag. |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
boolean |
isSourceAlphabetized()
Gets the alphabetizeSource property of the DualListSelectorTag. |
boolean |
isStaticSourceAllowed()
Gets the staticSource property of the DualListSelectorTag. |
boolean |
isSubmitButtonVisible()
Gets the submitButtonVisible property of the DualListSelectorTag. |
boolean |
isTargetAlphabetized()
Gets the alphabetizeTarget property of the DualListSelectorTag. |
boolean |
isTargetButtonsVisible()
Gets the targetButtonsVisible property of the DualListSelectorTag. |
boolean |
isTargetDuplicateAllowed()
Gets the allowTargetDuplicate property of the DualListSelectorTag. |
boolean |
isTransferAllButtonVisible()
Gets the transferAllButtonVisible property of the DualListSelectorTag. |
void |
setDescriptionModel(java.lang.String descriptionmodel)
Sets the descriptionmodel property (String). |
void |
setDoubleLeftArrowImage(java.lang.String value)
Sets the doubleLeftArrowImage property of the DualListSelector. |
void |
setDoubleRightArrowImage(java.lang.String loc)
Sets the doubleRightArrowImage property of the DualListSelector. |
void |
setDownArrowImage(java.lang.String loc)
Sets the downArrowImage property of the DualListSelector. |
void |
setFormAction(java.lang.String value)
Sets the URL which is used to post forms or a server-side form handler (such as a servlet or JSP page) via HTTP (i.e. |
void |
setFormMethod(java.lang.String value)
Sets the HTTP method to be used when sending the form contents to the server. |
void |
setFormName(java.lang.String value)
Sets the form name |
void |
setFormTarget(java.lang.String value)
Sets the value placed on the FORM tags ACTION= attribute. |
void |
setLeftArrowImage(java.lang.String loc)
Sets the leftArrowImage property of the DualListSelector. |
void |
setModel(java.lang.String model)
Sets the model property (String). |
void |
setMultipleSelections(boolean multiple)
Sets the multiple property (boolean). |
void |
setPostDownTrigger(java.lang.String value)
Sets a JavaScript function name which will be executed after an item is moved down in the target component. |
void |
setPostSourceTrigger(java.lang.String value)
Sets a function name which will be executed after an item is moved from source to target. |
void |
setPostTargetTrigger(java.lang.String value)
Sets a JavaScript function name which will be executed after an item is moved from target to source. |
void |
setPostUpTrigger(java.lang.String value)
Sets a JavaScript function name which will be executed after an item is moved up in the target component. |
void |
setPreDownTrigger(java.lang.String value)
Sets a JavaScript function name which will be executed before an item is moved down in the target component. |
void |
setPreSourceTrigger(java.lang.String value)
Sets a JavaScript function name which will be executed before an item is moved from source to target. |
void |
setPreTargetTrigger(java.lang.String value)
Sets a JavaScript function name which will be executed before an item is moved from target to source. |
void |
setPreUpTrigger(java.lang.String value)
Sets a JavaScript function name which will be executed before an item is moved up in the target component. |
void |
setRightArrowImage(java.lang.String loc)
Sets the rightArrowImage property of the DualListSelector. |
void |
setSize(int size)
Sets the size property (int) of the DualListSelector. |
void |
setSourceAlphabetized(boolean alphabetizeSrc)
Sets the alphabetizeSource property (boolean). |
void |
setSourceLabel(java.lang.String srcLabel)
Sets the sourceLabel property (int) of the DualListSelector. |
void |
setStaticSource(boolean staticSrc)
Sets the staticSource property (boolean). |
void |
setStyleClassPrefix(java.lang.String value)
Sets the styleClassPrefix of the selector. |
void |
setSubmitButtonLabel(java.lang.String submitLabel)
Sets the SubmitButtonLabel property (int) of the DualListSelector. |
void |
setSubmitButtonVisible(boolean submitButton)
Sets the submitButtonVisible property (boolean). |
void |
setTargetAlphabetized(boolean alphabetizeTrg)
Sets the alphabetizeTarget property (boolean). |
void |
setTargetButtonsVisible(boolean targetButtons)
Sets the targetButtonsVisible property (boolean). |
void |
setTargetDescriptionModel(java.lang.String descriptionmodel)
Sets the targetdescriptionmodel property (String). |
void |
setTargetDuplicateAllowed(boolean targetDuplicate)
Sets the allowTargetDuplicate property (boolean). |
void |
setTargetLabel(java.lang.String trgLabel)
Sets the targetLabel property (int) of the DualListSelector. |
void |
setTargetMaximumCount(int max)
Sets the maximum number of target items. |
void |
setTargetModel(java.lang.String model)
Sets the model property (String). |
void |
setTransferAllButtonVisible(boolean allButtons)
Sets the transferAllButtonVisible property (boolean). |
void |
setUpArrowImage(java.lang.String loc)
Sets the upArrowImage property of the DualListSelector. |
void |
setWriteForm(boolean writeForm)
Sets the writeForm property (boolean). |
Methods inherited from class com.sas.taglib.servlet.tbeans.BaseTransformationBodyTag |
---|
getCustomAttributes, getEpilog, getLocale, getName, getObjectDataProperty, getProlog, getRender, getRenderType, setCustomAttributes, setEpilog, setLocale, setName, setObjectDataProperty, setProlog, setRender, setRenderType |
Methods inherited from class com.sas.taglib.BaseBodyTag |
---|
doCatch, doFinally, getApplyAttributes, getBodyStrings, getCompositeComponentKey, getInstantiate, getPageContext, getRef, getScope, getTagScope, getWrappedClassName, getWrappedObject, getWrappedObject, loadBeanInstance, newInstance, release, removeFromScope, searchContext, setApplyAttributes, setCompositeComponentKey, setInstantiate, setRef, setScope, setTagScope, setVariableWithinScope, setWrappedClassName, setWrappedObject, validate |
Field Detail |
---|
public static final java.lang.String RB_KEY
Constructor Detail |
---|
public DualListSelectorTag()
Method Detail |
---|
protected void initialize(boolean includeAttributes)
initialize
in class BaseTransformationBodyTag
includeAttributes
- Set to true if attributes are to be set to default values.public void setModel(java.lang.String model)
model
- The model of the DualListSelector.public java.lang.String getModel()
public void setTargetModel(java.lang.String model)
model
- The model of the DualListSelector.public java.lang.String getTargetModel()
public void setDescriptionModel(java.lang.String descriptionmodel)
descriptionmodel
- Alternate display name for items in the model at run-time.public java.lang.String getDescriptionModel()
public void setTargetDescriptionModel(java.lang.String descriptionmodel)
targetdescriptionmodel
- Alternate display name for items in the model at run-time.public java.lang.String getTargetDescriptionModel()
public void setMultipleSelections(boolean multiple)
multiple
- Specifies whether or not multiple items can be selected in the Listbox.public boolean getMultipleSelections()
public void setTargetButtonsVisible(boolean targetButtons)
targetButtons
- Specifies whether or not move up and move down buttons are visible.public boolean isTargetButtonsVisible()
public void setTransferAllButtonVisible(boolean allButtons)
allButtons
- Specifies whether or not move all buttons are visible.public boolean isTransferAllButtonVisible()
public void setSubmitButtonVisible(boolean submitButton)
submitButton
- Specifies whether or not the submit button is visible.public boolean isSubmitButtonVisible()
public void setWriteForm(boolean writeForm)
writeForm
- Specifies whether or not the form tag will be writtenpublic boolean getWriteForm()
public void setStaticSource(boolean staticSrc)
staticSource
- Specifies whether or not the item in the source list remain on the listpublic boolean isStaticSourceAllowed()
public void setSourceAlphabetized(boolean alphabetizeSrc)
alphabetizeSrc
- Specifies whether or not the source will be alphabetized
when item(s) are moved from the targetpublic boolean isSourceAlphabetized()
public void setTargetAlphabetized(boolean alphabetizeTrg)
alphabetizeTrg
- Specifies whether or not the source will be alphabetized
when item(s) are moved from the sourcepublic boolean isTargetAlphabetized()
public void setTargetDuplicateAllowed(boolean targetDuplicate)
targetDuplicate
- Specifies whether or not the target allow duplicate item(s)public boolean isTargetDuplicateAllowed()
public void setSize(int size)
size
- The viewable size of the Listbox at one time.public int getSize()
public void setTargetMaximumCount(int max)
max
- the maximum number of target items.public int getTargetMaximumCount()
public void setSourceLabel(java.lang.String srcLabel)
srcLabel
- The labelpublic java.lang.String getSourceLabel()
public void setTargetLabel(java.lang.String trgLabel)
trgLabel
- The labelpublic java.lang.String getTargetLabel()
public void setSubmitButtonLabel(java.lang.String submitLabel)
submitLabel
- The submit button labelpublic java.lang.String getSubmitButtonLabel()
public void setRightArrowImage(java.lang.String loc)
loc
- The image location of the right arrow.public java.lang.String getRightArrowImage()
public void setDoubleRightArrowImage(java.lang.String loc)
loc
- The image location of the double right arrow.public java.lang.String getDoubleRightArrowImage()
public void setLeftArrowImage(java.lang.String loc)
loc
- the image location of the left arrow.public java.lang.String getLeftArrowImage()
public void setDoubleLeftArrowImage(java.lang.String value)
loc
- the image location of the double left arrow.public java.lang.String getDoubleLeftArrowImage()
public void setUpArrowImage(java.lang.String loc)
loc
- the image location of the up arrow.public java.lang.String getUpArrowImage()
public void setDownArrowImage(java.lang.String loc)
loc
- the image location of the down arrow.public java.lang.String getDownArrowImage()
public void setFormName(java.lang.String value)
form
- namepublic java.lang.String getFormName()
public void setFormMethod(java.lang.String value)
method
- The HTTP methodpublic java.lang.String getFormMethod()
public void setFormAction(java.lang.String value)
action
- The action URLpublic java.lang.String getFormAction()
public void setFormTarget(java.lang.String value)
The
- value of the ACTION= attribute on the FORM tag.public java.lang.String getFormTarget()
public void setStyleClassPrefix(java.lang.String value)
value
- The styleClassPrefix to use for the selector.public java.lang.String getStyleClassPrefix()
public void setPostSourceTrigger(java.lang.String value)
value
- The postSourceTrigger JavaScript function name.public java.lang.String getPostSourceTrigger()
public void setPreSourceTrigger(java.lang.String value)
value
- The preSourceTrigger function name.public java.lang.String getPreSourceTrigger()
value
- The preSourceTrigger JavaScript function name.public java.lang.String getPostTargetTrigger()
public void setPostTargetTrigger(java.lang.String value)
value
- The postTargetTrigger JavaScript function name.public java.lang.String getPreTargetTrigger()
public void setPreTargetTrigger(java.lang.String value)
value
- The preTargetTrigger JavaScript function name.public java.lang.String getPostUpTrigger()
setPostUpTrigger(String)
public void setPostUpTrigger(java.lang.String value)
value
- The postTargetTrigger function name.public java.lang.String getPreUpTrigger()
public void setPreUpTrigger(java.lang.String value)
value
- The preTargetTrigger function name.public java.lang.String getPostDownTrigger()
setPostDownTrigger(String)
public void setPostDownTrigger(java.lang.String value)
value
- The postTargetTrigger function name.public java.lang.String getPreDownTrigger()
public void setPreDownTrigger(java.lang.String value)
value
- The preTargetTrigger function name.public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.BaseBodyTag.setInstantiate(boolean)
,
TagSupport.doStartTag()
protected void applyAttributes() throws javax.servlet.jsp.JspException
applyAttributes
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.TagSupport.doEndTag()
,
BaseBodyTag.setInstantiate(boolean)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |