Configuration: allow setting of common display:table attributes via properties 
file  (excludedParams, requestURI, etc)
----------------------------------------------------------------------------------------------------------------------

         Key: DISPL-277
         URL: http://jira.codehaus.org/browse/DISPL-277
     Project: DisplayTag
        Type: Improvement

  Components: Configuration  
    Reporter: Brad Wehrwein
    Priority: Minor


Particularly in large-scale deployments of display:table, it requires a great 
deal of effort to modify every instance of display:table when an attribute must 
be changed application-wide (think hundreds of JSPs). I propose the addition of 
configuration (displaytag.properties) options to allow common attributes to be 
easily modified in a single location rather than forcing developers to touch 
every page.  Specifying this information in the properties file would also 
allow the associated attributes to be removed from JSPs, simplifying and 
reducing the amount of actual code to maintain.

This can apply to the following attributes which are likely to vary less than 
other attributes throughout:
<display:table>
- excludedParams
- requestURI
- sort
- class (this is important. It breaks seperation of concerns- data vs. 
presentation. CSS is widely considered the proper way to provide style 
information (note: in one place)).

<display:column>
- headerClass (see display:table 'class', above)

-- 
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. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to