<br><font size=2 face="sans-serif">No, I neglected to do that.....that
was silly.</font>
<br>
<br><font size=2 face="sans-serif">I've since overided the getCacheDirectives
method in the template class of the frame template, but the form is still
being cached.</font>
<br>
<br><font size=2 face="sans-serif">I'm wondering if this is the correct
location. Currently I have a frame template calling a contenttemplate
which then calls the element.</font>
<br>
<br><font size=2 face="sans-serif">Where should I overide the getCacheDirectives
method? In the frame, the content template or the element?</font>
<br>
<br><font size=2 face="sans-serif">In addition, when I set the elementcache.enabled
to be false in the opencms.properties file, the offline version of the
file doesn't display, but shows the following error:</font>
<br>
<br><font size=2 face="sans-serif">com.opencms.core.CmsException: 0 Unknown
exception. Detailed error: A relative path has entered the A_CmsXmlContent
class. filename=../frametemplates/secondLevelFrame. </font>
<br><font size=2 face="sans-serif"> at
com.opencms.template.A_CmsXmlContent.init(A_CmsXmlContent.java:1031)</font>
<br><font size=2 face="sans-serif"> at
com.opencms.template.CmsXmlTemplateFile.<init>(CmsXmlTemplateFile.java:105)</font>
<br><font size=2 face="sans-serif"> at
com.opencms.template.CmsXmlTemplate.getOwnTemplateFile(CmsXmlTemplate.java:399)</font>
<br><font size=2 face="sans-serif"> at
com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:160)</font>
<br><font size=2 face="sans-serif"> at
com.opencms.template.CmsXmlTemplate.templateElement(CmsXmlTemplate.java:1468)</font>
<br><font size=2 face="sans-serif"> at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</font>
<br><font size=2 face="sans-serif"> ......</font>
<br>
<br><font size=2 face="sans-serif"><br>
Regards,<br>
Aaron <br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>"Irene Santerini" <i.santerini@inera.it></b></font>
<br><font size=1 face="sans-serif">Sent by: owner-opencms-dev@www.opencms.org</font>
<p><font size=1 face="sans-serif">25/02/03 19:46</font>
<br><font size=1 face="sans-serif">Please respond to opencms-dev</font>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To:
<opencms-dev@www.opencms.org></font>
<br><font size=1 face="sans-serif"> cc:
</font>
<br><font size=1 face="sans-serif"> Subject:
Re: [opencms-dev] contact us form not
working in online project</font></table>
<br>
<br>
<br>
<br><font size=2>Hi Aaron,</font>
<br><font size=3> </font>
<br><font size=2> do you have implemented the method "getCacheDirectives"
in your class?</font>
<br><font size=3> </font>
<br><font size=2>Irene.</font>
<br><font size=3>----- Original Message ----- </font>
<br><font size=3><b>From:</b> </font><a href=mailto:astaffo2@csc.com.au><font size=3 color=blue><u>astaffo2@csc.com.au</u></font></a><font size=3>
</font>
<br><font size=3><b>To:</b> </font><a href="mailto:opencms-dev@opencms.com"><font size=3 color=blue><u>opencms-dev@opencms.com</u></font></a><font size=3>
</font>
<br><font size=3><b>Sent:</b> Tuesday, February 25, 2003 6:25 AM</font>
<br><font size=3><b>Subject:</b> [opencms-dev] contact us form not
working in online project</font>
<br>
<br>
<br><font size=2>Hi all</font><font size=3> </font>
<br>
<br><font size=2>We've implemented a Contact Us form using the built-in
form handling facility of ocms.</font><font size=3> </font>
<br>
<br><font size=2>This form utilises the code example set found in the user's
guide and works perfectly in the offline project.</font><font size=3> </font>
<br>
<br><font size=2>The problem lies in the online project when we publish
this form. When we access the form, it displays fine, but when
submitted it flicks back to the form as a basic html form would behave.</font><font size=3>
</font>
<br>
<br><font size=2>What I'm assuming is that the class isn't being
invoked at this point.</font><font size=3> </font>
<br>
<br><font size=2>Other custom classes we've created are being called
happily in the online project - all the classes including the contact
us class are in a jar file in the WEB-INF/lib directory.</font><font size=3>
</font>
<br>
<br><font size=2>Has anyone experienced this or have any suggestions?</font><font size=3>
</font>
<br>
<br><font size=2>Regards,</font>
<br><font size=2>Aaron</font>
<br>