Hello,
Is it possible to execute "response.sendError(404)" inside sightly template?
Or I need to create a jsp and use data-sly-include?
Thanks!
Solved! Go to Solution.
Views
Replies
Total Likes
You can via the data-sly-use. Not directly in the template.
For example, if you extend WCMUse, you can do:
getResponse().sendError(...)
Views
Replies
Total Likes
You can via the data-sly-use. Not directly in the template.
For example, if you extend WCMUse, you can do:
getResponse().sendError(...)
Views
Replies
Total Likes