<sly data-sly-resource="${ x @ resourceType='/apps/xxxxxx/components'}" data-sly-unwrap></sly>
It works in the preview mode.when we go to edit mode, the page hangs up.please help me in this.
And also tell me other ways to pass resource to another component.
Solved! Go to Solution.
Views
Replies
Total Likes
you can use selectors for this. However this is not the intention of data-sly-resource.
Have a look if a template (data-sly-template) suits your requirement
Views
Replies
Total Likes
See this related Stackoverflow thread:
Views
Replies
Total Likes
you can use selectors for this. However this is not the intention of data-sly-resource.
Have a look if a template (data-sly-template) suits your requirement
Views
Replies
Total Likes
Components should as much as possible get their values from Dialog or OSGi configurations. Passing values between components is not a great practice.
Views
Replies
Total Likes
can you give a good example for this?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies