Add support for presenting varying export options
-------------------------------------------------

         Key: BPM-258
         URL: http://jira.andromda.org/browse/BPM-258
     Project: Bpm4Struts Cartridge
        Type: Improvement
    Versions: 3.1-RC1    
    Reporter: Lee Greiner
 Assigned to: Wouter Zoons 
    Priority: Minor


Currently there is no way to control the export options that are presented at 
the bottom of a table. All 4 options, cvs, excel, pdf, and xml, are presented 
unconditionally even if the collection backing the table has the 
andromda.presentation.view.table.export tagged value set to something other 
than these 4 values.

I have improved on this in the following ways:

1) displaytag.properties.vsl will emit the export.csv, export.xml, export.pdf, 
and export.excel properties according to the defaultTableExportTypes namespace 
property.
2) page-table.jspf.vsl will emit <display:setProperty 
name="export.[csv|xml|pdf|excel]" value="[true|false]"/> according to 
table.tableExportTypes.

The result is that only those export types declared will be presented as icons 
below the table.

Patch to follow.




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

Reply via email to