Class PromptCartXHTMLTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.AbstractLayoutTransform
-
- com.microstrategy.web.app.transforms.AbstractPromptObjectTransform
-
- com.microstrategy.web.app.transforms.AbstractPromptExpressionTransform
-
- com.microstrategy.web.app.transforms.PromptCartXHTMLTransform
-
- All Implemented Interfaces:
EnumPromptsBeanEvents,LayoutTransform,Transform
- Direct Known Subclasses:
PromptExpressionCartXHTMLTransform,PromptObjectBrowsingXHTMLTransform
public class PromptCartXHTMLTransform extends AbstractPromptExpressionTransform implements LayoutTransform
Renders prompt content in a "shopping cart" style. It provides of minimun settings for creating simplest prompt cart style.
This class is extended by different types of prompts specializing current behavior for meeting prompt specific needs.
The output of this Transform generates well-formed XHTML, supports layout-xml, and it's designed to use external css files for all formatting.- Since:
- MicroStrategy Web 8.0.0
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String_imgBlankReference to a transparent image to use for display purposesFormalParameteravailableSizeThe number of elements that the Available list box displays.FormalParametermatchCaseSpecifies whether the match case checkbox is displayed or not next to a search section.FormalParametersearchAvailableSpecifies whether the transform should display a search section.FormalParameterselectedSizeThe number of elements that the Selected list box displays.-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractPromptExpressionTransform
attrFormTypeInAvailableList, defaultOperatorId, editMetricQualificationOutputLevel, inputFromTextFile
-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractPromptObjectTransform
_blockCount, _calendar, _cssPrefix, _dataTypeForCalendar, _globalCss, _imagesFolder, cssPrefix, imgBackToTop, imgCalendar, imgError, isDhtmlMode, levelFlag, showRequired
-
Fields inherited from interface com.microstrategy.web.beans.EnumPromptsBeanEvents
ANSWER_SEPARATOR, EXPRESSION_SEPARATOR, ITEM_SEPARATOR, ITEM_SPECIAL_SEPARATOR, PROMPTS_EVENT_ADD_UNITS, PROMPTS_EVENT_ANSWER_ALL_PROMPTS, PROMPTS_EVENT_ANSWER_ANY_PROMPTS, PROMPTS_EVENT_ANSWER_CONSTANT_PROMPT, PROMPTS_EVENT_ANSWER_DIMTY_PROMPT, PROMPTS_EVENT_ANSWER_ELEMENTS_PROMPT, PROMPTS_EVENT_ANSWER_EXPRESSION_PROMPT, PROMPTS_EVENT_ANSWER_OBJECTS_PROMPT, PROMPTS_EVENT_ANSWER_PROMPTS_IN_ADVANCE, PROMPTS_EVENT_ARGUMENT_ACTION_ADD_UNITS, PROMPTS_EVENT_ARGUMENT_ACTION_ANSWER_PROMPT, PROMPTS_EVENT_ARGUMENT_ACTION_BROWSE_CHILD_FOLDER, PROMPTS_EVENT_ARGUMENT_ACTION_BROWSE_ELEMENT, PROMPTS_EVENT_ARGUMENT_ACTION_BROWSE_PARENT_FOLDER, PROMPTS_EVENT_ARGUMENT_ACTION_CANCEL_PROMPT, PROMPTS_EVENT_ARGUMENT_ACTION_CLEAR_EXISTING_AND_ADD_UNITS, PROMPTS_EVENT_ARGUMENT_ACTION_DRILL_WITHIN_HIERARCHY, PROMPTS_EVENT_ARGUMENT_ACTION_HIGHLIGHT_DIMENSION, PROMPTS_EVENT_ARGUMENT_ACTION_HIGHLIGHT_DIMENSION_ATTRIBUTE, PROMPTS_EVENT_ARGUMENT_ACTION_INCREMENTAL_FETCH, PROMPTS_EVENT_ARGUMENT_ACTION_REMOVE_UNITS, PROMPTS_EVENT_ARGUMENT_ACTION_SEARCH_BY_NAME, PROMPTS_EVENT_ARGUMENT_ACTION_SHOW_SUMMARY, PROMPTS_EVENT_ARGUMENT_ANSWER, PROMPTS_EVENT_ARGUMENT_ANSWER_FORMAT, PROMPTS_EVENT_ARGUMENT_ANSWER_MODE_OPTION, PROMPTS_EVENT_ARGUMENT_ANSWER_OPTIONS, PROMPTS_EVENT_ARGUMENT_ATTRIBUTE_ID, PROMPTS_EVENT_ARGUMENT_ATTRIBUTE_ID_AND_FORM_ID, PROMPTS_EVENT_ARGUMENT_BLOCK_BEGIN, PROMPTS_EVENT_ARGUMENT_BLOCK_COUNT, PROMPTS_EVENT_ARGUMENT_BROWSE_PATH, PROMPTS_EVENT_ARGUMENT_CALENDAR_BUTTON, PROMPTS_EVENT_ARGUMENT_CHILD_FOLDER_ID, PROMPTS_EVENT_ARGUMENT_DIMENSION_ID, PROMPTS_EVENT_ARGUMENT_DO_NOT_AUTO_REPROMPT, PROMPTS_EVENT_ARGUMENT_DRILL_TO_ATTRIBUTE_ID, PROMPTS_EVENT_ARGUMENT_EXEC_FLAGS, PROMPTS_EVENT_ARGUMENT_FILTER_STRING, PROMPTS_EVENT_ARGUMENT_FUNCTION, PROMPTS_EVENT_ARGUMENT_HIDDEN_ATTRIBUTE_ID, PROMPTS_EVENT_ARGUMENT_HIDDEN_DIMENSION_ID, PROMPTS_EVENT_ARGUMENT_INCREMENTAL_FETCH_GOTO_PAGE, PROMPTS_EVENT_ARGUMENT_LINK_ANSWERS, PROMPTS_EVENT_ARGUMENT_MATCH_CASE, PROMPTS_EVENT_ARGUMENT_MESSAGE_ALIAS, PROMPTS_EVENT_ARGUMENT_METRIC_ID, PROMPTS_EVENT_ARGUMENT_NAVIGATION, PROMPTS_EVENT_ARGUMENT_OBJECT_TYPE, PROMPTS_EVENT_ARGUMENT_ORIGIN_MESSAGE_ID, PROMPTS_EVENT_ARGUMENT_ORIGIN_SHORT_ANSWER_XML, PROMPTS_EVENT_ARGUMENT_PARENT_FOLDER_ID, PROMPTS_EVENT_ARGUMENT_PLAIN_ELEMENT_PROMPT_ANSWER, PROMPTS_EVENT_ARGUMENT_PLAIN_OBJECT_PROMPT_ANSWER, PROMPTS_EVENT_ARGUMENT_PLAIN_VALUE_PROMPT_ANSWER, PROMPTS_EVENT_ARGUMENT_PROMPT_POSITION, PROMPTS_EVENT_ARGUMENT_REOPEN_PROMPT, PROMPTS_EVENT_ARGUMENT_SAP_VARIABLE_EXCLUDE, PROMPTS_EVENT_ARGUMENT_SEARCH_NAME, PROMPTS_EVENT_ARGUMENT_SEARCH_ROOT, PROMPTS_EVENT_ARGUMENT_SRC_ANSWERS, PROMPTS_EVENT_ARGUMENT_SUB_ROOT_OPERATOR, PROMPTS_EVENT_ARGUMENT_SUBMIT_ANSWER, PROMPTS_EVENT_ARGUMENT_UNITS_TO_ADD, PROMPTS_EVENT_ARGUMENT_UNITS_TO_REMOVE, PROMPTS_EVENT_ARGUMENT_USE_SET_ANSWERS, PROMPTS_EVENT_ARGUMENT_USER_SEPARATOR, PROMPTS_EVENT_BROWSE_DIMENSION_ATTRIBUTE_ELEMENTS, PROMPTS_EVENT_BROWSE_ELEMENTS, PROMPTS_EVENT_BROWSE_HIERARCHICAL_CHILD_FOLDER, PROMPTS_EVENT_BROWSE_HIERARCHICAL_PARENT_FOLDER, PROMPTS_EVENT_CANCEL_ALL_PROMPTS, PROMPTS_EVENT_CANCEL_ANY_PROMPTS, PROMPTS_EVENT_CLEAR_EXISTING_AND_ADD_UNITS, PROMPTS_EVENT_CLEAR_HIERARCHICAL_SEARCH_EXPRESSION, PROMPTS_EVENT_DRILL_WITHIN_HIERARCHY, PROMPTS_EVENT_HIGHLIGHT_DIMENSION, PROMPTS_EVENT_HIGHLIGHT_DIMENSION_ATTRIBUTE, PROMPTS_EVENT_INCREMENTAL_FETCH, PROMPTS_EVENT_NAVIGATE_PROMPTS_BEAN, PROMPTS_EVENT_PROCESS_ALL_PROMPTS, PROMPTS_EVENT_PROCESS_ANY_PROMPTS, PROMPTS_EVENT_REMOVE_UNITS, PROMPTS_EVENT_SEARCH_BY_NAME, PROMPTS_EVENT_SHOW_ALL_PROMPTS_SUMMARY, PROMPTS_EVENT_SHOW_ANY_PROMPTS_SUMMARY, SIMPLE_SEPARATOR_CARET, SIMPLE_SEPARATOR_COMMA, SIMPLE_SEPARATOR_SEMICOLON, UNIT_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description PromptCartXHTMLTransform()Default no-args constructor, initialize all the formal parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareThereAvailableSelections()Validates size of available selections is greater than zero.booleancanTransform(Transformable data)Indicates if the prompt is of typeEnumWebPromptType.WebPromptTypeObjectsEnumWebPromptType.WebPromptTypeDimtyorEnumWebPromptType.WebPromptTypeElements.protected CartcreateCart()Create a new instance of GUI Element Cart using the GUIElementFactory.protected java.util.EnumerationgetAvailableItems()Indicates collection consisted of all available items.protected CartgetCart()Indicates an active Cart instance.java.lang.StringgetDescription()Indicates the description for this Transform.protected java.lang.StringgetErrorMessage(WebBeanError promptError)Specifies a localized error message.protected java.lang.StringgetSearchPattern()Specifies the pattern text from thePromptObjectinstance.protected java.util.EnumerationgetSelectedItems()Indicates collection consisted of all selected items.voidinitializeCart()Initializes this transform'sCartinstance properties to the default values required.voidinitializeCss()Initializes the CSS information to be used by this transform.voidinitializeFormalParameters()Initialize formal parameters.voidinitializeImages()Initialize the images for this transform.voidinitializePromptContent()Initializes prompt content.booleanisAnswerComplex()Indicates if the answer can be rendered in the GUI.protected booleanisIncrementalFetchAvailable()Indicates whether incremental fetch feature is available.protected booleanisSearchActive()Indicates whether a search pattern was entered.booleanisSearchAvailable()Indicates whether or not search area is displayable.protected booleanisSearchPossible(WebDisplayUnit unit)Indicates whether it's possible to filter elements based on the display unit.booleanisUpDownArrowsAvailable()Indicates whether or not UP and DOWN arrows are displayable.protected voidonBeforeApplyDefaultDisplaySettings()protected voidprocessSelectedItems()Initializes selected items list for this cart transform.voidrenderAdd(MarkupOutput out)Renders the add button information for the cart.voidrenderAddAll(MarkupOutput out)Renders the add all button information for the cart.voidrenderAvailable(MarkupOutput out)Renders the available list of elements on the cart.voidrenderCart(MarkupOutput out)Renders a shopping cart output by calling different methods that will render the individual sections of the prompt layout.voidrenderDown(MarkupOutput out)Render the down button information for the cart.voidrenderIncrementalFetch(MarkupOutput out)Renders the incremental fetch information for the cart available list.voidrenderLabel(MarkupOutput out, int descriptorId, java.lang.String name)Renders an HTML label tag.voidrenderLabel(MarkupOutput out, java.lang.String descriptor, java.lang.String name)Renders an HTML label tag.voidrenderPromptContent(MarkupOutput out)Renders the prompt question.voidrenderRemove(MarkupOutput out)Renders the remove button information for the cart.voidrenderRemoveAll(MarkupOutput out)Renders the remove all button information for the cart.voidrenderSearch(MarkupOutput out)Renders the search section of the cart.voidrenderSelected(MarkupOutput out)Renders the selected list information of the cart.voidrenderUp(MarkupOutput out)Render the up button information for the cart.protected voidsetExtraArguments()Sets extra arguments for this prompt.booleansupports(Transformable data)Indicates whether or not this object is supported.booleansupports(java.lang.Class c)Indicates whether given Class is supported.protected voidupdateIncrementalFetchCartProperties()Updates incremental fetch properties in the Cart object.-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractPromptExpressionTransform
getDimtyAsString, getDimtyAttributesAsString, getOutputLevel, isBrowserIE6, isCart, isMQLevelEditingSupported, isNodeComplex, isNodeDimtyEmpty, renderHiddenInputsForMQEditor, renderOutputLevelLabel, renderPromptHiddenInputs, setMetricQualOutputLevelAndDimty
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractPromptObjectTransform
addFormalParameter, arePromptsLoadedFirstTime, checkLevel, getAnswerEvent, getArgumentName, getAttrElemBlockCount, getAvailableDisplayUnits, getCalendar, getContainerServices, getDescriptor, getDescriptor, getDescriptor, getDimensionAttribute, getDisplayHelper, getIntValue, getLocale, getMatchCaseSensitivity, getMultipleEvent, getMultipleEventArgumentString, getObjectsBlockCount, getPrompt, getPromptsAppContext, getPromptsBean, getPromptsList, getRequestKeys, getShowRequired, getStringValue, getSupportedBeanType, getTagsFactory, hasAnswer, initializePromptObject, isBackToTopAnchorEnabled, isDhtmlMode, isDimensionalPrompt, isForDefinition, isIFrameRequest, isItemKeptInCartAvailable, isLocked, isLockedForSearch, isPromptObjectInitialized, isPromptRequired, isPromptSummaryEnabled, isTrue, isXDA_CustomSQL_Report, isXDA_MDX_Report, isXDAReport, newHiddenInputBuilder, newNamespaceEncoder, processAvailableItems, processIncrementalFetch, renderLayout, renderMinMaxHiddenValues, renderPromptAnswerMeaning, renderPromptBackToTopAnchor, renderPromptDefaultAnswer, renderPromptErrorMessage, renderPromptIFrameRequest, renderPromptMeaning, renderPromptNoSelectionsAvailable, renderPromptNotAnswered, renderPromptQuestion, renderPromptRestrictions, renderPromptSummary, renderPromptSummaryAnswer, renderPromptSummaryTitle, renderPromptTitle, setArgumentValue, setAttrElemBlockCount, setEnableBackToTopAnchor, setIsItemKeptInCartAvailable, setLevelFlag, setLocale, setMatchCaseSensitivity, setObjectsBlockCount, setPromptSummary, setShowRequired, transform
-
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutContext, getLayoutDefinition, setLayoutDefinition, transformUsingLayout
-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, getEvents, getFormalParams, getID, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.transform.LayoutTransform
getLayoutDefinition, setLayoutDefinition
-
Methods inherited from interface com.microstrategy.web.transform.Transform
getFormalParams, getID, getPreview, getSupportedBeanType, isPreviewAvailable, isResolved, transform
-
-
-
-
Field Detail
-
searchAvailable
public FormalParameter searchAvailable
Specifies whether the transform should display a search section.
Not all prompt types support searching for elements, so even if this parameter is true, the search box might not be available.
This flag is used as a boolean value.
-
availableSize
public FormalParameter availableSize
The number of elements that the Available list box displays.
This flag is used as an int value.
-
selectedSize
public FormalParameter selectedSize
The number of elements that the Selected list box displays.
This flag is used as an int value.
-
matchCase
public FormalParameter matchCase
Specifies whether the match case checkbox is displayed or not next to a search section.
Indicates whether or not to show match case checkbox next to search section. Not all prompt types support searching for elements, so even if this parameter is true, the search box might not be available.
This flag is used as a boolean value.
-
_imgBlank
protected java.lang.String _imgBlank
Reference to a transparent image to use for display purposes
-
-
Method Detail
-
initializeFormalParameters
public void initializeFormalParameters()
Initialize formal parameters.
-
initializeCss
public void initializeCss()
Initializes the CSS information to be used by this transform.
It invokes parent function in order to initialize all shared CSS classes.- Overrides:
initializeCssin classAbstractPromptObjectTransform
-
initializeImages
public void initializeImages()
Initialize the images for this transform.
Extends parent method which is also invoked in order to get all shared images initialized as well.- Overrides:
initializeImagesin classAbstractPromptObjectTransform
-
initializePromptContent
public void initializePromptContent() throws WebObjectsExceptionInitializes prompt content.
ExtendsinitializePromptContentby callingprocessSelectedItemsand it's owninitializeCart.- Overrides:
initializePromptContentin classAbstractPromptObjectTransform- Throws:
WebObjectsException- if an error happens while the prompt is initialized.
-
initializeCart
public void initializeCart()
Initializes this transform'sCartinstance properties to the default values required.
Cart instance is obtained by calling function getCart()
-
processSelectedItems
protected void processSelectedItems() throws WebObjectsExceptionInitializes selected items list for this cart transform.
Which supportsWebElementsPrompt,WebObjectsPromptandWebDimtyPromptlists. Any other type will leave the list asnull.- Throws:
WebObjectsException- if an error happens while processing the information.
-
updateIncrementalFetchCartProperties
protected void updateIncrementalFetchCartProperties()
Updates incremental fetch properties in the Cart object.
The total of units is calculated after processing available units, hence, we need to reflect this in Cart incremental fetch properties.
-
isAnswerComplex
public boolean isAnswerComplex()
Indicates if the answer can be rendered in the GUI.- Specified by:
isAnswerComplexin classAbstractPromptObjectTransform- Returns:
- boolean
Trueif answer is complex.
-
canTransform
public boolean canTransform(Transformable data)
Indicates if the prompt is of typeEnumWebPromptType.WebPromptTypeObjectsEnumWebPromptType.WebPromptTypeDimtyorEnumWebPromptType.WebPromptTypeElements.- Specified by:
canTransformin interfaceTransform- Overrides:
canTransformin classAbstractTransform- Parameters:
data- objectTransformableinstance withPromptObjectto transform- Returns:
- boolean
Trueif the data is a transformable by this class.
-
supports
public boolean supports(java.lang.Class c)
Indicates whether given Class is supported.- Specified by:
supportsin interfaceTransform- Overrides:
supportsin classAbstractTransform- Parameters:
c- Class to be checked- Returns:
- boolean true if supported.
- Since:
- MicroStrategy Web 9.0.0
-
supports
public boolean supports(Transformable data)
Indicates whether or not this object is supported.- Specified by:
supportsin interfaceTransform- Overrides:
supportsin classAbstractTransform- Parameters:
data- Transformable to be checked- Returns:
- boolean true if supported
- Since:
- MicroStrategy Web 9.0.0
- See Also:
Transform.canTransform(com.microstrategy.web.beans.Transformable)
-
isIncrementalFetchAvailable
protected boolean isIncrementalFetchAvailable()
Indicates whether incremental fetch feature is available.
If there's already a predefined list of answers, then incremental fetch gets disabled.- Returns:
- boolean true incremental fetch is available.
-
isSearchPossible
protected boolean isSearchPossible(WebDisplayUnit unit)
Indicates whether it's possible to filter elements based on the display unit.- Parameters:
unit- the display unit for which we want to check:- Returns:
- true if it's possible to search (filter) elements of the given type.
-
isSearchActive
protected boolean isSearchActive()
Indicates whether a search pattern was entered.
It looks at thegetSearchPatternmethod and if it isn'tnullthen we determine user has entered a search pattern.- Returns:
- boolean true if search is active.
-
getSearchPattern
protected java.lang.String getSearchPattern()
Specifies the pattern text from thePromptObjectinstance.
This is accomplished by asking the user search pattern.- Returns:
- String search pattern.
-
getErrorMessage
protected java.lang.String getErrorMessage(WebBeanError promptError)
Specifies a localized error message.
Error message is associated to promptError code.- Overrides:
getErrorMessagein classAbstractPromptObjectTransform- Parameters:
promptError- instance ofWebBeanError, most likely an validation error thrown in process prompt phase.- Returns:
- error message as
String. Text is localized to active language.
-
setExtraArguments
protected void setExtraArguments()
Sets extra arguments for this prompt.
These arguments will be render later as hidden inputs.- Overrides:
setExtraArgumentsin classAbstractPromptExpressionTransform
-
createCart
protected Cart createCart()
Create a new instance of GUI Element Cart using the GUIElementFactory.- Returns:
- a new instance of the Cart
- Since:
- MicroStrategy Web 8.0.1
-
getAvailableItems
protected java.util.Enumeration getAvailableItems()
Indicates collection consisted of all available items.
Get all available display units and create anEnumerationinstance with them.- Returns:
Enumerationinstance of allWebDisplayUnitsavailable items.
-
getSelectedItems
protected java.util.Enumeration getSelectedItems()
Indicates collection consisted of all selected items.
Get all selected display units and create anEnumerationinstance with them. For Level prompt: the values from the enumeration are instances ofWebDimtyUnitFor objects/elements prompt: In DHTML mode, the values are instances ofWebDisplayUnits. In HTML mode, the values are instances ofWebDisplayUnitEntry.- Returns:
Enumerationinstance of all selected items.
-
getDescription
public java.lang.String getDescription()
Indicates the description for this Transform.- Specified by:
getDescriptionin interfaceTransform- Returns:
Stringwith the description for the transform.
-
areThereAvailableSelections
public boolean areThereAvailableSelections()
Validates size of available selections is greater than zero.- Overrides:
areThereAvailableSelectionsin classAbstractPromptObjectTransform- Returns:
- boolean
Trueif available selection is greater than zero. ReturnsFalseotherwise.
-
renderPromptContent
public void renderPromptContent(MarkupOutput out)
Renders the prompt question.
It renders given prompt layout content by calling therenderCart()method.- Overrides:
renderPromptContentin classAbstractPromptObjectTransform- Parameters:
out-MarkupOutputinstance where the output HTML will be stored.
-
renderCart
public void renderCart(MarkupOutput out)
Renders a shopping cart output by calling different methods that will render the individual sections of the prompt layout. The output is organized with a series ofDIVHTML tags created.
The methods used for the cart output are listed below, whereoutis aMarkupOutputinstance where the HTML generated by these calls is saved.- Parameters:
out-MarkupOutputinstance where the output HTML will be stored.
-
isUpDownArrowsAvailable
public boolean isUpDownArrowsAvailable()
Indicates whether or not UP and DOWN arrows are displayable.
It readsCartpropertyEnumCartProperties.UP_AND_DOWN_AVAILABLEwhich indicates whether or not these arrows can be displayed.- Returns:
- boolean true if cart property is set to display arrows.
-
isSearchAvailable
public boolean isSearchAvailable()
Indicates whether or not search area is displayable.
It readsCartpropertyEnumCartProperties.SEARCH_AVAILABLEwhich indicates whether or not search area can be displayed.- Returns:
- boolean true if cart property is set to display search area.
-
renderLabel
public void renderLabel(MarkupOutput out, int descriptorId, java.lang.String name)
Renders an HTML label tag.
Utility method for rendering a label tag on the HTML output to generate. Internally calls theCartinstance to render the label using itsrenderLabelmethod.- Parameters:
out-MarkupOutputinstance where the output HTML will be stored.descriptorId-intidentifier of the descriptor to display as labelname-Stringvalue to assign to theforattribute of theLABELHTML tag to display.
-
renderLabel
public void renderLabel(MarkupOutput out, java.lang.String descriptor, java.lang.String name)
Renders an HTML label tag.
Utility method for rendering a label tag on the HTML output to generate. Internally calls theCartinstance to render the label using itsrenderLabelmethod.- Parameters:
out-MarkupOutputinstance where the output HTML will be stored.descriptor-Stringwith the descriptor to display as labelname-Stringvalue to assign to theforattribute of theLABELHTML tag to display.
-
renderIncrementalFetch
public void renderIncrementalFetch(MarkupOutput out)
Renders the incremental fetch information for the cart available list.
It updates the incremental fetch information before rendering it.- Parameters:
out-MarkupOutputinstance where the output HTML will be stored.
-
renderAvailable
public void renderAvailable(MarkupOutput out)
Renders the available list of elements on the cart. Sample code for this method would be defined as follows:- Parameters:
out-MarkupOutputinstance where the HTML content generated by this method will be saved
-
renderSearch
public void renderSearch(MarkupOutput out)
Renders the search section of the cart.- Parameters:
out-MarkupOutputinstance where the HTML content generated by this method will be saved
-
renderAdd
public void renderAdd(MarkupOutput out)
Renders the add button information for the cart. Sample code for this method would be defined as follows:- Parameters:
out-MarkupOutputinstance where the HTML content generated by this method will be saved
-
renderAddAll
public void renderAddAll(MarkupOutput out)
Renders the add all button information for the cart.
Generates JavaScript information to be associated with the button if it's to be rendered on a DHTML environment.- Parameters:
out-MarkupOutputinstance where the HTML content generated by this method will be saved
-
renderRemoveAll
public void renderRemoveAll(MarkupOutput out)
Renders the remove all button information for the cart. Generates JavaScript information to be associated with the button if it's to be rendered on a DHTML environment.- Parameters:
out-MarkupOutputinstance where the HTML content generated by this method will be saved
-
renderRemove
public void renderRemove(MarkupOutput out)
Renders the remove button information for the cart.- Parameters:
out-MarkupOutputinstance where the HTML content generated by this method will be saved
-
renderSelected
public void renderSelected(MarkupOutput out)
Renders the selected list information of the cart.- Parameters:
out-MarkupOutputinstance where the HTML content generated by this method will be saved
-
renderUp
public void renderUp(MarkupOutput out)
Render the up button information for the cart.- Parameters:
out-MarkupOutputinstance where the HTML content generated by this method will be saved
-
renderDown
public void renderDown(MarkupOutput out)
Render the down button information for the cart.- Parameters:
out-MarkupOutputinstance where the HTML content generated by this method will be saved
-
onBeforeApplyDefaultDisplaySettings
protected void onBeforeApplyDefaultDisplaySettings() throws WebObjectsException- Overrides:
onBeforeApplyDefaultDisplaySettingsin classAbstractPromptObjectTransform- Throws:
WebObjectsException- Since:
- MicroStrategy Web 8.0.1
-
-