Hi,

There are the following properties(options) in the taglib.tld for JSP tags
in sling.

resource

path

resourceType

addSelectors

replaceSelectors

replaceSuffix

flush

I have used path , resourceType , addSelectors and what happens is clear for
me. The rest is bit unclear for me.

I can't understand how to avoid using path and use resource instead for
<sling:include /> tag.

I used the section registration by resource in
http://incubator.apache.org/sling/site/servlet-resolution.html as a
reference  to understand how to do this.

is it possible to use this inside a <sling:include/> tag.

I've also tried to understand the replaceSuffix , replaceSelectors using the
table given in

http://incubator.apache.org/sling/site/sling-api.html .

Also I've uploaded selector.img file and tried to change the extension to
selector.txt using replaceSuffix but haven't been able to get it working.

Can I replace a selector.html with replace.html using replaceSelectors ( I
tried to use it but the result of the replace.jsp is not appearing).

Is there a combination for using the above options.


Janandith.

Reply via email to