AquaLogic User Interaction Development Guide

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

Inserting Pagelets Using 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-ALI 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>

  Back to Top      Previous Next