@ RenderMapping public String showConfigPage ( RenderRequest request , PortletPreferences preferences , Model model ) { // Add skin names SortedSet < String > skins = skinService . getSkinNames ( request ) ; model . addAttribute ( "skinNames" , skins ) ; // Get the list of preferences and add them to the model Enumeration < String > preferenceNames = preferences . getNames ( ) ; while ( preferenceNames . hasMoreElements ( ) ) { String name = preferenceNames . nextElement ( ) ; if ( name . startsWith ( DynamicRespondrSkinConstants . CONFIGURABLE_PREFIX ) ) { model . addAttribute ( name , preferences . getValue ( name , "" ) ) ; } } return "jsp/DynamicRespondrSkin/skinConfig" ; }
Display a form to manage skin choices .