NoDocTitle

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Inserting Pagelets Using Oracle WebCenter Ensemble Adaptive Tags

The pt:ensemble.inject tag injects the output of the specified pagelet into the page.

The pagelet is referenced by the fully qualified name of the pagelet as defined in Ensemble, in the form libraryname:pageletname.
Any non-Oracle WebCenter Interaction attributes (not prefixed with "pt:") will be passed on to the pagelet. Any HTML content inside the pagelet tag will be passed to the pagelet as an XML payload.
<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.


  Back to Top      Previous Next