Hi Rory,

Rory Douglas schrieb:
> I have a resource of type test/A, which has 2 rendering scripts at:
> (1) /apps/test/A/edit.html.jsp and
> (2) /apps/test/A/view.html.jsp.
> 
> In those scripts I render resources of type test/B, which has rendering
> scripts at:
> (3) /apps/test/B/edit.small.jsp and
> (4) /apps/test/B/view.small.jsp

Shouldn't these rather be

  (3) /apps/test/B/edit/small.html.jsp and
  (4) /apps/test/B/view/small.html.jsp

?

Regards
Felix

> (5) /apps/test/B/edit.html.jsp
> 
> What is the correct syntax of a <sling:include tag> to include the
> edit.small rendering (3) of test/B inside the edit rendering (1) of test/A?
> 
> I have <sling:include replaceSelectors="edit.small" path="..." /> but
> that doesn't work.  I also tried addSelectors="small" but that didn't
> work either.  Both of those yield an include of edit.html.jsp (5)
> instead of edit.small.html.jsp (3).
> 
> Rory
> 

Reply via email to