File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Unable to show/hide JSF portlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Unable to show/hide JSF portlets" Watch "Unable to show/hide JSF portlets" New topic

Unable to show/hide JSF portlets

Tathagata Dasgupta

Joined: Aug 31, 2011
Posts: 2


I'm working on JSF portlet. I have 3 portlets side by side in a tabular form on a page.
These portlets are from a Producer App and they have been consumed in a Consumer App with the help of WSRP connection. The Consumer is a Webcenter App.

My question is, once an action performed in a portlet, I want to hide the other two portlets completely and Maximize the current one to occupy the whole page. That is, to the user it will create a feel that he has been navigated to a new page(in same window).
I tried minimizing the other two portlets but it didn't work and it's breaking the page structure(as I tried maximizing the middle portlet and other two portlets moved sideways).

I also want to know if there is any way to pass some values from the producer App's bean to the Consumer App's bean or something like that so that depending on the value passed from one portlet I can set the 'rendered' attribute of other portlet to true or false to hide and unhide them.

Looking forward for your reply..

I would imagine that if you could understand Morse code, a tap dancer would drive you crazy.
Tathagata Dasgupta

Joined: Aug 31, 2011
Posts: 2

Anyone.... could you please help me on the above topic.... plzzzz
I agree. Here's the link:
subject: Unable to show/hide JSF portlets
jQuery in Action, 3rd edition