WebSphere Portal Server - update.portlet.preserves.config.settings = false

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > September 2006 > update.portlet.preserves.config.settings = false





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author update.portlet.preserves.config.settings = false

2006-09-18, 7:55 pm

For anyone that is familiar with this setting, I'm wondering if anyone has run into this problem. I implemented the update.portlet.preserves.config.settings=false in the deploymentService.properties file and restarted the server. I then proceeded to tes
t this setting out as follows:

Given a JSR 168 portlet with a single parameter in the portlet.xml file:

<preferences>
<name>size</name>
<value>10</value>
</preferences>

I first delete the portlet using the portal admin UI.
The portlet application is redeployed.
Looking at the preferences in the portal admin UI, size=10.
The developer changes the portlet.xml so that the size paramater now has a value of 25.
The portlet application is redeployed.
The new value of 25 NEVER shows up in the portal UI.

According to the doco, "If you set this property to true, this prevents modifications made by an administrative user from being overwritten with default values that the portlet developer put into the portlet.xml in the new WAR file."

So, I am assuming that this setting should be set to false to obtain the desired functionality, yet in my testing this proves not to be the case.

Can anyone assist? Thanks very much,
Amal
Comerica Bank



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com