@Named @ApplicationScoped public class PropertyController extends Object implements Serializable
The PropertyController can be used in a JSF page to access a specific property by name:
#{propertyController.getProperty('my-property')}
#{propertyController.getProperty('another-property','default value')}
| Constructor and Description |
|---|
PropertyController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String key)
Returns a property value
|
String |
getProperty(String key,
String defaultValue)
Returns a property value
|
Copyright © 2016–2022 Imixs Software Solutions GmbH. All rights reserved.