-
1. Re: NullPointer: Setting portlet instance preferences via In
ironman77 Feb 29, 2008 5:04 AM (in response to ironman77)2. Is the setting of portlet instance prefs via the InstanceContainer bound to the admin user?
3. Am i missing some service?
4. What am i doing wrong ;-) Reading seems to work ....
Thanks in advance. -
2. Re: NullPointer: Setting portlet instance preferences via In
claprun Feb 29, 2008 3:47 PM (in response to ironman77)What are you trying to do exactly, i.e. why do you need to access the InstanceContainer? Any reason you are using 2.6.1 and not 2.6.4?
-
3. Re: NullPointer: Setting portlet instance preferences via In
ironman77 Mar 1, 2008 4:21 AM (in response to ironman77)Hi chris,
we set some portlet instance parameters via the portlet-instance.xml. These parameters are visible to all user - we want a user with a defined role ("site admin") to be able to modify these settings. Setting the values via the PortletPreferences is not an option as these values are stored in connetion with the logged in user and not for all users. That is why we want to modify the portlet instance parameters via the InstanceContainer.
There is a reason for using this version: we are devloping since mid 2007 and want to keep our developing platform and libary base stable. We have also noticed that, there a some bigger changes between the different portal versions, like a change of the underlaying jboss application server version from 2.6.0 to 2.6.1. So maybe we grade up after our portal projetk is final, but until now we want to keep the version.