6 Replies Latest reply on Sep 27, 2012 7:29 AM by Mark Donovan

    Excel StyleClass and Style Evaluated Just Once (for First Row)

    Sean Gurevich Newbie

      I have EL values for styleClass attributes at the cell level of the worksheet, which set style of the cell conditionally. Based on the worksheet produced where the first row's formatting is applied to subsequent rows regardless of their context and the following Parser code:

         private StyleMap getStyleMap(UIComponent component)
            if (cellStyleCache.containsKey(component))
               return cellStyleCache.get(component);

      I assume the intention is to not reevaluate value expressions for each row of the spreadsheet. I can see the performance benefit; however, this approach differs from the typical JSF behavior, as far as I understand. Correct me, if I am missing something.

      Standing in the corner with a burst bubble,