<cq:defineObjects /> tag
The above tag exposes the following regularly used, scripting objects which can be referenced by the developer. It also exposes the objects defined by the <sling:defineObjects> tag.
1. componentContext
Package: com.day.cq.wcm.api.components
2. public interface ComponentContext
The current component context object of the request.
3. component
Package: com.day.cq.wcm.api.components.Component interface
The current cQ5 component object of the current resource
4. currentDesign
Package: com.day.cq.wcm.api.designer.Design interface
The current design object of the current page
5. currentPage
Package: com.day.cq.wcm.api.Page interface
The current CQ WCM page object.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.