File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to control the size of the portlet?

 
ankur rathi
Ranch Hand
Posts: 3830
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to control the size of the portlet? I am using IBM Websphere Portal.

Thanks.
 
Abhishek Kanchan
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ankur,

I am also having similar problem, any help will be greatly appreciated.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 alot of whitespace, that's all.

-Cameron McKenzie
 
Jonas X. Yuan
author
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Liferay, the size of portlet can be controlled by Layouts.

Here is an real example:

http://sesamestreett.cignex.com/playlist
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic