Skip to content

Commit

Permalink
LPS-81283 setting redirect to always go back to recordSet after edit …
Browse files Browse the repository at this point in the history
…record
  • Loading branch information
linolaoj authored and brianchandotcom committed May 23, 2018
1 parent 60cd5fb commit eefbaab
Showing 1 changed file with 7 additions and 1 deletion.
Expand Up @@ -163,8 +163,14 @@ 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="<%= redirect %>" />
<aui:input name="redirect" type="hidden" value="<%= viewRecordSetURL %>" />
<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 eefbaab

Please sign in to comment.