JBoss.org Community Documentation

3.2.2.2. Portlet title

The previous example only output the portlet markup. Let's examine how to output a complete portlet representation. The portlettitle tag is used to insert the render phase generated title of the portlet referenced by the enclosing portlet element:

<portal:portlet name="JSPPortlet" applicationName="samples-jsp-portlet">
   ...
   <portal:portlettitle/>
   ...
</portal:portlet>

Example 3.2. Portlet title