<html><body><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000"><div>Hello,</div><div><br></div><div>has anyone found a solutions for this Problem?</div><div><br></div><div>I am using OpenCms 10.0.1 and it is not working:</div><div><br></div><div><p style="margin: 0px;" data-mce-style="margin: 0px;"><c:if test="${cms.edited}"><br> <!-- enforce an automatical reload, when the content is edited or moved to another container --><br> ${cms.enableReload}<br> <p>Script result not available after edit or move operation. Page is automatically reloaded.</p><br> </c:if></p></div><div><br></div><div>It show the <p> content, but it is not reloading</div><div><br></div><div>Best Regards</div><div>Martin</div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Von: </b>"Kai Schliemann" <K.Schliemann@comundus.com><br><b>An: </b>"The OpenCms mailing list" <opencms-dev@opencms.org><br><b>Gesendet: </b>Freitag, 3. Juni 2016 10:58:08<br><b>Betreff: </b>Re: [opencms-dev] OpenCms 9.5.3: auto reload after editing or adding news in a news list<br><div><br></div>
<style><!--
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Vorformatiert Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-priority:99;
mso-style-link:"HTML Vorformatiert";
font-family:Consolas;
color:black;}
span.E-MailFormatvorlage20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-MailFormatvorlage21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Hi Antonio,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">thanks a lot.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Unfortunately it is still not working. And I cannot figure out why.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">On the hand, we have an events list and whenever I create a new entry, it is automatically shown after saving it.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">And we do not use the enableReload method here.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Is there some other setting, which triggers the reload?</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Best regards</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Kai</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:windowtext;mso-fareast-language:DE">Von:</span></b><span style="color:windowtext;mso-fareast-language:DE"> opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]
<b>Im Auftrag von </b>Antonio Cordeddu<br>
<b>Gesendet:</b> Dienstag, 31. Mai 2016 10:11<br>
<b>An:</b> The OpenCms mailing list <opencms-dev@opencms.org><br>
<b>Betreff:</b> Re: [opencms-dev] OpenCms 9.5.3: auto reload after editing or adding news in a news list</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi Kai,<br>
<br>
you have to test if the page was edited, as in the following piece 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>
This works for me in OpenCms version 9.5.3. I hope this helps you.<br>
<br>
Kind regards<br>
Antonio Cordeddu<br>
<br>
<span style="font-size:12.0pt;mso-fareast-language:DE"></span></p>
<pre>_______________________________________________</pre>
<pre>Coranto informatica di Antonio Cordeddu</pre>
<pre><a href="mailto:antoniocordeddu@coranto.it" target="_blank">antoniocordeddu@coranto.it</a></pre>
<pre><a href="http://www.coranto.it" target="_blank">http://www.coranto.it</a></pre>
<pre>_______________________________________________</pre>
<p class="MsoNormal"><br>
<br>
On 30/05/2016 20:48, Schliemann, Kai wrote:</p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US">Hi list, </span></p>
<p class="MsoNormal"><span lang="EN-US">does anybody know, how to automatically reload the current page after adding or editing a news in a news list?
</span></p>
<p class="MsoNormal"><span lang="EN-US">I placed ${cms.enableReload} inside my news list formatter, but it does not help.
</span></p>
<p class="MsoNormal"><span lang="EN-US">I am using 9.5.3.</span></p>
<p class="MsoNormal"><span lang="EN-US">The documentation says: Placing ${cms.enableReload} somewhere in your formatter will result in an automatically page reload when a content is edited (or moved to a different container).</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards</span></p>
<p class="MsoNormal"><span lang="EN-US">Kai</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:DE"><br>
<br>
<br>
</span></p>
<pre>_______________________________________________</pre>
<pre>This mail is sent to you from the opencms-dev mailing list</pre>
<pre>To change your list options, or to unsubscribe from the list, please visit</pre>
<pre><a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a></pre>
<pre> </pre>
<pre> </pre>
<pre> </pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:DE"> </span></p>
</div>
<br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br>http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev<br><div><br></div><br><div><br></div></div><div><br></div></div></body></html>