Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
A supporting tab library for Apache Sling1.4slinghttp://sling.apache.org/taglibs/slingadaptToorg.apache.sling.scripting.jsp.taglib.SlingFunctionsjava.lang.Object adaptTo(org.apache.sling.api.adapter.Adaptable, java.lang.String)encodeorg.apache.sling.scripting.jsp.taglib.SlingFunctionsjava.lang.String encode(java.lang.String, java.lang.String)findResourcesorg.apache.sling.scripting.jsp.taglib.SlingFunctionsjava.util.Iterator findResources(org.apache.sling.api.resource.ResourceResolver, java.lang.String, java.lang.String)getRelativeResourceorg.apache.sling.scripting.jsp.taglib.SlingFunctionsorg.apache.sling.api.resource.Resource getRelativeResource(org.apache.sling.api.resource.Resource,java.lang.String)getResourceorg.apache.sling.scripting.jsp.taglib.SlingFunctionsorg.apache.sling.api.resource.Resource getResource(org.apache.sling.api.resource.ResourceResolver,java.lang.String)getValueorg.apache.sling.scripting.jsp.taglib.SlingFunctionsjava.lang.Object getValue(org.apache.sling.api.resource.ValueMap,java.lang.String,java.lang.Object)hasChildrenorg.apache.sling.scripting.jsp.taglib.SlingFunctionsjava.lang.Boolean hasChildren(org.apache.sling.api.resource.Resource)listChildrenorg.apache.sling.scripting.jsp.taglib.SlingFunctionsjava.util.Iterator listChildren(org.apache.sling.api.resource.Resource)
Execute a script.
call
org.apache.sling.scripting.jsp.taglib.CallTag
empty
Whether to flush the output before including the target
flushfalsetrueboolean
The script to include.
scriptfalsetrue
Controls if the component hierarchy should be ignored
for script resolution. If true, only the search paths are respected.
ignoreComponentHierarchyfalsetrue
Includes a resource rendering into the current page
include
org.apache.sling.scripting.jsp.taglib.IncludeTagHandler
org.apache.sling.scripting.jsp.taglib.tei.StringVariableTEI
empty
Whether to flush the output before including the target
flushfalsetrueboolean
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.
resourcefalsetrueorg.apache.sling.api.resource.Resource
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.
pathfalsetrue
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.
resourceTypefalsetrue
When dispatching, replace selectors by the value
provided by this option.
replaceSelectorsfalsetrue
When dispatching, add the value provided by this option
to the selectors.
addSelectorsfalsetrue
When dispatching, replace the suffix by the value
provided by this option.
replaceSuffixfalsetrue
If var is specified, what scope to store the variable in
scopefalsefalseString
Variable name to store the resulting markup into
varfalsefalseString
Forwards a request to a resource rendering the current
page
forward
org.apache.sling.scripting.jsp.taglib.ForwardTagHandler
empty
The resource object to forward the request to. Either
resource or path must be specified. If both are
specified, the resource takes precedences.
resourcefalsetrueorg.apache.sling.api.resource.Resource
The path to the resource object to forward the request
to. If this path is relative it is appended to the path
of the current resource whose script is forwarding the
given resource. Either resource or path must be specified.
If both are specified, the resource takes precedences.
pathfalsetrue
The resource type of a resource to forward. If the
resource to be forwarded 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.
resourceTypefalsetrue
When dispatching, replace selectors by the value
provided by this option.
replaceSelectorsfalsetrue
When dispatching, add the value provided by this option
to the selectors.
addSelectorsfalsetrue
When dispatching, replace the suffix by the value
provided by this option.
replaceSuffixfalsetrue
Defines regularly used scripting variables
defineObjects
org.apache.sling.scripting.jsp.taglib.DefineObjectsTag
org.apache.sling.scripting.jsp.taglib.DefineObjectsTEI
emptyrequestNamefalsefalseresponseNamefalsefalseresourceNamefalsefalsenodeNamefalsefalselogNamefalsefalseresourceResolverNamefalsefalseslingNamefalsefalse
Evaluates a script invocation and includes the result
in the current page.
eval
org.apache.sling.scripting.jsp.taglib.EvalTagHandler
empty
Whether to flush the output before including the target
flushfalsetrueboolean
The path to the script object to include in the current
request processing. By default, the current resource
is used for script resolving. This behaviour can
be changed by specifying either resource, resourceType
or ignoreResourceTypeHierarchy.
scripttruetrue
The resource object to include in the current request
processing. This attribute is optional. If it is
specified, resourceType should not be used. If both
are used, resource takes precedence.
resourcefalsetrueorg.apache.sling.api.resource.Resource
The resource type of a resource to include. This
attribute is optional. If it is specified, resource
should not be used. If bot are used, resource
takes precedence.
resourceTypefalsetrue
Prevents using the resource type hierarchy for searching
a script.
ignoreResourceTypeHierarchyfalsetrueboolean
Adapts adaptables to objects of other types.
adaptTo
org.apache.sling.scripting.jsp.taglib.AdaptToTag
org.apache.sling.scripting.jsp.taglib.tei.AdaptToTEI
empty
The adaptable object to adapt.
adaptabletruetrueorg.apache.sling.api.adapter.Adaptable
The class name to which to adapt the adaptable.
adaptTotruetrue
The name of the variable to which to save the adapted
object.
vartruetrue
Writes properly XSS encoded text to the response using the
OWASP ESAPI for supporting a number of encoding modes.
encode
org.apache.sling.scripting.jsp.taglib.EncodeTag
JSP
The value to encode.
valuefalsetrue
The default value to be used if the value is either
null or an empty string.
defaultfalsetrue
The mode to use for encoding. Must be one of the
valid modes found in XSSSupport.ENCODING_MODE.
modetruetrue
Tag for searching for resources using the given query
formulated in the given language.
findResources
org.apache.sling.scripting.jsp.taglib.FindResourcesTag
org.apache.sling.scripting.jsp.taglib.tei.ResourceIteratorVariableTEI
empty
The query string to find the resources.
querytruetrue
The query language to use.
languagetruetrue
The name of the variable to which to save the resources.
vartruetrue
Retrieves the value from the ValueMap, allowing for a
default value or coercing the return value.
getProperty
org.apache.sling.scripting.jsp.taglib.GetPropertyTag
org.apache.sling.scripting.jsp.taglib.tei.GetPropertyTEI
empty
The name of the variable to which to save the resource.
varfalsetrue
The ValueMap from which to retrieve the value.
propertiestruetrue
The key to retrieve the value from from the ValueMap.
keytruetrue
The default value to return if no value exists for the
key. If specified, this takes precedence over returnClass.
defaultValuefalsetrue
The class into which to coerce the returned value.
returnClassfalsetrue
Retrieves resources based on either an absolute path or a
relative path and a base resource.
getResource
org.apache.sling.scripting.jsp.taglib.GetResourceTag
org.apache.sling.scripting.jsp.taglib.tei.ResourceVariableTEI
empty
The base resource under which to retrieve the child
resource, will only
be considered if a relative path is specified.
basefalsetrue
The path of the resource to retrieve, if relative, the
base resource must be specified.
pathtruetrue
The name of the variable to which to save the resource.
vartruetrue
Lists the children of a Sling Resource.
listChildren
org.apache.sling.scripting.jsp.taglib.ListChildrenTag
org.apache.sling.scripting.jsp.taglib.tei.ResourceIteratorVariableTEI
empty
The resource for which to retrieve the children.
resourcetruetrueorg.apache.sling.api.resource.Resource
The name of the variable to which to save the child
resources.
vartruetrue