<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Nachricht</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=115190115-20072004><FONT face=Arial color=#0000ff size=2>If
there is an error in the caching in 5.3.x (which I seriously
doubt) the first thing needed would be a complete description of the observed
behaviour, to enable someone to reproduce the "bug" (if there is
one).</FONT></SPAN></DIV>
<DIV><SPAN class=115190115-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN
class=115190115-20072004><!-- Converted from text/plain format --><BR>
<P><FONT size=2>Best Regards,<BR>Alex.<BR><BR>Alexander Kandzior<BR>Alkacon
Software - The OpenCms Experts<BR><A
href="http://www.alkacon.com/">http://www.alkacon.com</A></FONT>
</P></SPAN></DIV>
<DIV><SPAN class=115190115-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-admin@opencms.org [mailto:opencms-dev-admin@opencms.org] <B>On
Behalf Of </B>Oliver Pereira<BR><B>Sent:</B> Tuesday, July 20, 2004 4:06
PM<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B> RE: [opencms-dev]
Alternative for getPath<BR><B>Importance:</B> High<BR><BR></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT size=2>Alexander
,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2>Thanks for your response</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2>It seems that the caching for version 5.3.x is not
complete or stable.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2>I keep getting different versions of the same page in the
"online" mode even with caching turned off (set to
"never")</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2>The offline version works fine.. (offcourse the pages
have been publised)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2>Any ideas how to fix this?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529510314-20072004><FONT face=Arial
color=#0000ff size=2>Oliver</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Alexander Kandzior
[mailto:alex@opencms.org] <BR><B>Sent:</B> 20 July 2004 12:37<BR><B>To:</B>
opencms-dev@opencms.org<BR><B>Subject:</B> RE: [opencms-dev] Alternative for
getPath<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff size=2>use
</FONT></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2>org.opencms.file.CmsResource.getRootPath() </FONT></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff size=2>to
get the "full" root path. If you are working in a site, you need to
remove the site root. </FONT></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2>Here's some basic code to achive this:</FONT></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2>CmsObject cms;</FONT></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2>CmsResource res;</FONT></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff size=2>//
make sure cms / res are initialized</FONT></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2>String path =
cms.getRequestContext().getSitePath(res);</FONT></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff size=2>or
simpler:</FONT></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2>String path = cms.getSitePath(res); // internally does the
same</FONT></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2>Please note that this is true for the current CVS and also for the
to-be-released future versions of OpenCms. Some earlier versions of 5.3.x
might have the naming of the methods different.</FONT></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN
class=221193011-20072004><!-- Converted from text/plain format --><FONT
face=Arial color=#0000ff size=2></FONT><BR>
<P><FONT size=2>Best Regards,<BR>Alex.<BR><BR>Alexander Kandzior<BR>Alkacon
Software - The OpenCms Experts<BR><A
href="http://www.alkacon.com/">http://www.alkacon.com</A></FONT>
</P></SPAN></DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=221193011-20072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-admin@opencms.org [mailto:opencms-dev-admin@opencms.org] <B>On
Behalf Of </B>Oliver Pereira<BR><B>Sent:</B> Tuesday, July 20, 2004 1:16
PM<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev]
Alternative for getPath<BR><B>Importance:</B> High<BR><BR></FONT></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-gb><FONT face=Arial size=2>Hi,</FONT></SPAN> </P>
<P><SPAN lang=en-gb><FONT face=Arial size=2>What is the new alternative
method for the getPath() method in 5.3.x? (com.opencms.file.CmsFile.getPath
and the opencms.file.CmsResource.getPath)</FONT></SPAN></P>
<P><SPAN lang=en-gb><FONT face=Arial size=2>I am trying to import the
application developed in 5.0.1 into 5.3.x</FONT></SPAN> </P>
<P><SPAN lang=en-gb><FONT face=Arial size=2>Do you have any suggestions /
hints in finding the required methods in OpenCMS 5.3.x;.</FONT></SPAN> </P>
<P><SPAN lang=en-gb><FONT face=Arial size=2>I am using eclipse to do the
search</FONT></SPAN> </P>
<P><SPAN lang=en-gb><FONT face=Arial size=2>Regards,</FONT></SPAN> </P>
<P><SPAN lang=en-gb><FONT face=Arial size=2>Oliver</FONT></SPAN>
</P></BLOCKQUOTE><BR>_____________________________________________________________________<BR>This
e-mail has been scanned for viruses by MCI's Internet Managed Scanning
Services - powered by MessageLabs. For further information visit
http://www.mci.com<BR></BLOCKQUOTE></BODY></HTML>