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.PromptExpressionNonCartTransform |
![]() |
Renders each available expression item with a radio button, when one item is selected
previous is deselected. The current selection becomes the answer.
This transforms makes use of Tag
instances to render HTML output.
See reference to TagsFactory
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected String | _availableArgument | Available list argument for select tag. | |||||||||
protected String | _availableLabel | Label used for rendering available list | |||||||||
protected String | _inputLabel | Input label for input textfield. | |||||||||
protected String | _inputValue | Value of current prompt answer. | |||||||||
protected int | _operator | Current operator or function ID | |||||||||
protected String | _operatorArg | Indicates operator argument name. | |||||||||
protected String | _operatorDimensionality | Determines answer dimensionality | |||||||||
protected String | _operatorLabel | Operator label for operator pull-down menu. | |||||||||
protected int | _operatorType | Current operator or function type | |||||||||
public FormalParameter | inputSize | Specifies the size of the input textfield. | |||||||||
public FormalParameter | selectSize | The number of elements that the Selected list box displays. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PromptExpressionNonCartTransform()
Default no-args constructor, initialize all the formal parameters.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
canTransform(Transformable data)
Extends canTransform() by returning true only if the prompt is of type
EnumWebPromptType.WebPromptTypeExpression | ||||||||||
String |
getDescription()
This transforms description
| ||||||||||
void |
initializeCss()
Initializes CSS information to be used by this transform.
| ||||||||||
void |
initializeFormalParameters()
Initializes formal parameters.
| ||||||||||
void |
initializePromptContent()
Initializes prompt content.
| ||||||||||
boolean |
isAnswerComplex()
Determines if current answer is complex or not.
| ||||||||||
void |
renderAvailable(MarkupOutput out)
Renders Available list in HTML list component.
| ||||||||||
void |
renderAvailableLabel(MarkupOutput out)
Renders an HTML label associated to Available section.
| ||||||||||
void |
renderEditContentBelowInput(MarkupOutput out)
Renders the text and button that opens the output level editor.
| ||||||||||
void |
renderInput(MarkupOutput out)
Renders qualification value textbox.
| ||||||||||
void |
renderInputLabel(MarkupOutput out)
Renders an HTML label associated to value input section.
| ||||||||||
void |
renderOperatorLabel(MarkupOutput out)
Renders an HTML label associated to Operators section.
| ||||||||||
void |
renderOperators(MarkupOutput out)
Renders operators pull-down.
| ||||||||||
void |
renderPromptContent(MarkupOutput out)
Renders the prompt content.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
displayOption(MarkupOutput out, String argument, String displayName, String value, boolean isSelected, String dataType)
Renders HTML option tag.
| ||||||||||
void |
displayOption(MarkupOutput out, String argument, String displayName, String value, boolean isSelected)
Renders HTML option tag.
| ||||||||||
WebExpression |
getAnswer()
function that retrieves answer from given Web prompt object.
| ||||||||||
String |
getDefaultShortcutId()
Parses current prompt answer in order to obtain shortcut Id.
| ||||||||||
String |
getObjectIDfromAnswer()
Function that obtains from current answer first DisplayUnit Id
| ||||||||||
boolean |
isNodeComplex(WebNode node)
This method is deprecated.
This method has been deprecated since this is specific to expression prompts.
Use the method on AbstractPromptExpressionTransform. | ||||||||||
void |
processIncrementalFetch()
Initializes incremental fetching settings.
| ||||||||||
void |
processSelectedItems()
Initializes selected items list.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Available list argument for select tag.
Label used for rendering available list
Input label for input textfield.
Value of current prompt answer.
Current operator or function ID
Indicates operator argument name.
Determines answer dimensionality
Operator label for operator pull-down menu.
Current operator or function type
Specifies the size of the input textfield.
This flag is used as an int value.
The number of elements that the Selected list box displays.
This flag is used as an int value.
Default no-args constructor, initialize all the formal parameters.
Extends canTransform() by returning true only if the prompt is of type EnumWebPromptType.WebPromptTypeExpression
data | object (PromptObject) to transform |
---|
This transforms description
Initializes CSS information to be used by this transform.
Initializes formal parameters.
Initializes prompt content.
Extends initializePromptContent() by calling processIncrementalFetch
and processSelectedItems. It also initialize the Cart object associated.
WebObjectsException |
---|
Determines if current answer is complex or not.
Renders Available list in HTML list component.
out | MarkupOutput the transform output
|
---|
Renders an HTML label associated to Available section.
out | where to write HTML label. |
---|
Renders the text and button that opens the output level editor.
out | where to write the output of the method. |
---|
Renders qualification value textbox.
out | MarkupOutput where to write the output of the method.
|
---|
Renders an HTML label associated to value input section.
out | where to write HTML label. |
---|
Renders an HTML label associated to Operators section.
out | where to write HTML label. |
---|
Renders operators pull-down.
out | MarkupOutput where to write the output of the method.
|
---|
Renders the prompt content.
out | MarkupOutput the transform output
|
---|
Renders HTML option tag.
Used for creating list of options.
out | the transform output |
---|---|
argument | argument name for the option tag |
displayName | display value |
value | what's submitted as value |
isSelected | indicates whether this option is selected |
dataType | indicates data type for Tag property. |
Renders HTML option tag.
Used for creating list of options.
out | the transform output |
---|---|
argument | argument name for the option tag |
displayName | display value |
value | what's submitted as value |
isSelected | indicates whether this option is selected |
function that retrieves answer from given Web prompt object.
Parses current prompt answer in order to obtain shortcut Id.
Function that obtains from current answer first DisplayUnit Id
This method is deprecated.
This method has been deprecated since this is specific to expression prompts.
Use the method on AbstractPromptExpressionTransform.
This method checks if a single subexpression is Complex. An expression
is complex if it cannot be created using the Web interface.
This is used by ExpressionPrompts transforms to determine if the Answer is Complex.
node | the root node of the subexpression to check |
---|
Initializes incremental fetching settings.
WebObjectsException |
---|
Initializes selected items list.
This cart only supports Element and Objects prompts lists.
WebObjectsException | when parsing each item in Selected list. |
---|