<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This is a basic question but </FONT><FONT
face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In my config I've set </FONT></DIV>
<DIV><FONT face=Arial size=2>
staticexport.default.export=true</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>On my folder with my JSPs (and on the files in that
folder) I have the property:</FONT></DIV>
<DIV><FONT face=Arial size=2> export=dynamic</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can anyone please explain what I'm doing wrong.
I've read the comments in the config file but I'm none the wiser.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV><FONT face=Arial size=2>
<DIV><BR>Scott</DIV>
<DIV></FONT> </DIV></BODY></HTML>