A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
Portals and Portlets
How to control the size of the portlet?
Joined: Oct 11, 2004
Sep 17, 2007 09:19:00
How to control the size of the portlet? I am using IBM Websphere Portal.
Joined: May 10, 2007
Apr 22, 2008 05:10:00
I am also having similar problem, any help will be greatly appreciated.
SCJP 1.5<br />SCWCD 5.0
Cameron Wallace McKenzie
author and cow tipper
Joined: Aug 26, 2006
Apr 28, 2008 17:22:00
The layout of a portal page is determined by the theme and skin in which it resides.
Tables and style sheets can be used to manipulate the layout within a portlet, but you can't control the overall size. All you can do is develop a portlet that will look good in any environment.
Having said that, if your portlet is given 400x400 pixels, there's no reason you can't just put the whole thing in a table 200x200 in size. There'll just be
of whitespace, that's all.
Jonas X. Yuan
Joined: May 18, 2008
May 20, 2008 17:28:00
In Liferay, the size of portlet can be controlled by Layouts.
Here is an real example:
Liferay Portal 6.1 Systems Development
I agree. Here's the link:
subject: How to control the size of the portlet?
size of JButton
portlet size depends on browser size?
How to convert Jboss EAR to Portlet?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014