WebSphere Portal Server - Height of the portlet

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > November 2005 > Height of the portlet





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 Height of the portlet

2005-11-30, 5:56 pm

Hi
How do I control the height of the portlet??
In other words I want my portlet to have a different size in the portal page.How do I do that?
And how do I specify this properties in XMLAccess?
Thanks in advanced.
-Avijit

2005-11-30, 5:56 pm

> Hi
> How do I control the height of the portlet??
> In other words I want my portlet to have a different
> size in the portal page.How do I do that?
> And how do I specify this properties in XMLAccess?
> Thanks in advanced.
> -Avijit


You can't change the height of a portlet administratively. You should be able to put the contents of the portlet within a box with a specified height in the portlet's main JSP though. Like this:

<DIV style="height:600px">
[JSP code for portlet]
</DIV>

--
Mark M
IBM Virtual Innovation Center

2005-11-30, 5:56 pm

Hi Mark
Thanks for the input.
I cant see the JSP code you sent.
Thanks
-Avijit

2005-11-30, 5:56 pm

Whoops. Try this. Replace the square brackets with the standard greater than/less then tags that surround JSP/HTML tags -

[DIV style="height:600px"]
JSP code for portlet
[/DIV]


--
Mark M
IBM Virtual Innovation Center
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com