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


    • 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:


      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




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


                • Created: