<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Clement,<br>
      <br>
      the right way to use  "${cms.enableReload}"  is as for the
      following excerpt of code:<br>
      <br>
      <c:if test="${cms.edited}"><br>
              <!-- enforce an automatical reload, when the content is
      edited or moved to another container --><br>
                  ${cms.enableReload}<br>
      </c:if><br>
      <br>
      Regards<br>
      Antonio<br>
      <br>
      <pre class="moz-signature" cols="72">_______________________________________________
Coranto informatica di Antonio Cordeddu
<a class="moz-txt-link-abbreviated" href="mailto:antoniocordeddu@coranto.it">antoniocordeddu@coranto.it</a>
Skype: antonio.cordeddu
<a class="moz-txt-link-freetext" href="http://www.coranto.it">http://www.coranto.it</a>
_______________________________________________</pre>
      <br>
      <br>
      On 31/03/2017 05:44, Clement Wee wrote:<br>
    </div>
    <blockquote
cite="mid:CAM8TMLBTyxaT7Vr4+KyhpqExn4K1Yo9f78OrA+JJ2KUy7QftRQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi guys,<br>
        <br>
        I am using OpenCMS 10.5.1.<br>
        <br>
        ${cms.enableReload} isn't working for me.<br>
        <br>
        My formatter is this:<br>
        <br>
        <div><%@page buffer="none" session="false"
          trimDirectiveWhitespaces="true"%></div>
        <div><%@ taglib prefix="cms" uri="<a moz-do-not-send="true"
            href="http://www.opencms.org/taglib/cms">http://www.opencms.org/taglib/cms</a>"%></div>
        <div><%@ taglib prefix="c" uri="<a moz-do-not-send="true"
            href="http://java.sun.com/jsp/jstl/core">http://java.sun.com/jsp/jstl/core</a>"%></div>
        <div><%@ taglib prefix="fmt" uri="<a moz-do-not-send="true"
            href="http://java.sun.com/jsp/jstl/fmt">http://java.sun.com/jsp/jstl/fmt</a>"%></div>
        <div><%@ taglib prefix="fn" uri="<a moz-do-not-send="true"
            href="http://java.sun.com/jsp/jstl/functions">http://java.sun.com/jsp/jstl/functions</a>"%></div>
        <div><cms:formatter var="content"></div>
        <div>${cms.enableReload}</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span><div
          class="margin-bottom-30" ></div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span><div
          id="chart-${<a moz-do-not-send="true"
            href="http://cms.element.id">cms.element.id</a>}"></div></div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span><script></div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>Highcharts.chart("chart-${<a
            moz-do-not-send="true" href="http://cms.element.id">cms.element.id</a>}",
          {</div>
        <div><br>
        </div>
        <div>    title: {</div>
        <div>        text: "${content.value.Title}"</div>
        <div>    },</div>
        <div><br>
        </div>
        <div>    subtitle: {</div>
        <div>        text: 'Source: <a moz-do-not-send="true"
            href="http://thesolarfoundation.com">thesolarfoundation.com</a>'</div>
        <div>    },</div>
        <div><br>
        </div>
        <div>    yAxis: {</div>
        <div>        title: {</div>
        <div>            text: 'Number of Employees'</div>
        <div>        }</div>
        <div>    },</div>
        <div>    legend: {</div>
        <div>        layout: 'vertical',</div>
        <div>        align: 'right',</div>
        <div>        verticalAlign: 'middle'</div>
        <div>    },</div>
        <div><br>
        </div>
        <div>    plotOptions: {</div>
        <div>        series: {</div>
        <div>            pointStart: 2010</div>
        <div>        }</div>
        <div>    },</div>
        <div><br>
        </div>
        <div>    series: [{</div>
        <div>        name: 'Installation',</div>
        <div>        data: [43934, 52503, 57177, 69658, 97031, 119931,
          137133, 154175]</div>
        <div>    }, {</div>
        <div>        name: 'Manufacturing',</div>
        <div>        data: [24916, 24064, 29742, 29851, 32490, 30282,
          38121, 40434]</div>
        <div>    }, {</div>
        <div>        name: 'Sales & Distribution',</div>
        <div>        data: [11744, 17722, 16005, 19771, 20185, 24377,
          32147, 39387]</div>
        <div>    }, {</div>
        <div>        name: 'Project Development',</div>
        <div>        data: [null, null, 7988, 12169, 15112, 22452,
          34400, 34227]</div>
        <div>    }, {</div>
        <div>        name: 'Other',</div>
        <div>        data: [12908, 5948, 8105, 11248, 8989, 11816,
          18274, 18111]</div>
        <div>    }]</div>
        <div><br>
        </div>
        <div>});</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span></script></div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span></div><br>
          <br>
          My Schema has the single default field "Title" and my
          formatter config includes the HighCharts JS properly.<br>
          <br>
          The formatter has no other issue other than that it doesn't
          refresh after closing the editor view.<br>
          <br>
          Why might this be so? is ${cms.enableReload} placed in the
          wrong location?<br>
          <br>
          Regards,<br>
          Clement<br>
          <br>
          P.S.: I asked this question before, but it didn't get any
          reply, so I am posting it again as I really need a solution to
          this.</div>
        <div class="gmail_extra"><br>
        </div>
      </div>
    </blockquote>
    <br>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>