Oliver Lietz created SLING-4297:
-----------------------------------

             Summary: add a dialect and processors to provide out-of-the-box 
support for a Sling Include
                 Key: SLING-4297
                 URL: https://issues.apache.org/jira/browse/SLING-4297
             Project: Sling
          Issue Type: New Feature
          Components: Scripting
            Reporter: Oliver Lietz
            Assignee: Oliver Lietz
             Fix For: Scripting Thymeleaf 0.0.6


http://sling.apache.org/documentation/bundles/sling-scripting-jsp-taglib.html

{quote}
include

Includes a resource rendering into the current page.

Attributes
* flush - Whether to flush the output before including the target.
* resource - The resource object to include in the current request processing. 
Either resource or path must be specified. If both are specified, the resource 
takes precedences.
* path - The path to the resource object to include in the current request 
processing. If this path is relative it is appended to the path of the current 
resource whose script is including the given resource. Either resource or path 
must be specified. If both are specified, the resource takes precedences.
* resourceType - The resource type of a resource to include. If the resource to 
be included is specified with the path attribute, which cannot be resolved to a 
resource, the tag may create a synthetic resource object out of the path and 
this resource type. If the resource type is set the path must be the exact path 
to a resource object. That is, adding parameters, selectors and extensions to 
the path is not supported if the resource type is set.
* replaceSelectors - When dispatching, replace selectors by the value provided 
by this option.
* addSelectors - When dispatching, add the value provided by this option to the 
selectors.
* replaceSuffix - When dispatching, replace the suffix by the value provided by 
this option.
* scope - If var is specified, what scope to store the variable in. (Since 1.3)
* var - ariable name to store the resulting markup into (Since 1.3)
{quote}

* _flush_, _scope_ and _var_ are not supported
* _unwrap_ to remove host tag is supported



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to