Examples of addLocalizedDescription()


Examples of org.jasig.portal.portlet.om.IPortletDefinition.addLocalizedDescription()

            @RequestParam("locale") String locale, ResourceRequest request) throws Exception {
        final IPortletDefinition definition = portletDefinitionDao.getPortletDefinition(portletId);
        if (definition != null) {
            definition.addLocalizedTitle(locale, request.getParameter("title"));
            definition.addLocalizedName(locale, request.getParameter("name"));
            definition.addLocalizedDescription(locale, request.getParameter("description"));
            portletDefinitionDao.updatePortletDefinition(definition);
        }
       
        return new ModelAndView("json");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.