Alan McAuley wrote:
>
> Hello,
>
> Anyone got an example of using the PanedPortletCOntrol in conjunction
> with the CardPortletController?
>
> ie anyone got some psml? or could point me at an example.
>
It's quite simple: you should set the PanedControl on a PortletSet
which also uses a CardPortletController as iits controller.
The control will then look at all the portlet and portletset included
in this portletset and display a title bar with their title:
eg
PSML/Jetspeed 1.2b1
<portlets>
<control>PanedPortletControl</control>
<controller>CardPortletController</controller>
<!-- for a working example you should put the complete
classnames (with packages) in the 2 lines above -->
<portlets>
<metainfo>
<title>My Card 1</title>
</metainfo>
<!-- whatever -->
</portlets>
<portlets>
<metainfo>
<title>My Card 2</title>
</metainfo>
<!-- whatever -->
</portlets>
</portlets>
--
Rapha�l Luta - [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]