@Component(value="cuba_PortalSiteSettings")
public class SiteSettings
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Configuration |
configuration |
protected FormatStringsRegistry |
formatStringsRegistry |
Constructor and Description |
---|
SiteSettings() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
composeFullAbsolutePath(java.lang.String path) |
java.lang.String |
composeFullRelativePath(java.lang.String path)
Basically this method prepends webapp's prefix to the path
|
java.util.Properties |
getFreeMarkerSettings() |
@Inject protected Configuration configuration
@Inject protected FormatStringsRegistry formatStringsRegistry
public java.lang.String composeFullRelativePath(java.lang.String path)
path
- path relative to the root of webapppublic java.lang.String composeFullAbsolutePath(java.lang.String path)
path
- path relative to the root of webapppublic java.util.Properties getFreeMarkerSettings()