Author: jleroux
Date: Wed May 22 09:33:46 2019
New Revision: 1859708
URL:
http://svn.apache.org/viewvc?rev=1859708&view=revLog:
Fixed: Replace request-redirect w/ no redirect-param attribute by
request-redirect-noparam
(OFBIZ-9997)
Getting to navigateContent in content component is better when using view.
You then get into the node you were working on (adding, updating or deleting)
Still WIP for the rest...
Modified:
ofbiz/ofbiz-framework/trunk/applications/content/webapp/content/WEB-INF/controller.xml
Modified: ofbiz/ofbiz-framework/trunk/applications/content/webapp/content/WEB-INF/controller.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/webapp/content/WEB-INF/controller.xml?rev=1859708&r1=1859707&r2=1859708&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/webapp/content/WEB-INF/controller.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/webapp/content/WEB-INF/controller.xml Wed May 22 09:33:46 2019
@@ -1810,19 +1810,19 @@ under the License.
<request-map uri="updateDocumentTree">
<security auth="true" https="true"/>
<event type="service" invoke="updateContent" />
- <response name="success" type="request-redirect-noparam" value="navigateContent"/>
+ <response name="success" type="view" value="navigateContent"/>
<response name="error" type="view" value="navigateContent"/>
</request-map>
<request-map uri="removeDocumentFromTree">
<security auth="true" https="true"/>
<event type="service" invoke="removeContentAssoc" path=""/>
- <response name="success" type="request-redirect-noparam" value="navigateContent"/>
+ <response name="success" type="view" value="navigateContent"/>
<response name="error" type="view" value="navigateContent"/>
</request-map>
<request-map uri="addDocumentToTree">
<security auth="true" https="true"/>
<event type="simple" invoke="createDocument" path="component://content/minilang/content/ContentEvents.xml" />
- <response name="success" type="request-redirect-noparam" value="navigateContent"/>
+ <response name="success" type="view" value="navigateContent"/>
<response name="error" type="request" value="navigateContent"/>
</request-map>
<request-map uri="showContent">