Hide portlet
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 > Hide portlet




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

    Hide portlet  


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


 
08-26-05 12:56 PM

Hello,

I have page, where are two portlets:
1. Portlet that shows list of people(like DataTable jsf component)
2. 'Detail Portlet' that show selected person in more detail.

Till now, everything is ok. But when no person is selected I  don't want to 
render the 'Detail Portlet' at all. And that is the question, I don't know h
ow to do that in runtime (e.g. how to do it in doView() method in the first 
portlet). Is there any API
how to do that ?





[ Post a follow-up to this message ]



    Re: Hide portlet  
Maik Weber


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


 
08-26-05 11:02 PM

Hi, the simplest way is to just don't display anything in the Detail
portlet until something is selected in the ListPortlet.

You just have ensure that a skin with no border is used. Otherwise you
will see the help and edit button and a border.

Another, more complex solution is to use Dynamic Pages. But I don't
know, if this feature is already capable to this functionality and if
the necessary API is public.

Maik


vac117@vsb.cz wrote:
> Hello,
>
> I have page, where are two portlets:
> 1. Portlet that shows list of people(like DataTable jsf component)
> 2. 'Detail Portlet' that show selected person in more detail.
>
> Till now, everything is ok. But when no person is selected I  don't want to render
 the 'Detail Portlet' at all. And that is the question, I don't know how to do that 
in runtime (e.g. how to do it in doView() method in the first portlet). Is there any
 AP
I how to do that ?





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:30 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