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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...