[opencms-dev] Problem with method readProperty(String, String) in OpenCms 8

Deiverson Silveira deiverson at solutioncms.com
Tue Jul 31 16:24:12 CEST 2012


Thank you! Work!

Method deprecated =X since 6.1.8...

2012/7/31 Siegfried Ehret <s.ehret at eurelis.com>

>  You should use the readPropertyObject method from the CmsObject, not
> readProperty. It will give you a CmsProperty object, and then getValue(),
> getValueList()…****
>
> Is that ok ?****
>
> ** **
>
> *De :* opencms-dev-bounces at opencms.org [mailto:
> opencms-dev-bounces at opencms.org] *De la part de* Deiverson Silveira
> *Envoyé :* lundi 30 juillet 2012 18:18
> *À :* The OpenCms mailing list
> *Objet :* [opencms-dev] Problem with method readProperty(String, String)
> in OpenCms 8****
>
> ** **
>
> Hi List,****
>
>  ****
>
> I have migration OpenCms 7 to 8, and I install 8 full, and export my
> project database/module, but I have problem with method:****
>
> javax.servlet.jsp.JspException: org.apache.jasper.JasperException: Unable
> to compile class for JSP:
>
> An error occurred at line: 34 in the jsp file:
> /WEB-INF/jsp/offline/system/modules/
> my.project.org/resources/inc/global/breadcrumbs.jsp
> The method readProperty(String, String) is undefined for the type CmsObject
> 31: CmsJspActionElement cms = new CmsJspActionElement(pageContext,
> request, response);
> 32: CmsObject obj = cms.getCmsObject();
> 33: List list = cms.getNavigation().getNavigationBreadCrumb(1, true);
> 34: currentPageTitle = obj.readProperty(namePage, "Title");
> 35: %>
> 36:
>
> How can soluion this?****
>
>  ****
>
> Regards,****
>
>  ****
>
> Deiverson****
>
>
> -- ****
>
> *www.solutioncms.com*
>
> *The Brazilian *
>
> *Official Provider OpenCms*
>
> ** **
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>


-- 
*
www.solutioncms.com
The Brazilian
Official Provider OpenCms

*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120731/e0aeeb6b/attachment.htm>


More information about the opencms-dev mailing list