Interface ReplaceTag

  • All Superinterfaces:
    DynamicTag, EnumHTMLTags, Tag
    All Known Implementing Classes:
    ReplaceTagImpl

    public interface ReplaceTag
    extends DynamicTag
    The ReplaceTag interface respresents the section that is used to substitute the external layout template's slot section
    Since:
    MicroStrategy Web 8.0.2
    • Field Detail

      • TAG_NAME_REPLACE

        static final java.lang.String TAG_NAME_REPLACE
        The constant name of the ReplaceTag.
        See Also:
        Constant Field Values
      • ATTR_NAME_SLOT_NAME

        static final java.lang.String ATTR_NAME_SLOT_NAME
        The constant name of the attribute slot. The value is the name of the slot
        See Also:
        Constant Field Values
    • Method Detail

      • getSlotName

        java.lang.String getSlotName()
        Returns the value of slot this tag's content will replace. It is actually the value of the attribute ATTR_NAME_SLOT_NAME.
        Returns:
        the value of the attribute ATTR_NAME_SLOT_NAME.
      • replaceSlot

        void replaceSlot​(LayoutTag layoutTag)
        Replace the slot content which has the same name in the included layout with the content of the replaceTag
        Parameters:
        layoutTag - This represents the included layout that can be replaced