Skip to content

Commit

Permalink
LPS-81538 Use redirect url instead of view record set url, since edit…
Browse files Browse the repository at this point in the history
…ing form records is possible in other portlets
  • Loading branch information
Pedro Queiroz committed Jun 6, 2018
1 parent 6e38045 commit 28b8acf
Showing 1 changed file with 1 addition and 7 deletions.
Expand Up @@ -163,14 +163,8 @@ else {
</c:if>

<div class="sidenav-content">
<liferay-portlet:renderURL varImpl="viewRecordSetURL">
<portlet:param name="mvcPath" value="/view_record_set.jsp" />
<portlet:param name="recordSetId" value="<%= String.valueOf(recordSetId) %>" />
<portlet:param name="displayStyle" value="<%= ddlDisplayContext.getDisplayStyle() %>" />
</liferay-portlet:renderURL>

<aui:form action="<%= (record == null) ? addRecordURL : updateRecordURL %>" cssClass="container-fluid-1280" enctype="multipart/form-data" method="post" name="fm">
<aui:input name="redirect" type="hidden" value="<%= viewRecordSetURL %>" />
<aui:input name="redirect" type="hidden" value="<%= redirect %>" />
<aui:input name="recordId" type="hidden" value="<%= recordId %>" />
<aui:input name="groupId" type="hidden" value="<%= recordSet.getGroupId() %>" />
<aui:input name="recordSetId" type="hidden" value="<%= recordSetId %>" />
Expand Down

0 comments on commit 28b8acf

Please sign in to comment.