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

awhitford do-not-reply at jboss.com
Wed Mar 7 12:55:05 EST 2007


I'd like to add my two cents...

First off, I agree that a displaytag equivalent is a great idea!  Sometimes a simple solution is the best.  And I too have searched for a JSF equivalent to displaytag.  I would love to see Seam (or one of the Faces sister projects) provide something like this.

As far as creating true Excel sheets (similar to creating PDF), that would also be a nice feature.  But the simpler displaytag case whereby a user can export a grid into Excel is a higher priority for me that I would expect to use more frequently.

For what it is worth, I have been using a simple strategy for several years now to create an Excel file:  simply create an HTML page and specify the content type to be "application/vnd.ms-excel".  In ColdFusion, there is a cfcontent tag:<cfcontent type="application/vnd.ms-excel">And Java/JSP has a similar mechanism (see javax.servlet.ServletResponse.setContentType).  The neat thing about the HTML import is that a lot of formatting is maintained.  I've even managed to build formulas and Pivot Tables via HTML.


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

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



More information about the jboss-user mailing list