Public Member Functions | |
| boolean | responseRewriterShouldAddResource (String framework, String fileName) |
| ERXResponseRewriter.Resource | responseRewriterWillAddResource (String framework, String fileName) |
Called prior to adding resources at all. Returning false will skip the addition completely.
| framework | the requested framework of the addition (can be null) | |
| fileName | the requested fileName of the addition (can be a URL, absolute path, or relative resource path) |
Provides the ability to override the requested framework and fileName with a custom alternative. For example, if you want to replace all "Ajax" "prototype.js" imports, you can provide your own alternative "app" "prototype.js".
| framework | the requested framework of the addition (can be null) | |
| fileName | the requested fileName of the addition (can be a URL, absolute path, or relative resource path) |
1.5.8