This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes displaying multiple portlets in a portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "displaying multiple portlets in a portlet" Watch "displaying multiple portlets in a portlet" New topic
Author

displaying multiple portlets in a portlet

Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

Can we display two or more portlet inside one portlet.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

You cannot imbed Portlets inside Portlets. Just multiple Portlets on a Portal page. It all comes down to the Portal vendor implementation. How can the Portal do the necessary Session tracking, Window state and Mode checking of a Portlet inside of another Portlet. It just isn't in the spec. So if a vendor does allow this, then you are vendor locking yourself.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

But can we display multiple portlet link inside a jsp page which is a seperate portlet.
Rajendra
Ranch Hand

Joined: Feb 21, 2006
Posts: 48
Yeah we can display more than one portlets in a single portlet application.
In a Portal page there are multiple portlet applications will be placed.Each portlet application can have one or more portlets.

Hope you understand,
Rajendra
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

Can you provide me some link where I can explore more.
Also what about portlet personalization?
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

I have two scenarios:

1.Say I develop three portlets Administrator,Retailor and Distributer and as per the group and role access configuration can I display only one portlet related to one of them on portal page?

2. Or I will develop only one portlet and use portlet personalization to display by validating against group and role access configuration?

Which one is possible?
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

I think 1 will be solution and then I will use personalization at portal page level to not display other two portlets based on who logs in. Please correct me if I am wrong?
 
 
subject: displaying multiple portlets in a portlet