Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

changing Portlet Preference

 
Amirr Rafique
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • 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.
 
Amarender Reddy
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • 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,
     
    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
    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
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic