/**
* This Action gets a regionId from the request and puts it as parentRegionId into the
* request. It also sets the "jspPage" parameter to "contentAddRegionJSP" so that
* processing is forwarded to add_region.jsp.
*
* @param request
* @param response
* @throws PortalException
* @throws java.lang.Exception
*/
@ProcessAction(name = "regionDisplayAddSubRegion")
public void regionDisplayAddSubRegion(ActionRequest request, ActionResponse response) {
try {
long parentRegionId = ParamUtil.getLong(request, "parentRegionId");
// _log.debug("parentRegionId: " + parentRegionId);
if (Validator.isNotNull(parentRegionId)) {
request.setAttribute("parentRegionId", parentRegionId);
response.setRenderParameter("jspPage", contentAddRegionJSP);
}
} catch (Exception e) {
_log.debug(e.getMessage());
request.setAttribute("languageId", ParamUtil.getLong(request, "languageId"));
}
}
ContentPortlet.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:govapps
作者:
评论列表
文章目录