11 Replies Latest reply on Jul 16, 2008 7:56 AM by Giuseppe Martino

    how to change Portlet Preferences

    Giuseppe Martino Newbie

      I create a portlet with a preference in portlet.xml, and deploy it successfully on JBoss Portlet Container.
      The xml for this porlet is following:

       <title>Portlet Preferences</title>

      It works fine but when i change the value of preference value in xml it does not reflect it, I try to modify the preference in runtime but when i read the value of the preference in runtime it always show old value. I know that i can edit this value using protlet api, using setValue() method and store() method, but I want know why this doesn't work in my portlet.

      Thanks in advance