[jbossseam-issues] [JBoss JIRA] Created: (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

Sean Gurevich (JIRA) jira-events at lists.jboss.org
Mon Jul 27 13:01:42 EDT 2009


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

                 Key: JBSEAM-4323
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4323
             Project: Seam
          Issue Type: Feature Request
          Components: Excel
    Affects Versions: 2.1.2.GA
         Environment: Developing on Windows XP.
            Reporter: Sean Gurevich


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list