[opencms-dev] invalid navigation paths in demo project
Alexander Kandzior
alex at opencms.org
Thu Dec 5 18:40:30 CET 2002
Werner,
this error occures because
a) static export of JSP pages (or templates) is NYI in 5.0b2
b) if you create a new "page" with the default template, it will not
have the "export" property set - this means it will automatically be
exported for the "online" project (which is the default behaviour for
all pages)
This applies only to the "online" project. The "offline" project never
is exported and so will work without problems. The export itself happens
when you publish an offline project.
We will have static export of JSPs supported in the next release.
A workaround to fix this
a) attach property "export" with the value "false" to a folder to
prevent all files in this folder to get exported and attach the property
to all individual file in the "root" VFS
b) you can also set "staticexport.enabled=false" in the file
/WEB-INF/config/opencms.properties to just disable the static export
Best Regards,
Alex.
Alexander Kandzior
OpenCms Group / Alkacon Software
> -----Original Message-----
> From: owner-opencms-dev at www.opencms.org
> [mailto:owner-opencms-dev at www.opencms.org] On Behalf Of weHe
> @ FreeCreatives
> Sent: Thursday, December 05, 2002 12:12 PM
> To: Opencms-Dev
> Subject: [opencms-dev] invalid navigation paths in demo project
>
>
> Hi,
>
> I've followed the demo in the book's chapter one
> and created two pages to see the navigational links
> created by openCMS (v5beta)....
>
> unfortunaltely, the navigation links for my pages point to
> /opencms/export/projects/<file> instead of
> /opencms/opencms/projects/<file>
>
> when I follow them, an error message
> "+++
> CmsJspTemplate.getContent(/system/modules/default/frametemplat
> es/default):
> Static export of JSP not supported! +++"
> appears instead of the page,
> while the page can be properly views
> at the /opencms/opencms/projects/... location
> (btw, they're all *.html, no *.jsp files!!)
>
> Any ideas what I'm doing wrong?
> Thanks a lot for your help and all the best!
> Werner Hennrich
>
More information about the opencms-dev
mailing list