Module tapestry.asset
Back to master index

[public] Configuration Point tapestry.asset.UnprotectedAssetsOccurs: unbounded
Maps asset path regexp patterns to assets that won't be required to have md5sum digests, making them visible and accessible to unauthenticated url requests. Care should be taken contributing here. Most things should remain protected, like .class files, database configuration files, etc. This configuration is mainly intended to help some resources that require being able to dynamically load content on the browser client-side. One such resource is the http://dojotoolkit.org javascript library, which loads javascript/css/other resources dynamically via XmlHttpRequests for resources that haven't been previously digested.
Schema
Element <unprotected-resource>
Attribute contains (required) (unique) Translator: string
The regexp pattern to match against.
Conversion Rules
<push-attribute attribute="contains" />
<invoke-parent method="addElement" />
Contribution from module tapestry.asset
<unprotected-resource contains="^/tapestry.*/" />
<unprotected-resource contains="^/org/apache/tapestry/.*.css" />
<unprotected-resource contains="^/org/apache/tapestry/.*.gif" />
<unprotected-resource contains="^/org/apache/tapestry/.*.png" />
<unprotected-resource contains="^/org/apache/tapestry/.*.jpg" />
<unprotected-resource contains="^/org/apache/tapestry/.*.js" />
<unprotected-resource contains="^/org/apache/tapestry/.*.htm" />
<unprotected-resource contains="^/org/apache/tapestry/.*.html" />
<unprotected-resource contains="^/dojo.*/" />
<unprotected-resource contains="^/scriptaculous.*/" />

Module tapestry.asset
Back to master index