[opencms-dev] setting default expiration

Jonathon Mar jmar at salesforce.com
Thu Jul 6 20:22:59 CEST 2006


Hi,
Does anyone know if it is possible to set a default expiration for a
resource through the xsd file?  The idea is to default expiration for
all resources of a given type to be 1 week from creation date.  I tried
inserting the following line under the defaults node, with no success:

<default element="Expiration" value="${currenttime + 604800000}"/>

Thanks,
Jon




More information about the opencms-dev mailing list