Thank you! Work!<div><br></div><div>Method deprecated =X since 6.1.8... <br><br><div class="gmail_quote">2012/7/31 Siegfried Ehret <span dir="ltr"><<a href="mailto:s.ehret@eurelis.com" target="_blank">s.ehret@eurelis.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You should use the readPropertyObject method from the CmsObject, not readProperty. It will give you a CmsProperty object, and then getValue(),
getValueList()…<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is that ok ?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a>]
<b>De la part de</b> Deiverson Silveira<br>
<b>Envoyé :</b> lundi 30 juillet 2012 18:18<br>
<b>À :</b> The OpenCms mailing list<br>
<b>Objet :</b> [opencms-dev] Problem with method readProperty(String, String) in OpenCms 8<u></u><u></u></span></p>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi List,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I have migration OpenCms 7 to 8, and I install 8 full, and export my project database/module, but I have problem with method:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">javax.servlet.jsp.JspException: org.apache.jasper.JasperException: Unable to compile class for JSP:
<br>
<br>
An error occurred at line: 34 in the jsp file: /WEB-INF/jsp/offline/system/modules/<a href="http://my.project.org/resources/inc/global/breadcrumbs.jsp" target="_blank">my.project.org/resources/inc/global/breadcrumbs.jsp</a><br>
The method readProperty(String, String) is undefined for the type CmsObject<br>
31: CmsJspActionElement cms = new CmsJspActionElement(pageContext, request, response);<br>
32: CmsObject obj = cms.getCmsObject();<br>
33: List list = cms.getNavigation().getNavigationBreadCrumb(1, true);<br>
34: currentPageTitle = obj.readProperty(namePage, "Title");<br>
35: %><br>
36: <br>
<br clear="all">
How can soluion this?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Deiverson<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br>
-- <u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><i><a href="http://www.solutioncms.com" target="_blank">www.solutioncms.com</a><u></u><u></u></i></p>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><i>The Brazilian <u></u><u></u></i></p>
<div>
<div>
<p class="MsoNormal"><i>Official Provider OpenCms<u></u><u></u></i></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div></div>
</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>
<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><br>
<br>
<br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <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><br>
</i></div>