| Author |
JSP rendering order
|
|
|
| Hi,
I have three portlets that I would like to get rendered in a different order then what they appear on the screen e.g. bottom one first. Is there a way with portal server 5.1 to specify the order in which the JSPs are rendered? I'm using IBM's portlet API
Thanks
| |
| Maik Weber 2005-07-26, 8:01 am |
| You can set the order how portlets appears/placed on a page in the
"Manage Page Layout" section of Portal Administration. The portlet
itself has no control if it must be the first portlet on a page or not.
Maik
spflores@us.ibm.com wrote:
> Hi,
>
> I have three portlets that I would like to get rendered in a different order then what they appear on the screen e.g. bottom one first. Is there a way with portal server 5.1 to specify the order in which the JSPs are rendered? I'm using IBM's portlet AP
I
>
> Thanks
| |
| Michael Harris 2005-07-27, 5:56 pm |
| There is no way to guarantee the order of portlets being rendered...
especially if parallel rendering is turned on.
So, why is it that you want "the bottom portlet to render first"?
| |
| Michael Harris 2005-07-27, 5:56 pm |
| Michael Harris wrote:
> There is no way to guarantee the order of portlets being rendered...
Let me clarify this statement to make sure it isn't misunderstood. You
can guarantee that all portal event processing takes place prior to the
render phase. You can also guarantee that the output of a portlet will
be inserted into a particular location in the returned HTML page based
upon the page layout.
What you can't guarantee is that (for example) portlet A's doView()
method is always called before portlet B's doView() method. In your
particular installation, you might observe that this always happens, but
that doesn't make it true in all cases.
|
|
|
|