java.lang.Object | ||
↳ | com.microstrategy.utils.config.AbstractConfigurationElement | |
↳ | com.microstrategy.web.app.Shortcut |
The Shortcut is a multi-purpose class used to configure elements that generate all sort of links or shortcuts, like menu items, drop-down lists and context menu items.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Shortcut()
Class constructor.
| |||||||||||
Shortcut(String name, String href, String desc)
Class constructor.
| |||||||||||
Shortcut(String name, String href, String desc, String descID, boolean isSelected)
Class constructor.
| |||||||||||
Shortcut(Node root)
Class constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | addShortcutEvent(ShortcutEvent evt) | ||||||||||
void |
addSubItem(Shortcut shortcut)
Add a shortcut item as a child of the shortcut list node in the current
shortcut.
| ||||||||||
boolean |
appendState()
Returns whether the shortcut needs to append the page state.
| ||||||||||
boolean |
fromDefault()
This method is deprecated.
This proprety is not used and it will be removed in future versions.
| ||||||||||
String |
getActiveFeatureId()
Get the active featureId property value of the Shortcut instance.
| ||||||||||
WebAttributeList |
getAttributeList()
Get the attribute list for the instance
| ||||||||||
String |
getBaseBean()
Returns the name of the bean associated with the shortcut object.
| ||||||||||
String |
getBaseBone()
Returns the name of a JavaScript bone with which the shortcut is associated.
| ||||||||||
Object |
getBuilder()
Returns an instance of the class specified by the "builder-class-name" attribute.
| ||||||||||
String |
getBuilderClassName()
When used as part of context-menus, returns the fully qualified
name of the class used to populate context-menus that
uses this Shortcut as definition
| ||||||||||
String |
getCheckFeatureId()
Get the check featureId property value of the Shortcut instance.
| ||||||||||
String |
getDescriptor()
Returns a descriptor that the application should use to display the shortcut if the desc-id attribute is missing.
| ||||||||||
String |
getDescriptorID()
Returns the Resource Bundle item id that the application should use to display the shortcut in the language of the user's locale.
| ||||||||||
String |
getDhtmlChecked()
Returns a javascript code that is evaluated to determine whether the shortcut should appear checked or unchecked when it is displayed.
| ||||||||||
String |
getDhtmlEnabled()
Represents a javascript code that is evaluated to determine whether the shortcut should appear enabled or disabled when it is displayed.
| ||||||||||
String |
getDhtmlShow()
Represents a javascript code that is evaluated to determine whether the shortcut
should be displayed.
| ||||||||||
boolean | getDynamicAllSubMenu() | ||||||||||
String | getDynamicSubMenu() | ||||||||||
String |
getEnableFeatureId()
Get the enable featureId property value of the Shortcut instance.
| ||||||||||
HashList |
getEvents()
This method is deprecated.
Use
getShortcutEvents()
| ||||||||||
HashList |
getEvents(boolean isChecked)
Returns the HashList of ShortcutEvents associated with the shortcut
| ||||||||||
WebBeanPropertyList |
getExtendedPropertiesList()
Get the attribute list for the instance
| ||||||||||
String |
getExtraUrl()
Returns a URL segment that is appended to the links URL.
| ||||||||||
String |
getFeatureId()
Represents a feature that is evaluated at the server to determine whether
the object should be displayed.
| ||||||||||
String |
getFeatureTarget()
Returns the name of a feature that is evaluated to determine
whether the target of this shortcut should be used.
| ||||||||||
String |
getHREF()
Indicates the HTTP location to which the browser is directed when the shortcut link is clicked.
| ||||||||||
String |
getImgHeight()
If the shortcut is represented as an image, this property indicates the height of the image.
| ||||||||||
String |
getImgSrc()
If the shortcut is represented as an image, the ImgSrc indicates the source path of the image.
| ||||||||||
String |
getImgWidth()
If the shortcut is represented as an image, this property indicates the width of the image.
| ||||||||||
String |
getKeyShortcutDesc()
Returns a descriptor that the application should use to display the accelerator key (keyboard shortcut) if the key-shortcut-desc-id attribute is missing.
| ||||||||||
String |
getKeyShortcutDescID()
Returns the Resource Bundle item id that the application should use to display the accelerator key (keyboard shortcut) in the language of the user's locale.
| ||||||||||
String |
getKeyShortcutString(Messages messages)
Returns the object's localized Shortcut descriptor.
| ||||||||||
int |
getLocation()
When rendering multi-column system pickers, the location property
indicates whether this shortcut is rendered before or after the
rest of the shortcuts, outside the columns block.
| ||||||||||
String |
getName()
Returns the name, a unique identifier for this shortcut.
| ||||||||||
String |
getOnclick()
Represents the javascript code that is evaluated when the shortcut link is clicked.
| ||||||||||
String | getScope() | ||||||||||
String |
getShortCutClassName()
When used inside a toolbar definition, returns the fully qualified
name of the class to use when building toolbar items using the shortcut definition.
| ||||||||||
AbstractConfigurationElement.FilteredList |
getShortcutEvents()
Get the list of events
| ||||||||||
String |
getString(Messages messages)
Returns the object's localized descriptor.
| ||||||||||
ShortcutList |
getSubitemList()
Get a single list of sub-items for this Shortcut.
| ||||||||||
ShortcutList |
getSubtemList()
This method is deprecated.
Use
getSubitemList()
| ||||||||||
String |
getTarget()
Returns the value of the target property as saved in the configuration file.
| ||||||||||
String |
getTarget(WebComponent root)
This method is deprecated.
use
resolveTarget(WebComponent root) instead
| ||||||||||
String |
getTargetUrl(WebComponent root, boolean useCheckedEvent, boolean includeState, WebFeatures featureManager)
Returns the url associated with the shortcut
| ||||||||||
String |
getTargetUrl(WebComponent root, boolean useCheckedEvent, WebFeatures featureManager)
Returns the url associated with the shortcut
| ||||||||||
String |
getTargetUrlParameters(WebComponent root, boolean useCheckedEvent, boolean includeState, WebFeatures featureManager)
Returns the url associated with the shortcut without including the servlet information.
| ||||||||||
String |
getTooltipDescriptorID()
Returns the Resource Bundle item id that the application should use to display textCobmo tooltip on the shortcut
| ||||||||||
int |
getType()
When used inside a toolbar definition, specifies the type of tool the shortcut
represents:
| ||||||||||
boolean |
hasSubItems()
Returns true if the shortcut has shorcuts associated with it
| ||||||||||
boolean |
isIframe()
When
true , the shortcut link uses the application's asynchronous
page update infrastructure through iframe to submit the users request to the
Web server. | ||||||||||
boolean |
isSelected()
Indicates that the shortcut is rendered as the selected item among the other links in the shortcut list.
| ||||||||||
boolean |
isShortcutActive(WebFeatures featureManager, WebComponent root)
Returns true if the shortcut is active
| ||||||||||
boolean |
isShortcutAvailable(WebFeatures featureManager, WebComponent root)
Returns true if the shortcut is available to the user
| ||||||||||
boolean |
isShortcutChecked(WebFeatures featureManager, WebComponent root)
Returns true if the shortcut will appear to the user as selected
| ||||||||||
boolean |
isShortcutEnabled(WebFeatures featureManager, WebComponent root)
Returns true if the shortcut is enabled
| ||||||||||
boolean |
isShortcutTargetAvailable(WebFeatures featureManager, WebComponent root)
Returns true if the shortcut's target is available to the user
| ||||||||||
void | removeShortcutList(Object key) | ||||||||||
void |
removeSubItem(Object key)
Remove the shortcut with the given key if it exists as a child for this
shortcut.
| ||||||||||
String |
resolveTarget(WebComponent root)
Returns the runtime value of the target property.
| ||||||||||
void |
setActiveFeatureId(String active_featureId)
Set the active featureId property value of the Shortcut instance.This feature is used
to decide if we need to do any action on clicking on the short cut item in the menu.
| ||||||||||
void |
setAppendState(boolean newValue)
Sets whether the shortcut needs to append the page state.
| ||||||||||
void |
setBaseBean(String value)
Indicates the bean from the pages bean hierarchy associated with the shortcut object.
| ||||||||||
void |
setBaseBone(String value)
Defines the name of a JavaScript bone with which the shortcut is associated.
| ||||||||||
void |
setBuilderClassName(String value)
When used as part of context-menus, sets the fully qualified
name of the class used to populate context-menus that
uses this Shortcut as definition
| ||||||||||
void |
setCheckFeatureId(String check_featureId)
Set the check featureId property value of the Shortcut instance.This feature is used
to decide if we need to show a check mark next to the short cut in the menu.
| ||||||||||
void |
setDescriptor(String descriptor)
Provides a descriptor that the application should use to display the shortcut if the desc-id attribute is missing.
| ||||||||||
void |
setDescriptorID(String descriptorID)
Provides the Resource Bundle item id that the application should use to display the shortcut in the language of the user's locale.
| ||||||||||
void |
setDhtmlChecked(String value)
Sets a javascript code that is evaluated to determine whether the shortcut should appear checked or unchecked when it is displayed.
| ||||||||||
void |
setDhtmlEnabled(String value)
Sets the javascript code that is evaluated to determine whether the shortcut should appear enabled or disabled when it is displayed.
| ||||||||||
void |
setDhtmlShow(String value)
/**
Sets the javascript code that is evaluated to determine whether the shortcut
should be displayed.
| ||||||||||
void | setDynamicAllSubMenu(boolean value) | ||||||||||
void | setDynamicSubMenu(String value) | ||||||||||
void |
setEnableFeatureId(String enable_featureId)
Set the enable featureId property value of the Shortcut instance.This feature is used
to decide if we need to enable or disable the short cut in the menu.
| ||||||||||
void |
setExtraUrl(String newValue)
Defines a URL segment that is appended to the links URL.
| ||||||||||
void |
setFeatureId(String featureId)
Sets the name of a feature that is evaluated at the server to determine whether
the object should be displayed.
| ||||||||||
void |
setFeatureTarget(String featureTarget)
Sets the name of a feature that is evaluated to determine
whether the target of this shortcut should be used.
| ||||||||||
void |
setFromDefault(boolean newValue)
This method is deprecated.
This proprety is not used and it will be removed in future versions.
| ||||||||||
void |
setHREF(String href)
Indicates the HTTP location to which the browser is directed when the shortcut link is clicked.
| ||||||||||
void |
setImgHeight(String imgHeight)
If the shortcut is represented as an image, this property indicates the height of the image.
| ||||||||||
void |
setImgSrc(String imgSrc)
If the shortcut is represented as an image, this property indicates the source path of the image.
| ||||||||||
void |
setImgWidth(String imgWidth)
If the shortcut is represented as an image, this property indicates the width of the image.
| ||||||||||
void |
setIsIframe(boolean iframe)
When set to
true , the shortcut link uses the application's asynchronous
page update infrastructure through iframe to submit the users request to the
Web server. | ||||||||||
void |
setIsSelected(boolean newValue)
Indicates whetther the shortcut is rendered as the selected item among the other links in the shortcut list.
| ||||||||||
void |
setKeyShortcutDesc(String value)
Provides a descriptor that the application should use to display the accelerator key (keyboard shortcut) if the key-shortcut-desc-id attribute is missing.
| ||||||||||
void |
setKeyShortcutDescID(String value)
Provides the Resource Bundle item id that the application should use to display the accelerator key (keyboard shortcut) in the language of the user's locale.
| ||||||||||
void |
setLocation(int location)
Set the location property value of the Shortcut instance.
| ||||||||||
void |
setName(String name)
Sets the name, a unique identifier for this shortcut.
| ||||||||||
void |
setOnclick(String value)
Sets some javascript code that is evaluated when the shortcut link is clicked.
| ||||||||||
void | setScope(String value) | ||||||||||
void |
setShortCutClassName(String value)
When used inside a toolbar definition, specifies the fully qualified
name of the class to use to render the tool.
| ||||||||||
void | setShortcutList(ShortcutList shortcutList) | ||||||||||
void |
setTarget(String target)
Set the target property value of the Shortcut instance.
| ||||||||||
void |
setTooltipDescriptorID(String ttDescriptorID)
Provides the Resource Bundle item id that the application should use to display textCobmo tooltip on the shortcut
| ||||||||||
void |
setType(int type)
Set the type property value of the Shortcut instance.
| ||||||||||
void |
setUseWindowOpen(boolean value)
If set to
true and the target attribute is set to a value,
the application uses window.open to open the target window
specified by the target attribute. | ||||||||||
boolean |
useWindowOpen()
If
true and the target attribute is set to a value,
the application uses window.open to open the target window
specified by the target attribute. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getKeyAttribute()
This method must return the attribute that uniquely identifies this element among its siblings;
if no single attribute can be used, return null and override the
getKey and
setKey methods. | ||||||||||
ParameterBuilder |
newURIBuilder(WebComponent webComponent)
Convenience method to retrieve a new instance of a URI Builder from the connected
Container Services object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
constant for the shortcut node name
button with label
label button
Generic Picker as submenu
picker option
combo + text label
Class constructor. Initializes a new -empty- instance of the Shortcut class.
Class constructor. Initializes a new instance of the Shortcut class with the information given as parameters
name | unique name -identifier- for the shortcut. |
---|---|
href | href property. Target address of the shortcut to display. |
desc | descriptor property. |
Class constructor. Initializes a new instance of the Shortcut class with the information given as parameters
name | unique name -identifier- for the shortcut. |
---|---|
href | href property. Target address of the shortcut to display. |
desc | descriptor property. |
descID | identifier of the descriptor to be used for the shortcut |
isSelected | boolean indicating whether the shortcut is to be initialized as selected |
Class constructor. Initializes a Shortcut instance based on the information included on the XML Node
root | Node instance representing the Shortcut information. |
---|
Add a shortcut item as a child of the shortcut list node in the current shortcut.
shortcut | The shortcut node to be added as a subitem |
---|
Returns whether the shortcut needs to append the page state. The page state includes the state of all beans in the page so they can be restored in the server.
This method is deprecated.
This proprety is not used and it will be removed in future versions.
Returns whether the shortcut it comes from a default on the default page
Get the active featureId property value of the Shortcut instance. This feature is used to decide if we need to do any action on clicking on the short cut item in the menu.
String
value of the active featureId property.
Get the attribute list for the instance
Returns the name of the bean associated with the shortcut object.
This bean is used in tasks such as resolving features.
Notice that if this attribute is not set, the application tries to use the base-bean attribute
for the
Returns the name of a JavaScript bone with which the shortcut is associated. If defined, this bone is used to find the DHTML methods defined in other attributes of the shortcut element.
Returns an instance of the class specified by the "builder-class-name" attribute. This object can be used to populate those classes that uses this Shortcut as their definition.
When used as part of context-menus, returns the fully qualified name of the class used to populate context-menus that uses this Shortcut as definition
Get the check featureId property value of the Shortcut instance. This feature is used to decide if we need to show a check mark next to the short cut in the menu.
Returns a descriptor that the application should use to display the shortcut if the desc-id attribute is missing.
Returns the Resource Bundle item id that the application should use to display the shortcut in the language of the user's locale.
Returns a javascript code that is evaluated to determine whether the shortcut should appear checked or unchecked when it is displayed. (This evaluation takes place at the browser and overrides the results of the evaluation that takes place at the server when the HTML is created - specified by the check-feature-id property.)
Represents a javascript code that is evaluated to determine whether the shortcut should appear enabled or disabled when it is displayed. (This evaluation takes place at the browser and overrides the results of the evaluation that takes place at the server when the HTML is created - specified by the enable-feature-id property.)
Represents a javascript code that is evaluated to determine whether the shortcut should be displayed. (This evaluation takes place at the browser and overrides the results of the evaluation that takes place at the server when the HTML is created - specified by the feature-id attribute. However, if the feature-id evaluation returns false, this evaluation never takes place.)
Get the enable featureId property value of the Shortcut instance. This feature is used to decide if we need to enable or disable the short cut in the menu.
This method is deprecated.
Use getShortcutEvents()
Get the list of events
Returns the HashList of ShortcutEvents associated with the shortcut
isChecked | specifies if the event requested is the event associated witht the checled or unchecked shortcut |
---|
Get the attribute list for the instance
Returns a URL segment that is appended to the links URL.
Represents a feature that is evaluated at the server to determine whether the object should be displayed.
Returns the name of a feature that is evaluated to determine whether the target of this shortcut should be used. If the target is specified but the corresponding feature returns false, then the target is not used and the shortcut will open in the same browser window.
Indicates the HTTP location to which the browser is directed when the shortcut link is clicked.
If the shortcut is represented as an image, this property indicates the height of the image.
If the shortcut is represented as an image, the ImgSrc indicates the source path of the image.
If the shortcut is represented as an image, this property indicates the width of the image.
Returns a descriptor that the application should use to display the accelerator key (keyboard shortcut) if the key-shortcut-desc-id attribute is missing.
Returns the Resource Bundle item id that the application should use to display the accelerator key (keyboard shortcut) in the language of the user's locale.
Returns the object's localized Shortcut descriptor.
messages | the messages l10n object. |
---|
String
representing the object's localized descriptor.When rendering multi-column system pickers, the location property indicates whether this shortcut is rendered before or after the rest of the shortcuts, outside the columns block. For example, when possible colors are displayed in a grid with rows and columns of color choices, you can use the location attribute to specify that the shortcut should be displayed either above (LOCATION_PREFIX) or below (LOCATION_SUFFIX) this grid.
String
value of the location property.Returns the name, a unique identifier for this shortcut.
Represents the javascript code that is evaluated when the shortcut link is clicked.
When used inside a toolbar definition, returns the fully qualified
name of the class to use when building toolbar items using the shortcut definition.
This class will be used instead of those mapped to the getType()
attribute.
Returns the object's localized descriptor.
messages | the messages l10n object. |
---|
String
representing the object's localized descriptor.
Get a single list of sub-items for this Shortcut. A sub-item can be specified
as an implicit list of <shortcut&gr;
nodes, or it can be
specified as a list inside a <shortcuts&gr;
node. This method
will return a merge list of both of them.
This method is deprecated.
Use getSubitemList()
Get the list of submenu items inside this instance
Returns the value of the target property as saved in the configuration file. The target represents the name of the window to which the request is directed when the shortcut link is clicked. The value itself might be a keyword like "mstrExportWindow" which is resolved at runtime based on preferences.
This method is deprecated.
use resolveTarget(WebComponent root)
instead
Returns the runtime value for the target of this Shortcut. For naming consistency
this method has been deprecated, instead you should call resolveTarget(WebComponent)
Returns the url associated with the shortcut
root | Webcomponent where to start looking for the bean associated with the event |
---|---|
useCheckedEvent | boolean tells if we need to use the events corresponding to the checked state of the short cut or the unchecked state of the shortcut |
includeState | idicates if the url returned will contain the state of the WebComponents in the hierarchy or not. |
featureManager | a instance of WebFeatures to process user feature availability |
Returns the url associated with the shortcut
root | Webcomponent where to start looking for the bean associated with the event |
---|---|
useCheckedEvent | boolean tells if we need to use the events corresponding to the checked state of the short cut or the unchecked state of the shortcut |
featureManager | a instance of WebFeatures to process user feature availability |
Returns the url associated with the shortcut without including the servlet information.
root | Webcomponent where to start looking for the bean associated with the event |
---|---|
useCheckedEvent | boolean tells if we need to use the events corresponding to the checked state of the short cut or the unchecked state of the shortcut |
includeState | idicates if the url returned will contain the state of the WebComponents in the hierarchy or not. |
featureManager | a instance of WebFeatures to process user feature availability |
Returns the Resource Bundle item id that the application should use to display textCobmo tooltip on the shortcut
When used inside a toolbar definition, specifies the type of tool the shortcut represents:
Returns true if the shortcut has shorcuts associated with it
When true
, the shortcut link uses the application's asynchronous
page update infrastructure through iframe to submit the users request to the
Web server.
Indicates that the shortcut is rendered as the selected item among the other links in the shortcut list.
Returns true if the shortcut is active
featureManager | the feature authority responsible for verifying if the user has access to the feature associated with the shortcut |
---|---|
root | WebComponent to use as the dependency object by the feature authority |
Returns true if the shortcut is available to the user
featureManager | the feature authority responsible for verifying if the user has access to the feature associated with the shortcut |
---|---|
root | WebComponent to use as the dependency object by the feature authority |
Returns true if the shortcut will appear to the user as selected
featureManager | the feature authority responsible for verifying if the user has access to the feature associated with the shortcut |
---|---|
root | WebComponent to use as the dependency object by the feature authority |
Returns true if the shortcut is enabled
featureManager | the feature authority responsible for verifying if the user has access to the feature associated with the shortcut |
---|---|
root | WebComponent to use as the dependency object by the feature authority |
Returns true if the shortcut's target is available to the user
featureManager | the feature authority responsible for verifying if the user has access to the feature associated with the shortcut |
---|---|
root | WebComponent to use as the dependency object by the feature authority |
Remove the shortcut with the given key if it exists as a child for this shortcut. If a shortcut with the given key exists in the list (explicit list), it is deleted. Otherwise, the implicit list is searched for the shortcut.
key | The key for the shortcut node to be deleted |
---|
Returns the runtime value of the target property. Tests for special (keyword) values of target and determine end value of this property. If not a keyword, it will return the value as specified for the shortcut.
root | WebComponent instance where to test features if required |
---|
Set the active featureId property value of the Shortcut instance.This feature is used to decide if we need to do any action on clicking on the short cut item in the menu.
active_featureId | the String value of the active featureId property.
|
---|
Sets whether the shortcut needs to append the page state. The page state includes the state of all beans in the page so they can be restored in the server.
Indicates the bean from the pages bean hierarchy associated with the shortcut object. This bean is used in tasks such as resolving features.
Defines the name of a JavaScript bone with which the shortcut is associated. If present, this bone is used to find the DHTML methods defined in other attributes of the shortcut element.
When used as part of context-menus, sets the fully qualified name of the class used to populate context-menus that uses this Shortcut as definition
value | fully qualified class name |
---|
Set the check featureId property value of the Shortcut instance.This feature is used to decide if we need to show a check mark next to the short cut in the menu.
Provides a descriptor that the application should use to display the shortcut if the desc-id attribute is missing.
Provides the Resource Bundle item id that the application should use to display the shortcut in the language of the user's locale.
Sets a javascript code that is evaluated to determine whether the shortcut should appear checked or unchecked when it is displayed.
Sets the javascript code that is evaluated to determine whether the shortcut should appear enabled or disabled when it is displayed.
/** Sets the javascript code that is evaluated to determine whether the shortcut should be displayed.
value | String with the value of the dyn-menu property |
---|
Set the enable featureId property value of the Shortcut instance.This feature is used to decide if we need to enable or disable the short cut in the menu.
Defines a URL segment that is appended to the links URL.
Sets the name of a feature that is evaluated at the server to determine whether the object should be displayed.
Sets the name of a feature that is evaluated to determine whether the target of this shortcut should be used. If the target is specified but the corresponding feature returns false, then the target is not used and the shortcut will open in the same browser window.
This method is deprecated.
This proprety is not used and it will be removed in future versions.
Indicates the shortcut it comes from a default on the default page
newValue | boolean value |
---|
Indicates the HTTP location to which the browser is directed when the shortcut link is clicked.
href | A URL to use, for example: http://www.microstrategy.com |
---|
If the shortcut is represented as an image, this property indicates the height of the image.
If the shortcut is represented as an image, this property indicates the source path of the image.
If the shortcut is represented as an image, this property indicates the width of the image.
When set to true
, the shortcut link uses the application's asynchronous
page update infrastructure through iframe to submit the users request to the
Web server.
iframe | the boolean value of the iframe property
|
---|
Indicates whetther the shortcut is rendered as the selected item among the other links in the shortcut list.
Provides a descriptor that the application should use to display the accelerator key (keyboard shortcut) if the key-shortcut-desc-id attribute is missing.
Provides the Resource Bundle item id that the application should use to display the accelerator key (keyboard shortcut) in the language of the user's locale.
Set the location property value of the Shortcut instance. When rendering multi-column system pickers, the location property indicates whether this shortcut is rendered before or after the rest of the shortcuts, outside the columns block.
Sets the name, a unique identifier for this shortcut.
Sets some javascript code that is evaluated when the shortcut link is clicked.
value | Some javascript code to execute, for example: "alert('here');return false;" |
---|
When used inside a toolbar definition, specifies the fully qualified name of the class to use to render the tool.
value | A fully-qualified class name (e.g. com.microstrategy.web.app.gui.ShortcutElement) |
---|
Set the target property value of the Shortcut instance. The target represents the name of the browser's window to which the request is directed when the shortcut link is clicked. The value itself might be a keyword like "mstrExportWindow" which is resolved at runtime based on preferences.
Provides the Resource Bundle item id that the application should use to display textCobmo tooltip on the shortcut
Set the type property value of the Shortcut instance. When used inside a toolbar definition, specifies the type of tool the shortcut represents
If set to true
and the target attribute is set to a value,
the application uses window.open to open the target window
specified by the target attribute. (This is useful for providing to the new window
with a reference to the parent window)
If true
and the target attribute is set to a value,
the application uses window.open to open the target window
specified by the target attribute. (This is useful for providing to the new window
with a reference to the parent window)
This method must return the attribute that uniquely identifies this element among its siblings;
if no single attribute can be used, return null and override the getKey
and
setKey
methods.
Convenience method to retrieve a new instance of a URI Builder from the connected Container Services object. If anything fails along the way, returns null.
webComponent | WebComponent to use to retrieve the beanContext. |
---|