You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Michael Kearns <mi...@saaconsultants.com> on 2006/09/29 15:19:17 UTC

How to make portlets span columns in layout ?

Hi,

I'm need to have a page where there are two columns each with a portlet 
inside, and then another portlet beneath them that spans both columns. 
For example:

## ##
## ##

#####
#####

I can't seem to find a straightforward way to achieve this, and looking 
into the layout portlets and templates just gets me even more confused !

Is there any way to achieve this in a straightforward fashion ?

As a future enhancement, a really great layout addition would be 
specifying the layout by writing a simple Velocity template that defines 
the html (or a fragment thereof) of the page, with references to each 
portlet-id where the portlet should be rendered, such as:

<table>
    <tr><td>${dp-1}</td><td>${dp-2}</td></tr>
    <tr><td>${dp-3}</td></tr>
</table>

This would allow our webdesign team to much more easily layout the pages 
with no knowledge of jetspeed required. I'd write a layout to handle 
this, but I can't get my head around how the layout portlet works.

Michael.

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org