While layouts are used to give different CXP pages the same structure and for sharing content, pagelets are like functions. Pagelets act like independent
HTML content and provide discrete access to this content. Pagelets can be included in any number of pages or layouts. Also, pagelets can be used for breaking
up complex pages into smaller reusable units.
A pagelet can be included in the calling page via the :renderPage() method as shown below. The first parameter is the relative URL of the CXP page implementing the pagelet. Subsequent parameters provided in the call are
simply passed on to the pagelet, and can be retrieved using PValue()/PCount() or via the :params collection of the CXP page.
Feedback
If you see anything in the documentation that is not correct, does not match your
experience with the particular feature or requires further clarification, please use
this form
to report a documentation issue.