[jboss-user] [JBoss Portal] - Re: Changing portlet preferences per portlet instance

julien@jboss.com do-not-reply at jboss.com
Fri Apr 11 18:32:41 EDT 2008


"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>



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143572#4143572

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143572



More information about the jboss-user mailing list