Class IfDisplayMoreTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.microstrategy.web.app.taglibs.AbstractIfTag
-
- com.microstrategy.web.app.taglibs.IfDisplayMoreTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.BodyTag
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class IfDisplayMoreTag extends AbstractIfTag
- Since:
- MicroStrategy Web 7.3.1 or earlier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IfDisplayMoreTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AbstractIfTagHelper
getHelper()
Method for retrieving the helper associated with the tag.void
release()
Utility method for cleaning up the properties on the custom tag instance.void
setBean(java.lang.String value)
Indicates the name of the bean to search for, so the number of its children objects can be analyzed according to the limits specified on the maxObjects attribute.void
setMaxObjects(java.lang.String value)
Indicates a set of limits in the number of objects to account for, divided by object type.void
setName(java.lang.String value)
Deprecated.Use SetBean Instead.-
Methods inherited from class com.microstrategy.web.app.taglibs.AbstractIfTag
doEndTag, doStartTag, getCondition
-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
release
public void release()
Utility method for cleaning up the properties on the custom tag instance.- Specified by:
release
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
release
in classjavax.servlet.jsp.tagext.BodyTagSupport
-
getHelper
public AbstractIfTagHelper getHelper()
Method for retrieving the helper associated with the tag.- Specified by:
getHelper
in classAbstractIfTag
- Returns:
- an instance from
AbstractIfTagHelper
which will take care of processing and rendering the HTML contents associated with this tag.
-
setName
public void setName(java.lang.String value)
Deprecated.Use SetBean Instead.Indicates the name of the bean to search for, so the number of its children objects can be analyzed according to the limits specified on the maxObjects attribute.
Usage:
The different bean types whose children can be analyzed includeFolderBean
,InboxBean
andSubscriptionFolderBean
. Each one of the objects listed inside these beans will be compared against the limits defined.- Parameters:
value
-String
value with the name of the bean to search for.
-
setBean
public void setBean(java.lang.String value)
Indicates the name of the bean to search for, so the number of its children objects can be analyzed according to the limits specified on the maxObjects attribute.
Usage:
The different bean types whose children can be analyzed includeFolderBean
,InboxBean
andSubscriptionFolderBean
. Each one of the objects listed inside these beans will be compared against the limits defined.- Parameters:
value
-String
value with the name of the bean to search for.- Since:
- MicroStrategy Web 8.0.0
-
setMaxObjects
public void setMaxObjects(java.lang.String value)
Indicates a set of limits in the number of objects to account for, divided by object type.
Usage:
The number of children objects inside the bean specified on the name attribute will be counted and compared against the limits specified on this attribute. The most simple way for setting a limit is listing a single number like "5" as possible value, this will indicate that 5 is the limit (regardless of the object type) and if the number of children exceeds 5, then the tag will evaluate the condition asTrue
.- Parameters:
value
-String
. If the user wants to define limits based on the object type, then a string with this format will have to be defined: "objectType1:count1;objectType2:count2", where the objectType is defined according to theEnumDSSXMLObjectTypes
enumeration, and the count is the limit set for that object type. If any of the object types specified exceeds the limit set, the condition will returnTrue
.
-
-