The moose likes Portals and Portlets and the fly likes Default portlet for Portal page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Default portlet for Portal page" Watch "Default portlet for Portal page" New topic
Author

Default portlet for Portal page

GaneshKumar Kumar
Greenhorn

Joined: May 23, 2006
Posts: 24
Hi,
I am using WPS 5.1. In the portal, When I choose "T" layout in any
page in the portal, a particular portlet should be added
automatically. It should not be added by clicking the Add button in
the Edit Layout. The portlet should be added thru coding. If you have
any ideas please let me know.

Thanks.
Ganesh
Ryan Wilson
Ranch Hand

Joined: Apr 16, 2003
Posts: 62
Are you asking for a particular portlet to be added to all pages that have the "t" layout?

If so this is not possible through the portal admin console. I would suggest using xmlAccess to create your pages. This would allow you the option of adding the portlet to the page.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4962

Your problem has been bouncing around in my head since you posted it, but like Ryan, I can't think of a solution.

Maybe you could tell us what you are trying to achieve and why, and perhaps we can come up with an idea based on that added information.

I always have seeing a WebSphere Portal Server (WPS) problem go unsolved.

-Cameron McKenzie


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
GaneshKumar Kumar
Greenhorn

Joined: May 23, 2006
Posts: 24
Hi Cameron,
Actually we are deveoping custom portlets for our portal. We have a portlet called "News portlet". The portal has around 30 pages right now. The "News portlet" should be present in all the pages. Assuming that the layout for all the pages is "T" layout. It should not be done by accessing all the 30 pages and clicking the Edit Page link then adding the News portlet. The portlet should be associated with the Layout. Whenever the "T" layout is choosen for a particular page this portlet should be automatically added and appear in the page. How do I achive this? Please let me know.

Thanks.
Ganesh
 
 
subject: Default portlet for Portal page
 
Threads others viewed
show/hide portlets in portal
Two Portlets in one window?
show/hide portlet?
mapping user with the portal/portlet state
Portlet form data persistence
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture