Fixes for caching issue with PageRenderer freemarker template processing

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6905 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-10-03 09:30:14 +00:00
parent 4403c1d083
commit b26870416a
3 changed files with 17 additions and 1 deletions

View File

@@ -94,6 +94,10 @@ public final class ScriptUrlMethod implements TemplateMethodModelEx
buf.append('&');
}
}
else
{
buf.append('?');
}
buf.append("guest=" + (req.isGuest() ? "true" : ""));
if (req.getFormatStyle() == FormatStyle.argument)
{