• 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:

changing Portlet Preference

 
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Fellows

I want to achieve following functionality. I am using Bea WebLogic portal.

"If a user changes portlet preference value. This new value should be visible to all then users." Right now this change is only visible to user to made it.

Can anyone please help.
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Amir,

Can you give us more information as:
  • Are all the users are authenticated users?
  • If yes, then are they the general users or admin users?
  • When you say "only the user who changed the preference value can see the changes", what are the other users able to see - a default value or their previously set value or anything else?

  • Please eloborate on these points.

    Thanks,
     
    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
    PortletPreferences are unique to a user - other users can't see it.

    PortletConfig is specific to the Portlet itself. Something stored in PortletConfig can be seen by everyone using the Portlet

    PortletContext is global to the war. If you want to make a change that everyone can see, regardless of the portlet they are in, you can make it to the PortletContext. It's global to the war, set in the web.xml file, and very difficult to differentiate from the ServletContext of the JSP and Servlet API.

    -Cameron McKenzie
     
    reply
      Bookmark Topic Watch Topic
    • New Topic