[jboss-user] [JBoss Seam] - Re: Excel support in Seam: any interest?

mjek2 do-not-reply at jboss.com
Wed Feb 28 10:36:21 EST 2007


Hi Gavin,

nice to hear ;)
I've experimented with JExcel API (http://jexcelapi.sourceforge.net/). My first xhtml pages look like:

  | <x:workbook xmlns:ui="http://java.sun.com/jsf/facelets"
  |             xmlns:s="http://jboss.com/products/seam/taglib"
  |             xmlns:x="http://jboss.com/products/seam/xls">
  | 
  |    <x:sheet name="test1">
  |    	<x:label row="0" column="0" text="header1"/>
  |    	<x:label row="0" column="1" text="header2"/>
  |         <x:label row="1" column="0" text="value1"/>
  |    	<x:label row="1" column="1" text="value2"/>
  |    </x:sheet>
  |    <x:sheet name="test2"/> 
  |    <x:sheet name="test3"/>
  | </x:workbook>   
  | 
It should be also easy to generate tables similar to Seam-PDF, various fonts, images, formulas, charts (limited).
I also think that classes from org.jboss.seam.pdf (not from org.jboss.seam.pdf.ui) could be reused for the Excel stuff (we just need to add DocType.XLS("xls", "application/msexcel") to org.jboss.seam.pdf .DocumentData. Furthermore some basic and non PDF-specific functionality (processing facets etc.) could be probably reused as well.
If it sounds feasible I could go on and add a Seam-XLS package with some examples.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023756#4023756

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023756



More information about the jboss-user mailing list