5 Replies Latest reply on Sep 14, 2007 5:25 PM by Abhijit Ambadkar

    Updated Preferences not available

    Abhijit Ambadkar Newbie


      I am trying to get the updated preferences from the PortletPreferences interfaces, but I keep getting the values set in the xml.

      Here is my Portlet code

      public void doView(RenderRequest request, RenderResponse response) {
      System.out.println("Name is:"+prefs.getValue("name", "AAAA"));

      Here is my portlet-instances.xml

      When I execute the portlet I get
      Name is:YYYY

      When I log into admin portal and change the value of the preference to "ZZZZ" and execute the portlet I sill get
      Name is:YYYY

      What am I missing.
      Please help.