actionRequest, "portletResourceNamespace");
long classNameId = ParamUtil.getLong(actionRequest, "classNameId");
long classPK = ParamUtil.getLong(actionRequest, "classPK");
String structureAvailableFields = ParamUtil.getString(
actionRequest, "structureAvailableFields");
<BUG>PortletURLImpl portletURL = new PortletURLImpl(
actionRequest, themeDisplay.getPpid(), themeDisplay.getPlid(),</BUG>
PortletRequest.RENDER_PHASE);
portletURL.setParameter("mvcPath", "/edit_template.jsp");
portletURL.setParameter("redirect", redirect, false);

actionRequest, "portletResourceNamespace");
long classNameId = ParamUtil.getLong(actionRequest, "classNameId");
long classPK = ParamUtil.getLong(actionRequest, "classPK");
String structureAvailableFields = ParamUtil.getString(
actionRequest, "structureAvailableFields");
LiferayPortletURL portletURL = PortletURLFactoryUtil.create(
actionRequest, themeDisplay.getPpid(), themeDisplay.getPlid(),
PortletRequest.RENDER_PHASE);
portletURL.setParameter("mvcPath", "/edit_template.jsp");
portletURL.setParameter("redirect", redirect, false);
