public static class ERXResourceManager.PropertiesVersionManager extends Object implements ERXResourceManager.IVersionManager
Name | Description |
---|---|
er.extensions.ERXResourceManager.versionManager.default | the default version to use when an explicit version is not specified, defaults to app startup time. Ideally you should set this explicitly when you deploy, or multiple instance deployments will end up with different version numbers for the same resource. |
er.extensions.ERXResourceManager.versionManager.[bundleName].[resourceName]
| the version to send for the specified resource. If not set explicitly, the app default version will be used instead. |
Constructor and Description |
---|
PropertiesVersionManager() |
Modifier and Type | Method and Description |
---|---|
String |
versionedUrlForResourceNamed(String resourceUrl,
String name,
String bundleName,
NSArray<String> languages,
WORequest request)
Returns the variant of the given resource URL adjusted to include
version information.
|
public String versionedUrlForResourceNamed(String resourceUrl, String name, String bundleName, NSArray<String> languages, WORequest request)
ERXResourceManager.IVersionManager
versionedUrlForResourceNamed
in interface ERXResourceManager.IVersionManager
resourceUrl
- the original resource URLname
- the name of the resource being loadedbundleName
- the name of the bundle that contains the resourcelanguages
- the languages requestedrequest
- the requestCopyright © 2002 – 2024 Project Wonder.