Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-2183

Allow to store the output into a variable when using <hst:include/> tag

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.30.00
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      When a child window renders a blank output, the container component might want to not display the child content. So, it would be better if the container component can store the child output into a variable like the following example:

      <hst:include ref="aChild" var="aChildOut">
       <c:if test="${not empty fn:trim(aChildOut)}">
         <div class="hst-container-item">${aChildOut}</div>
       </c:if>
      </hst:include>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wko Woonsan Ko
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: