Examples of addLocalizedTitle()


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

    @RequestMapping(params = "action=postTranslation")
    public ModelAndView postPortletTranslation(@RequestParam("id") String portletId,
            @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);
        }
       
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.