IntelliJ Java IDE
The moose likes Portals and Portlets and the fly likes changing Portlet Preference Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "changing Portlet Preference" Watch "changing Portlet Preference" New topic
Author

changing Portlet Preference

Amirr Rafique
Ranch Hand

Joined: Nov 14, 2005
Posts: 323
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.


"Know where to find the solution and how to use it - that's the secret of success."
Amarender Reddy
Ranch Hand

Joined: May 12, 2005
Posts: 54
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

    Joined: Aug 26, 2006
    Posts: 4962

    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


    Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
     
    IntelliJ Java IDE
     
    subject: changing Portlet Preference
     
    Threads others viewed
    Portlet Preferences
    ProcessAction() in Struts bridge
    Problem with Portlet Preferences not loading
    Settings for portlet
    How to pass Global parameter across portlets which are using JSR 168 API
    WebSphere development made easy
    without the weight of IBM tools
    http://www.myeclipseide.com

    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