Thanks, that proved very helpful.
----- Original Message -----
From: "Rapha�l Luta" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Thursday, April 01, 2004 1:46 PM
Subject: Re: Flexible portlet layouts
Le 1 avr. 04, � 14:16, Gareth Edge a �crit :
> Hi,
>
> I am using Jetspeed to portalise a website for a client. One of the
> requirements is for the layout of the portlets to be flexible. For
> example they will be occasions when the user will want to have
> multiple rows of portlets but with varying numbers of columns. So the
> first row may have two portlets and the second row may have only one
> followed by another row containing three portlets. Is this easily
> achievable with Jetspeed? What would I need to do in order to meet
> this requirement?
>
> Any help with this matter would be greatly appreciated.
>
You have basically 2 ways to do this:
- use nested rows and columns controllers to achieve whatever layout
you need
<portlets>
<controller name="OneColumn">
<portlets>
<controller name="OneRow">
<-- 1st row of portlets -->
</portlets>
<portlets>
<controller name="OneRow">
<-- 2nd row of portlets -->
</portlets>
<portlets>
<controller name="OneRow">
<-- 2nd row of portlets -->
</portlets>
</portlets>
The main issue with this method is that it's not trivial to personalize
through the web
interface.
- implement another MultiColumnController that handles new "width" and
"height" parameters
for laying out portlets. Note that such a scheme may impact how the
portlets are displayed on
the page since you'll either have to depend a pure table layout (and
thus get a fixed height per row layout constraint) or use pure CSS-P to
get optimal positioning.
--
Rapha�l Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]