...
Code Block |
---|
@Controller
@RequestMapping("**/this.portlet")
public class ThisPortletController extends PortletController {
private static final Log log = LogFactory.getLog(ThisPortletController.class);
@SuppressWarnings("unchecked")
@Override
protected void populateModel(HttpServletRequest request, Map<String, Object> model) {
// your code here
}
} |
Make sure the following line exists in your ModuleApplicationContext.xml file, substituting your module name for ModuleID. It typically is put just above the </beans> tag at the end.
...