<div dir="ltr">Hi guys,<div><br></div><div>I am using OpenCMS 10.5.1 and having trouble with cms.enableReload. Despite the fact that it is injected into my resource type, I don't see the resource-type appearing. The script works when run standalone outside of OpenCMS.</div><div><br></div><div><div><%@page buffer="none" session="false" trimDirectiveWhitespaces="true"%></div><div><%@ taglib prefix="cms" uri="<a href="http://www.opencms.org/taglib/cms">http://www.opencms.org/taglib/cms</a>"%></div><div><%@ taglib prefix="c" uri="<a href="http://java.sun.com/jsp/jstl/core">http://java.sun.com/jsp/jstl/core</a>"%></div><div><%@ taglib prefix="fmt" uri="<a href="http://java.sun.com/jsp/jstl/fmt">http://java.sun.com/jsp/jstl/fmt</a>"%></div><div><%@ taglib prefix="fn" uri="<a href="http://java.sun.com/jsp/jstl/functions">http://java.sun.com/jsp/jstl/functions</a>"%></div><div><%@ taglib prefix="elx" uri="/WEB-INF/taglib/elixir.tld"%></div><div><%@ taglib prefix="sql" uri="<a href="http://java.sun.com/jsp/jstl/sql">http://java.sun.com/jsp/jstl/sql</a>" %></div><div><br></div><div><cms:formatter var="content" val="chart"></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span><jsp:useBean id="db" class="com.elixirtech.opencms.DBConfig" /></div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span><sql:setDataSource var="spv2" driver="${db.driver}"</div><div>     <span class="gmail-Apple-tab-span" style="white-space:pre">             </span>url="${db.url}"</div><div>     <span class="gmail-Apple-tab-span" style="white-space:pre">              </span>user="${db.user}"  password="${db.password}"/></div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span><sql:query dataSource="${spv2}" var="prices"></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>${db.query}</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span></sql:query></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span><c:set var="options" value="..."/></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span><c:set var="data" value="..."/></div><div><br></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><c:set var="svg" value="img-${<a href="http://cms.element.id">cms.element.id</a>}"/></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">           </span><c:if test="${cms.edited}"></div><div>        <span class="gmail-Apple-tab-span" style="white-space:pre">        </span><!-- enforce an automatic reload, when the content is edited or</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                             </span>moved to another container --></div><div>        <span class="gmail-Apple-tab-span" style="white-space:pre">  </span>${cms.enableReload}</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">            </span></c:if></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">          </span><div id="${svg}"></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><span class="gmail-Apple-tab-span">...</span><span class="gmail-Apple-tab-span" style="white-space:pre">           </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span></script><span class="gmail-Apple-tab-span" style="white-space:pre">       </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span></div><span class="gmail-Apple-tab-span" style="white-space:pre">  </span></div><div></cms:formatter><br><br>When I insert the content, the screen flashes and then the content disappears. Do I need to do anything additional to make sure the content shows?<br><br></div><div>Regards,</div><div>Clement Wee</div><div>Singapore</div><div class="gmail_extra"><br><div class="gmail_quote"><br></div></div></div></div>