JSP rendering order
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > JSP rendering order




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    JSP rendering order  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-25-05 11:12 PM

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 w
ith portal server 5.1 to specify the order in which the JSPs are rendered? I
'm using IBM's portlet API


Thanks





[ Post a follow-up to this message ]



    Re: JSP rendering order  
Maik Weber


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-26-05 01:01 PM

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 ser
ver 5.1 to specify the order in which the JSPs are rendered? I'm using IBM's portlet
 AP
I
>
> Thanks





[ Post a follow-up to this message ]



    Re: JSP rendering order  
Michael Harris


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-27-05 10: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"?





[ Post a follow-up to this message ]



    Re: JSP rendering order  
Michael Harris


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-27-05 10: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.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:22 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register