Component identification parameters

Name | Value
--- | ---
component-type | org.ajax4jsf.Portlet
component-family | org.ajax4jsf.component.Portlet
component-class | org.ajax4jsf.component.html.HtmlPortlet

## Creating on a page

    <f:view>
    	<a4j:portlet>
    	...
    	</a4j:portlet>
    </f:view>

## Dynamical creation of a component from Java code

    import org.ajax4jsf.component.html.HtmlPortlet;
    ...
    HtmlPortlet myPortlet = new HtmlPortlet();
    ...

## Key attributes and ways of usage

Portal page can include some instances of the same portlet but clientId of elements should be different for each window. In that case 'namespace' is used for each portlet. The <a4j:portlet> implemets NaimingContainer interface and adds namespace to all componets on a page. All portlet content should be wrapped by <a4j:portlet> for resolving problems mentioned before.

## Relevant resources links

Here you can see the example of <a4j:portlet> usage and sources for the given example.

The aditional information about component usage you can find here: Ajax4Jsf Users Forum.

Portlet Sample could be checked out from JBoss SVN: portal-echo application.

Usage instructions for this demo could be found at the corresponding: portal-echo application.