3 Replies Latest reply on Aug 4, 2012 12:14 PM by julien_viet

    User-specific PortletPrefernces on the portal/group site

    panfil

      In https://community.jboss.org/thread/200479 it is said, that on the portal/group site PortletPrefernces are shared between many users. Sometimes it realy make sence, but sometimes is not. What if I want to let each user to personalise a portlet on the portal page (like classic)?

       

      So is there any way to override default behaviour with PortletPrefernces so they were always user-specific?

        • 1. Re: User-specific PortletPrefernces on the portal/group site
          julien_viet

          no the persistence is not supported for this.

           

          what you could do is to make your own implementation using a portlet filter in front of the portlet that would store preferences in the database of your choice. You could use as key the user id + the PortletRequest#getWindowID() value.

          1 of 1 people found this helpful
          • 2. Re: User-specific PortletPrefernces on the portal/group site
            panfil

            Sad.

            what you could do is to make your own implementation using a portlet filter in front of the portlet that would store preferences in the database of your choice. You could use as key the user id + the PortletRequest#getWindowID() value.

            I can do something like that, but I've realy expected portal to do this for me.

            • 3. Re: User-specific PortletPrefernces on the portal/group site
              julien_viet

              it is something requested by othe persons too.

               

              beyon that, it should be configurable meaning that a page or the portal itself should be flexible and provide specification of the behavior because what fits for you may not fit for others (see the other thread with the guy perfectly fine with the current behavior).