The pt:ensemble.inject tag injects the output of the specified pagelet into the page.
<pt:ensemble.inject pt:name="mylibrary:mypagelet" pagelet-attribute="A pagelet attribute"> <?xml version="1.0" encoding="utf-8"?> <doc>This is an XML payload.</doc> </pt:ensemble.inject>
For an example of using this code, seeCreating a Custom Pagelet with the Java Oracle WebCenter Interaction Development Kit (IDK) Proxy API or Creating a Custom Pagelet with the .NET Oracle WebCenter Interaction Development Kit (IDK) Proxy API.
You can also insert pagelets into non-proxied pages; for details, see Inserting Pagelets into Non-Proxied Pages.