|
Home > Archive > WebSphere Portal Server > May 2007 > Space between containers in WebSpherePortal 6.0
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Space between containers in WebSpherePortal 6.0
|
|
|
| Hi, i'm having one question:
how can you set space between for ex. two row containers which resides in one column container,i've tried to edit unlayered containers X&Y, but nothing happened,is there anything else that need to be done?
tnx
| |
| David Wilkerson 2007-04-20, 1:27 pm |
| I am not sure what you are trying to do but, generally, you control the layout of the portlets (as in where they appear on the page) through the theme. If you want to change the behavior of the columns and rows you would have to make a change to the under
lying theme.
If all you want to do is control the width of the columns as an absolute or relative value you could use the settings on the layout page.
--While I breathe I hope.
http://www.geedavid.com
For some of the best WebSphere Portal (including WebSphere Portlet Factory), Lotus Domino, Web Content Management and Workplace training see http://www.davalen.com
| |
|
| let's be more specific:
i'm having two portlets each one associated with separate skin,each one of the portlets resides in one column container,both column containers reside in row container..
my question is which jsp file controls space between column containers,i know that you can specify absolute or relative width of the portlets but everything you did is reflected inside the container,how can you specify for ex. 20 px between column contain
ers?
tnx
| |
| Michael Harris 2007-05-02, 1:33 pm |
| You must edit the skin JSP files to change this spacing.
The column and row containers on a page are rendered by
UnlayeredContainer-H.jsp and UnlayeredContainer-V.jsp in the skin.
Since you can't apply a skin to a whole page (only individual portlets),
the system uses the version of the files in the skin that is marked as
"default" for the theme set on the current page.Changing these JSP files
will alter the spacing between the columns and rows for all pages that
use the same theme.
If you want different spacing on different pages, you have to have
different skins (to get the different versions of the UnlayeredContainer
JSP files) and then you have to have different themes so you can set the
different skins as "default" for each one. Then apply the different
themes to each of the pages on which you want the different spacing.
If the IBM skin is the default skin for your theme, consider creating
your own skin and setting it as default instead of modifying the IBM
skin directly as those files may be updated with a fixpack.
|
|
|
|
|