Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4323

Allow EL-based StyleClass and Style Attributes to be Reevaluated After the First Row of a Spreadsheet, i.e. Support Conditional Styles on Any Cell

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.2.GA
    • Fix Version/s: None
    • Component/s: Excel
    • Labels:
    • Environment:

      Developing on Windows XP.

      Description

      Currently, the Seam Excel library caches (maps) the worksheet cell's styles by the cell's UIComponent. Effectively, this leads to the styleClass and style attributes' evaluation to occur only once for the first row of data, then all subsequent rows inherit the styles. I have a need to apply conditional styling to cells in a row where the value expression in a styleClass/style attribute is reevaluated for each row of data, similar in behavior to a typical data iterator in JSF.

      In my discussion with Nicklas Karlsson, he's proposed a solution involving an attribute to disable this caching behavior; however retaining the default behavior for anyone that relies on the performance advantage of the caching.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                nickarls Nicklas Karlsson
                Reporter:
                sgurevich Sean Gurevich
              • Votes:
                4 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: