1 16 package org.apache.cocoon.portal.pluto; 17 18 import javax.servlet.http.HttpServletRequest ; 19 20 import org.apache.cocoon.portal.pluto.om.PortletEntityImpl; 21 import org.apache.pluto.om.window.PortletWindow; 22 import org.apache.pluto.services.title.DynamicTitleService; 23 24 31 public class DynamicTitleServiceImpl 32 implements DynamicTitleService { 33 34 37 public void setDynamicTitle(PortletWindow window, 38 HttpServletRequest request, 39 String dynamicTitle) { 40 ((PortletEntityImpl)window.getPortletEntity()).getCopletInstanceData().setTemporaryAttribute("dynamic-title", dynamicTitle); 41 } 42 43 } 44 | Popular Tags |