You may also use portlet references to achieve this kind of effect. For
example to create a page with two rows, 1st row with 1 column and 2nd row
with 2 columns:

1. Create a two column page and place your portlets in the respective
columns.
2. Create your main single column page.
3. Drop a portlet in the first row.
4. Drop a reference to the two column page in the second row. By default,
you must be an admin to select references in the layout customizer.

The references are now suitable for all situations though and they have
certain limitations. Some of the limitations are documented here
http://cvs.apache.org/viewcvs.cgi/jakarta-jetspeed/README?rev=1.29&view=auto
.

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: [EMAIL PROTECTED]
web: http://www.ngsltd.com


> -----Original Message-----
> From: Rapha�l Luta [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 01, 2004 6:46 AM
> To: Jetspeed Users List
> 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]

Reply via email to