<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@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:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<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()…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Is that ok ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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""> opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]
<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<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi List,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></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:<o:p></o:p></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">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?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Deiverson<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
-- <o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><i><a href="http://www.solutioncms.com" target="_blank">www.solutioncms.com</a><o:p></o:p></i></p>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><i>The Brazilian <o:p></o:p></i></p>
<div>
<div>
<p class="MsoNormal"><i>Official Provider OpenCms<o:p></o:p></i></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>