Ability to create custom properties
-----------------------------------

                 Key: DISPL-498
                 URL: http://jira.codehaus.org/browse/DISPL-498
             Project: DisplayTag
          Issue Type: Improvement
          Components: Configuration
            Reporter: Erwan Lacoste
            Priority: Minor


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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to