Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Configuration
-
Labels:None
Description
It would be a good idea to turn "public" the TableProperties.getProperty(String) method.
This way a user can define his own properties and use them in a custom tableDecorator.
In my case, I use the decorator for a "action" column. I want a property "actions.allowed" (just like "export.types") wich is default (e.g. "read delete update"). I want to be able to overide this property with a <display:setProperty/> tag. In the same way, I have "update.icon.path" property, etc...
I've cheked with the debugger, and these properties are loaded in the TableProperties.properties, but since all access methods are private, I have to load manually my properties file to get what i want.
This way a user can define his own properties and use them in a custom tableDecorator.
In my case, I use the decorator for a "action" column. I want a property "actions.allowed" (just like "export.types") wich is default (e.g. "read delete update"). I want to be able to overide this property with a <display:setProperty/> tag. In the same way, I have "update.icon.path" property, etc...
I've cheked with the debugger, and these properties are loaded in the TableProperties.properties, but since all access methods are private, I have to load manually my properties file to get what i want.