• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Default portlet for Portal page

 
GaneshKumar Kumar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
GaneshKumar Kumar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic