Class IncludeControl

  • All Implemented Interfaces:
    javax.servlet.jsp.el.VariableResolver, IControl

    public class IncludeControl
    extends Control
    Includes a file present in the web application. The path of the file to be added, relative to the web application root, is specified in a page attribute.

    Example use using outputHtml mode: <control:lum_include page="example.xml" mode="outputHtml" /> xml data available for xsl rendering: <control id="8A488A32392C102C01393063EAAF41CE" mode="outputHtml" page="example.xml" type="lum_include"> <data> <!-- here will be the HTML data from the included file, as the text content of the data element. --> </data> </control>

    Example use using renderData mode: <control:lum_include page="example.xml" mode="renderData" /> xml data available for xsl rendering: <control id="8A488A32392C102C01393063EAAF41CE" mode="renderData" page="example.xml" type="lum_include"> <data> <!-- here will be the XML data from the included file, as part of the render data DOM, becoming a child of the data element. --> </data> </control>
    Since:
    7.0.0
    Version:
    $Revision$ $Date$