title: what is th proper way to refresh a full page on SAPUI5 (ESLINT:(sap-no-location-reload))?
body: <h2>Environment :</h2>
  
  <p>Framework : <strong>SAPUI5</strong><br>
  Version : <strong>1.65.6</strong><br>
  IDE : web-ide</p>
  
  <h2>Problem :</h2>
  
  <p>My code works but according to the IDE maybe not in the proper way, Web-Ide return the error :</p>
  
  <blockquote>
    <p>location.reload() is not permitted. (sap-no-location-reload)<br>
     [ESLINT:
    (sap-no-location-reload)]</p>
  </blockquote>
  
  <h2>Code (minimal to reproduce):</h2>
  
  <p>the controller :</p>
  
  <pre><code>sap.ui.define([
      "sap/ui/core/mvc/Controller",
      "sap/ui/model/json/JSONModel"
  ], function (Controller, JSONModel) {
      "use strict";
  
      return Controller.extend("namespace.controller.App", {
          onInit: function () {
              this.getView().setModel(new JSONModel({ 
                      actualizationDate: new Date()
                      }), "frontEnd");
          },
          onPressRefresh: function(){
              location.reload();
          }
      });
  });
  </code></pre>
  
  <p>And the view :</p>
  
  <pre><code>&lt;mvc:View 
      controllerName="namespace.controller.App" 
      xmlns:core="sap.ui.core"
      xmlns:mvc="sap.ui.core.mvc"
      xmlns="sap.m"&gt;
      &lt;Shell id="shell"&gt;
          &lt;App id="app"&gt;
              &lt;pages&gt;
                  &lt;Page id="page" title="{i18n&gt;title}"&gt;
                      &lt;content&gt;
                          &lt;Label text="{i18n&gt;lastActualizedDateTime}" labelFor="lastActualizedTime" class="sapUiSmallMarginEnd"/&gt;
                          &lt;DateTimePicker 
                              id="lastActualizedTime" 
                              value="{path: 'frontEnd&gt;/actualizationDate'}" 
                                      valueFormat="yyyy-MM-dd HH:mm:ss" 
                                      displayFormat="yyyy-MM-dd HH:mm:ss" 
                                      enabled="false"/&gt;
                          &lt;Button icon="sap-icon://refresh" type="Transparent" press="onPressRefresh"/&gt;
                      &lt;/content&gt;
                  &lt;/Page&gt;
              &lt;/pages&gt;
          &lt;/App&gt;
      &lt;/Shell&gt;
  &lt;/mvc:View&gt;
  </code></pre>
  
  <p>For reproduce you can directly copy past the code in WebIde creating template from SAPUI5 Application.</p>
  
  <h2>Remarks:</h2>
  
  <ul>
  <li>I know the code work normally with <code>location.reload();</code>, I wish to know if their is a proper way to do the same in SAPUI5 (By proper way I mean not returning ESLINT error)  </li>
  <li><code>location.reload();</code> is in onPressRefresh on the controller, their is more code only for you to be able to reproduce the problem by a simple copy past in your web-ide</li>
  </ul>