-
1. Re: Changing portlet preferences per portlet instance
julien1 Apr 10, 2008 12:16 PM (in response to erezharari)It is possible you need to go in the "Portlet Instances" tab and if a portlet declares preferences it has a preferences action.
-
2. Re: Changing portlet preferences per portlet instance
erezharari Apr 10, 2008 11:53 PM (in response to erezharari)this is correct. however, the preferences section of a portlet is read-only (for non read-only preferences as well).
and more. when i redeploy a portlet instance for which i have overriden the orig preferences in portlet-instances.xml, the changes are not applied, as the instance is already deployed and there is no 'override' option in portlet-instances.xml.
so is there a way to manually 'clear' the deployed instance (in database maybe) and allow the changes to be applied when i redeploy it? -
3. Re: Changing portlet preferences per portlet instance
julien1 Apr 11, 2008 6:32 PM (in response to erezharari)"erezharari" wrote:
this is correct. however, the preferences section of a portlet is read-only (for non read-only preferences as well).
and more. when i redeploy a portlet instance for which i have overriden the orig preferences in portlet-instances.xml, the changes are not applied, as the instance is already deployed and there is no 'override' option in portlet-instances.xml.
so is there a way to manually 'clear' the deployed instance (in database maybe) and allow the changes to be applied when i redeploy it?
I think there is an option that allows to do that which is the tag "if-exists" with the overwrite value.<instance> ... <if-exists>overwrite</if-exists> ... </instance>
-
4. Re: Changing portlet preferences per portlet instance
erezharari Apr 13, 2008 4:55 AM (in response to erezharari)I'm afraid there is no if-exists element in portlet-instances_2_0.dtd.
is there some workaround to force override in development mode?