• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Default portlet for Portal page

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic