1 Reply Latest reply on Aug 28, 2008 8:52 PM by nickarls

    seam-excel: master-details with subtotals

    vladimir.kovalyuk

      I'm trying to render excel worksheet that contains list of employees data grouped by departments. The only way I have found is to to arrange list of e:worksheets with the same name by starting row. I find it to be unnecessarily difficult. And render subtotals requires extra e:worksheet per master record.


      What I need is a tag that could help me to iterate (vertically and horizontally) e:worksheets without needs to calculate starting rows and columns.


      Ideally it would be nice if seam-excel introduced a component similar to rich:dataTable. (Probably it would be possible to override render kit for this particular component).


      And another difficulty is that e:worksheet does not work without var attribute. From the other hand I would like to just layout several cells on the worksheet. It would be convinient if there was a tag that renders just matrix with width and height specified.

        • 1. Re: seam-excel: master-details with subtotals
          nickarls

          You're one tough customer ;-)


          Show me some imaginary xhtml what you are looking for


          PS. worksheet should work without a var. Try


          <e:workbook
               xmlns="http://www.w3.org/1999/xhtml" 
               xmlns:e="http://jboss.com/products/seam/excel">
               <e:worksheet>
                    <e:cell row="1" column="1">Hello world!</e:cell>
               </e:worksheet>
          </e:workbook>