Class DisplayBeanTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTag
-
- com.microstrategy.web.app.taglibs.DisplayBeanTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
ShowJsonBlocksTag
public class DisplayBeanTag extends AbstractNoBodyTag
Custom Tag class to be used for displaying a bean with the requested transform style. If no style name is specified, then it will assume there's no other transform style to use but the default assigned during the bean's creation process.- Since:
- MicroStrategy Web 7.3.1 or earlier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DisplayBeanTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AbstractNoBodyTagHelper
getHelper()
Method for retrieving the helper associated with the tag.void
setBean(java.lang.String value)
Indicates the name of the bean that will be rendered in the final HTML content to be shown to the user.void
setBeanName(java.lang.String value)
Deprecated.UsesetBean(java.lang.String)
Instead.void
setGetTarget(boolean value)
Attribute to be used when aSubscriptionFolderBean
is to be displayed.void
setIgnoreCurrent(boolean value)
Attribute to be used when aPreferencesBean
is to be displayed.void
setRenderGroupList(boolean value)
Attribute to be used when aPreferencesBean
is to be displayed.void
setStatus(int value)
Indicates which is the status of the bean that will make it to be displayed.void
setStyleName(java.lang.String value)
Indicates the transform style to apply to the bean for getting it rendered.-
Methods inherited from class com.microstrategy.web.app.taglibs.AbstractNoBodyTag
doEndTag, doStartTag, release
-
-
-
-
Method Detail
-
getHelper
public AbstractNoBodyTagHelper getHelper()
Method for retrieving the helper associated with the tag.- Specified by:
getHelper
in classAbstractNoBodyTag
- Returns:
- an instance of
AbstractNoBodyTagHelper
which will take care of processing and rendering the HTML contents associated with this tag.
-
setBean
public void setBean(java.lang.String value)
Indicates the name of the bean that will be rendered in the final HTML content to be shown to the user.- Parameters:
value
-String
value with the name of the bean to search for.- Since:
- MicroStrategy Web 8.0.0
-
setBeanName
public void setBeanName(java.lang.String value)
Deprecated.UsesetBean(java.lang.String)
Instead.Indicates the name of the bean that will be rendered in the final HTML content to be shown to the user.- Parameters:
value
-String
value with the name of the bean to search for.
-
setStyleName
public void setStyleName(java.lang.String value)
Indicates the transform style to apply to the bean for getting it rendered.
Usage:
The style name specified here has to be properly defined on the Style Catalog for it to be used. If this attribute is not included, then it will use the default style defined for the bean when it was created.- Parameters:
value
-String
value with the style to use for transforming the bean.
-
setGetTarget
public void setGetTarget(boolean value)
Attribute to be used when aSubscriptionFolderBean
is to be displayed. Indicates with this boolean attribute if the bean defined as target in the subscriptions bean should be the one to be transformed.- Parameters:
value
-boolean
indicating if the target of the subscriptions bean should be transformed or not.
-
setIgnoreCurrent
public void setIgnoreCurrent(boolean value)
Attribute to be used when aPreferencesBean
is to be displayed. Indicates with this boolean attribute if all the preference groups should be displayed as links (True
), or if the selected group will be rendered with special formatting and not as a link (False
).- Parameters:
value
-boolean
indicating if the current preference group should be ignored or not.
-
setStatus
public void setStatus(int value)
Indicates which is the status of the bean that will make it to be displayed.
Usage:
The value specified for this attribute will have to be a validint
value from theEnumRequestStatus
enumeration.- Parameters:
value
-int
value with the bean status to consider for rendering the bean.
-
setRenderGroupList
public void setRenderGroupList(boolean value)
Attribute to be used when aPreferencesBean
is to be displayed. Indicates with this boolean value if the group list of preferences should be displayed or not.- Parameters:
value
-boolean
indicating if the preference groups list should be displayed or not
-
-