|
Home > Archive > WebSphere Portal Server > August 2005 > Hide 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]
|
|
|
| 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 API
how to do that ?
| |
| Maik Weber 2005-08-26, 6: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 ?
|
|
|
|
|