<p>Hi,</p>
<p>On behalf of those of us who utilize the hasMoreContent() method, can we have it back in future versions of OpenCMS please?</p>
<p>I have just installed OpenCMS 8.0.1 which had a couple of incompatibilities with our code base.</p>
<p>One incompatibility was easily fixed. However, the other incompatability (hasMoreContent() becoming hasMoreResources() in the following files has caused us major headaches:<br>CmsJspTagResourceLoad.java<br>I_CmsResourceContainer.java<br>
CmsJspTagContentLoad.java<br>CmsJspTagContentLoop.java</p>
<p>The reasons we are respectfully requesting hasMoreContent() back are as follows:<br>- We make extensive use of the hasMoreContent() method<br>- We have several production sites running OpenCMS 7.5.3. Most of these are high availability and shutting them down for upgrades at this time is very inconvenient.<br>
- We want to use OpenCMS 8 for future projects and eventually upgrade the other sites but, we don't want to maintain two code bases.</p>
<p>I feel we could have both hasMoreContent() and hasMoreResources() methods but deprecate hasMoreContent().</p>
<p>We have managed to get our code running on OpenCMS 8.0.1 by adding the following few lines to the Java files mentioned above and doing a custom build.</p>
<p><br>public boolean hasMoreContent() throws JspException {<br> return hasMoreResources();<br>}</p>
<p>OR</p>
<p>boolean hasMoreContent() throws JspException;</p>
<div><br>Those modifications seem to work OK however, I'm hoping we can eventually use a standard OpenCMS build.</div>
<div> </div>
<div>BTW, I am happy to email those files to anyone who wants a copy</div>
<p>Thank you.</p>
<p>Regards</p>
<p>Brett S</p>