[opencms-dev] OpenCms 8 DetailPages
Siegfried Ehret
s.ehret at eurelis.com
Wed Jul 20 17:16:45 CEST 2011
I reply to myself :
XSD code :
<mappings>
<mapping element="Title" mapto="urlName" />
</mappings>
Template jsp :
<cms:container name="centercontainer" type="full" width="460" maxElements="6" detailview="true"/>
How to activate viewers :
- Open the ADE nav.
- Click on the big « + » (create page)
- Go to the « Special » tab
- Add your viewer / detail page to the place you want.
- PROFIT.
Adding the viewer somewhere registers the detail page.
Everything went better than expected.
De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de Siegfried Ehret
Envoyé : mercredi 20 juillet 2011 14:21
À : The OpenCms mailing list
Objet : [opencms-dev] OpenCms 8 DetailPages
Hi all,
I read the OpenCms Days docs which talk about generic viewer pages.
I can't get it to work...
I configured the DetailPage Type & Page in the sitemap .config file.
I have the <mapping element="Title" mapto="urlName" /> element in my schema.
My template has a <cms:container name="centercontainer" type="full" width="460" maxElements="6" detailview="true"/>.
When I add somewhere a link to a content file, I got this error :
« javax.servlet.jsp.JspException: org.opencms.main.CmsException: Error while reading element bean from request
Reason: Error while reading element bean from request »
Like it doesn't use my DetailPage to display the content.
Anyone got through this ?
Thanks.
Siegfried Ehret
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110720/c3d66b83/attachment.htm>
More information about the opencms-dev
mailing list