Hi Bertrand,

I tried as you suggested. It works for a single resource. How can I
use it for multiple resources.

janandith.

On Thu, Jul 17, 2008 at 4:06 PM, Bertrand Delacretaz
<[EMAIL PROTECTED]> wrote:
>
> Hi Janandith
>
> On Thu, Jul 17, 2008 at 12:15 PM, janandith jayawardena
> <[EMAIL PROTECTED]> wrote:
> > ...I want to use sling:include tag's addSelector property...
>
> I'd suggest the following:
>
> -Use a single resource, say /test, with resource type=foo
> -Create two scripts, /apps/foo/foo.jsp and /apps/foo/selector.jsp
> -Verify that you can render /test both ways, that is /test.html (uses
> first script) and /test.selector.html (uses second script)
> -Try adding <sling:include addSelectors="selector"/> in the foo.jsp
> script, and verify that that includes the output generated by the
> selector.jsp script.
>
> That should work.
> -Bertrand

Reply via email to