java.lang.Object | |||||
↳ | com.microstrategy.web.transform.AbstractTransform | ||||
↳ | com.microstrategy.web.transform.AbstractLayoutTransform | ||||
↳ | com.microstrategy.web.app.transforms.AbstractAppTransform | ||||
↳ | com.microstrategy.web.app.transforms.AbstractEditorTransform | ||||
↳ | com.microstrategy.web.app.transforms.WizardTransform |
![]() |
This transform will act as HTML container for a Wizard. It'll provide of space Wizard step pages will be displayed. It divides rendering process into the following sections:
renderPreContent(MarkupOutput)
renderBodyMessage(MarkupOutput)
renderContent(MarkupOutput)
renderPostContent(MarkupOutput)
renderNavigationButtons(MarkupOutput)
renderExecutionButtons(MarkupOutput)
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | FP_LEVEL_FLAG | String value with the name of the formal parameter for levelFlag |
|||||||||
int | LEVEL_SHOW_ALL | Value associated with the levelFlag formal parameter for indicating the
all sections should be shown |
|||||||||
int | LEVEL_SHOW_CONTENT | Value associated with the levelFlag formal parameter for indicating the
content section should be shown |
|||||||||
int | LEVEL_SHOW_ERROR | Value associated with the levelFlag formal parameter for indicating the
error section should be shown |
|||||||||
int | LEVEL_SHOW_EXECUTION_BAR | Value associated with the levelFlag formal parameter for indicating the
execution bar section should be shown |
|||||||||
int | LEVEL_SHOW_NAVIGATION_INDEX | Value associated with the levelFlag formal parameter for indicating the
navigation index section should be shown |
|||||||||
int | LEVEL_SHOW_POST_CONTENT | Value associated with the levelFlag formal parameter for indicating the
post-content section should be shown |
|||||||||
int | LEVEL_SHOW_PRE_CONTENT | Value associated with the levelFlag formal parameter for indicating the
pre-content section should be shown |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected String | _cancelButtonImage | Local property for holding the cancelButtonImage value |
|||||||||
protected WebEvent | _cancelWizardEvent | WebEvent instance with the information for cancelling the wizard |
|||||||||
protected String | _finishButtonImage | Local property for holding the finishButtonImage value |
|||||||||
protected WebEvent | _finishWizardEvent | WebEvent instance with the information for finishing the wizard |
|||||||||
protected int | _levelFlag | Local property for holding the levelFlag value |
|||||||||
protected String | _nextButtonImage | Local property for holding the nextButtonImage value |
|||||||||
protected WebEvent | _nextStepEvent | WebEvent instance with the information for going forward a step on the wizard |
|||||||||
protected String | _previousButtonImage | Local property for holding the previousButtonImage value |
|||||||||
protected WebEvent | _previousStepEvent | WebEvent instance with the information for going back a step on the wizard |
|||||||||
protected WizardBean | _wizardBean | WizardBean being transformed by this class |
|||||||||
protected String | _wizardWidth | Local property for holding the wizardWidth value |
|||||||||
public FormalParameter | cancelButtonImage | Formal parameter indicating the image to use for the Cancel button. | |||||||||
public FormalParameter | displayFinish | Formal parameter indicating if the Finish button option should be shown on the wizard | |||||||||
public FormalParameter | displayNext | Formal parameter indicating if the Next button option should be shown on the wizard | |||||||||
public FormalParameter | displayPrevious | Formal parameter indicating if the Previous button option should be shown on the wizard | |||||||||
public FormalParameter | finishButtonImage | Formal parameter indicating the image to use for the Finish button. | |||||||||
public FormalParameter | levelFlag | Formal parameter indicating which sections of the wizard should be shown | |||||||||
public FormalParameter | nextButtonImage | Formal parameter indicating the image to use for the Next button. | |||||||||
public FormalParameter | previousButtonImage | Formal parameter indicating the image to use for the Previous button. | |||||||||
public FormalParameter | wizardWidth | Formal parameter indicating the width of the wizard |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WizardTransform()
Default no-args constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getDescription()
Return description for this Transform.
| ||||||||||
Class |
getSupportedBeanType()
Get the class of objects this transform is able to handle, which is
WizardBean . | ||||||||||
WizardBean |
getWizardBean()
Returns current instance of
WizardBean being transformed. | ||||||||||
void |
initializeImages()
Initialize the images to be used by this transform.
| ||||||||||
void |
initializeTransform(Transformable data)
Initializes transform formal parameters
| ||||||||||
void |
renderBodyMessage(MarkupOutput out)
Renders the title to show before the body of the wizard's current step.
| ||||||||||
void |
renderContent(MarkupOutput out)
Renders Wizard content section.
| ||||||||||
void |
renderEditorContents(MarkupOutput out)
Method that renders the editor contents corresponding to this Wizard.
| ||||||||||
void |
renderExecutionBar(MarkupOutput out)
Generates the output for the navigation/finish/cancel buttons.
| ||||||||||
void |
renderExecutionButtons(MarkupOutput out)
Renders buttons for execution in Wizard steps, mainly Finish and Cancel.
| ||||||||||
void |
renderHiddenInputs(MarkupOutput out)
Renders required hidden input information for the wizard form to be complete for
a user request.
| ||||||||||
void |
renderNavigationButtons(MarkupOutput out)
Renders buttons for navigating through Wizard steps, mainly Next and Previous.
| ||||||||||
void |
renderPostContent(MarkupOutput out)
Renders Wizard pre content section.
| ||||||||||
void |
renderPreContent(MarkupOutput out)
Renders Wizard pre content section.
| ||||||||||
void |
transformForRequestInError(MarkupOutput out)
Transform output when the status is
WebBeanRequestEndsInError . |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
checkLevel(int iLevelConst)
Check if the
levelFlag formal parameter value contains the indicated flag value | ||||||||||
WebEvent |
getCancelWizardEvent()
Generate the event required for cancelling the wizard.
| ||||||||||
WebEvent |
getFinishWizardEvent()
Generate the event required for finishing the wizard.
| ||||||||||
WebEvent |
getNextEvent()
Generate the event required for accessing the next step of the wizard.
| ||||||||||
WebEvent |
getPreviousEvent()
Generate the event required for accessing the previous step of the wizard.
| ||||||||||
void |
initEditor(Editor editor)
Initialize the editor with the global settings.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
String value with the name of the formal parameter for levelFlag
Value associated with the levelFlag
formal parameter for indicating the
all sections should be shown
Value associated with the levelFlag
formal parameter for indicating the
content section should be shown
Value associated with the levelFlag
formal parameter for indicating the
error section should be shown
Value associated with the levelFlag
formal parameter for indicating the
execution bar section should be shown
Value associated with the levelFlag
formal parameter for indicating the
navigation index section should be shown
Value associated with the levelFlag
formal parameter for indicating the
post-content section should be shown
Value associated with the levelFlag
formal parameter for indicating the
pre-content section should be shown
WebEvent
instance with the information for cancelling the wizard
WebEvent
instance with the information for finishing the wizard
WebEvent
instance with the information for going forward a step on the wizard
WebEvent
instance with the information for going back a step on the wizard
Formal parameter indicating the image to use for the Cancel button.
Formal parameter indicating if the Finish button option should be shown on the wizard
Formal parameter indicating if the Next button option should be shown on the wizard
Formal parameter indicating if the Previous button option should be shown on the wizard
Formal parameter indicating the image to use for the Finish button.
Formal parameter indicating which sections of the wizard should be shown
Formal parameter indicating the image to use for the Next button.
Formal parameter indicating the image to use for the Previous button.
Default no-args constructor.
Initialize all Formal Parameters.
Return description for this Transform.
Get the class of objects this transform is able to handle, which is WizardBean
.
Returns current instance of WizardBean
being transformed.
WizardBean
associated with this transform
Initialize the images to be used by this transform.
Initializes transform formal parameters
data | Transformable instance to be associated with this transform.
|
---|
Renders the title to show before the body of the wizard's current step.
out | the MarkupOutput instance to write to
|
---|
Renders Wizard content section.
This function will need to access WizardBean
for selecting what transform to
call. Here, the transform will have to redirect transform output to step-specific transform.
out | where to write the output of the method. |
---|
Method that renders the editor contents corresponding to this Wizard.
out | MarkupOutput instance where the HTML contents to render are to be saved.
|
---|
Generates the output for the navigation/finish/cancel buttons.
out | where to write the output of the method. |
---|
Renders buttons for execution in Wizard steps, mainly Finish and Cancel.
out | where to write output |
---|
Renders required hidden input information for the wizard form to be complete for a user request.
out | where to write the output of the method. |
---|
Renders buttons for navigating through Wizard steps, mainly Next and Previous.
out | where to write output |
---|
Renders Wizard pre content section.
out | where to write the output of the method. |
---|
Renders Wizard pre content section.
out | where to write the output of the method. |
---|
Transform output when the status is
WebBeanRequestEndsInError
.
out | MarkupOutput where the HTML contents to be rendered will be saved.
|
---|
Check if the levelFlag
formal parameter value contains the indicated flag value
iLevelConst | level flag value to check for |
---|
Generate the event required for cancelling the wizard.
WebEvent
instance initialized with the information required for closing the
wizard without submitting any of the changes.
Generate the event required for finishing the wizard.
WebEvent
instance initialized with the information required for submitting
all the wizard information.
Generate the event required for accessing the next step of the wizard.
WebEvent
instance initialized with the information required for going
a step forward on the wizard.
Generate the event required for accessing the previous step of the wizard.
WebEvent
instance initialized with the information required for going back
a step on the wizard.
Initialize the editor with the global settings.
editor | Editor instance, abstraction of the container where output is rendered.
|
---|