Hi,
On Sun, Jul 13, 2008 at 9:26 PM, Bryce Ewing <[EMAIL PROTECTED]> wrote:
> ...Have a look in the org.apache.sling.scripting.jsp.taglib bundle.
> IncludeTagHandler is the sling:include tag class....
Yes, and if you look at the source code of that class you can see
which attributes the sling:include tag supports. For example:
public void setResourceType(String rsrcType) {
this.resourceType = rsrcType;
}
Means that <sling:include resourceType="foo"/> can be used, and
looking at the source code you'll see that the possible attributes are
currently:
resourceType, replaceSelectors, addSelectors, replaceSuffix, flush, resource
So, for SLING-475 those are the attributes that we want to test. The
first four attributes above are used as RequestDispatcherOptions
options, see the comments of that class for what they mean.
The flush attribute is used to flush the output stream before
executing the sling:include tag, and the resource attribute can be
used to render a specific Resource that the jsp script would have
obtained or created by itself.
-Bertrand