protected void renderPortletPreferences(RenderRequest request, RenderResponse response) throws IOException
   {
      PrintWriter w = response.getWriter();
      w.write("<div class=\"portlet-section-header\">Here are the list of Portlet Preferences name/value couples</div>");
      
      PortletPreferences preferences = request.getPreferences();
      Enumeration<String> names = preferences.getNames();
      while(names.hasMoreElements())
      {
         String name = names.nextElement();
         String[] parameterValues = preferences.getValues(name, null);
         for(String value : parameterValues)
         {
            w.write("- " + name + " : " + value + "<br/>");
         }
      }
   }