You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it looks like data-sly-resource creates a new internal request against the sling engine, where as data-sly-include looks for the specified script/servlet and executes it, using the same request context, i.e. the same current resource.
so data-sly-resource can be compared with a <jsp:include page="" /> and data-sly-include is similar to <%@ include file="" %>
would be nice to update the specification. imo, only people familiar with sling might possibly understand the current description. I will provide a PR.
the spec does not clearly state the difference between data-sly-include and data-sly-resource.
it would be nice to give an example.
The text was updated successfully, but these errors were encountered: