[opencms-dev] Export link problem

Scott Newham scott at wranglers.com.au
Tue Jul 22 10:42:02 CEST 2003


Hi,

This is a basic question but I've browsed the archive and can't find an answer. I'm having trouble getting the expected behaviour using <cms:link>. I've got my content exported by default and now my links to dynamic content are incorrectly formed as "export" URIs.

In my config I've set 
   staticexport.default.export=true

On my folder with my JSPs (and on the files in that folder) I have the property:
   export=dynamic

When a JSP runs with a link to that "dynamic" folder (using cms:link) it substitutes for the "export URI" rather than the URI of the opencms VFS folder.

I stepped through the code and found that when it creates the link opencms tries all the dynamic rules and then after none of them succeeds it settles on the export rule. 

Can anyone please explain what I'm doing wrong. I've read the comments in the config file but I'm none the wiser.

Thanks

Scott

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


More information about the opencms-dev mailing list