You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/10/03 21:00:54 UTC

[jira] Closed: (SLING-34) Extend sling:include tag to allow for path specification and optional flushing

     [ https://issues.apache.org/jira/browse/SLING-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-34.
----------------------------------

    Resolution: Fixed

Implement and committed to Rev. 581686.

The sling:include tag takes the following attributes:

    flag (boolean) - true if the current output should be flushed before including the content
    content (o.a.s.components.Content) - the content to include
    path (String) - path to the content to include (absolute or relative)

Either content or path must be declared. If both are declared, content takes precedence.

If path is relative it is appended to the current content as returned by ComponentRequest.getContent().

> Extend sling:include tag to allow for path specification and optional flushing
> ------------------------------------------------------------------------------
>
>                 Key: SLING-34
>                 URL: https://issues.apache.org/jira/browse/SLING-34
>             Project: Sling
>          Issue Type: New Feature
>          Components: JSP
>    Affects Versions: 2.0.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>
> Extends the sling:include tag with support for specifying the content to include as a string path and a flag to set whether the current buffered content is to be flushed before the content is to be included.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.