<div>Hello Gleb,</div><div><br></div><div>I searched here, and looked in the source code of the OpenCms 8.0, and this function is defined on I_CmsXmlContentContainer:</div><div> hasMoreContent boolean () throws JspException.</div>
<div><br></div><div>I think you might be experiencing a caching problem on the application server, this class is the implementation of taglib <cms: contentload collector = "singlefile"!</div><div><br></div><div>
- Have you tried the clean install, after install, make export the modules of your project to OpenCms 8?</div><div><br></div><div>Don't update, install clean, export your module project OpenCms 7 and import in OpenCms 8 install clean!</div>
<div><br></div><div>I belive this way you have sucess!</div><div><br></div><div>Regards,</div><div><br></div><div>Deiverson Silveira</div><div><br></div><br><div class="gmail_quote">2011/5/30 gleb makarov <span dir="ltr"><<a href="mailto:gleb.a.makarov@gmail.com">gleb.a.makarov@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<p class="MsoNormal"><span lang="EN-US">Hello
everyone,<br>
<br>
Our problem was solved by updating the JDBC driver. Installation was
completed without any problems after that.<br>
<br>
But now we have another problem: to display XML content, we use the code listed
below in the templates of our web pages. </span></p>
<p class="MsoNormal"><span lang="EN-US">After last
upgrade, system started showing this error: The method hasMoreContent() is
undefined for the type I_CmsXmlContentContainer. So my question is: whether
this method is not supported since 8.0 version, and how should we update our
code to fix this issue without too much effort (we have this code in the most part of
our templates). <br>
<br>
Any information would be appreciated. Thank you in advance.<br>
<br>
Code example of displaying XML contents with Java:</span></p>
...<br> I_CmsXmlContentContainer contentContainer = thisPage.contentload("singleFile", param, false); <br> I_CmsXmlContentContainer elementContainer = null;<br> while(contentContainer.hasMoreContent()){<br>
elementContainer = thisPage.contentloop(contentContainer, "Offer");<br> while(elementContainer.hasMoreContent()){ <br> out.writeln(thisPage.contentshow(contentContainer, "Title"));<br>
... <br> }<br> }<br> ...<div><div></div><div class="h5"><br><br></div></div></blockquote></div><br>-- <br><i><div><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline !important">
<span style="font-style:normal"><i><a href="http://www.solutioncms.com" target="_blank">www.solutioncms.com</a></i></span></div></i></span></div><div><span style="font-style:normal"><i><span style="font-style:normal"><i><div>
<span style="font-style:normal"><i><div style="display:inline !important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline !important"><i>The Brazilian </i><span style="font-style:normal"><i><div style="display:inline !important">
<span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline !important"><i>Official Provider OpenCms</i></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div>
</i></span></i></span></div></i></span></div></i><br>