Closed GoogleCodeExporter closed 9 years ago
Which export recipe are you refering to?
Original comment by jeff.johnston.mn@gmail.com
on 21 Apr 2010 at 12:50
in http://code.google.com/p/jmesa/wiki/Exports
Actually, I'm looking for an export 2 and more tables in multiple Excel
worksheets.
It possible? Thanks.
Original comment by peter.s...@gmail.com
on 21 Apr 2010 at 4:45
That code is no longer valid...I swapped that out a while back to use the
generic
ExportTableFactory. I will get that documentation updated! I try to stay on top
of
the documentation but as the API evolves sometimes things get missed.
Here is a code snippet from the TableFacadeImpl:
TableFactory tableFactory = new ExportTableFactory(getWebContext(),
getCoreContext());
return tableFactory.createTable(columnProperties);
You get a Table back and then can manipulate it however you want. Also, you can
pass
a different set of columnProperties for different exports (to either the facade
or
the factory).
What kind of functionality are you trying to get by using the factory directly?
BTW: one thing that would be really nice would be to get more builders like the
HtmlTableBuilder.
http://code.google.com/p/jmesa/wiki/HtmlTableBuilder
Original comment by jeff.johnston.mn@gmail.com
on 22 Apr 2010 at 2:34
Thanks Jeff.
I was searching the Wiki if JMesa is able to export Tables into multiple Excel
sheets. I don't now if this is possibe.
Original comment by peter.s...@gmail.com
on 22 Apr 2010 at 7:09
Ok. I see now. JMesa can only export one table at a time. With a custom view you
could take one table and write to multiple worksheets.
But I assume you want to export multiple tables on the same page? If so then you
could not do what you want out of the box.
That said...there is a chance you could still do this if you really needed it
(Maybe).
Are your tables in the same form? Would be willing to combine two worksheets
together? What I am wondering is if we could generate two separate worksheets
and
then combine them together. It would not be a hack but it would require some
custom
code (in your controller) to make it work.
If you are interested in trying this out I could send you more detailed
instructions...send me an email directly at jeff.johnston.mn@gmail.com.
Original comment by jeff.johnston.mn@gmail.com
on 22 Apr 2010 at 9:38
Not sure the result of this...will close for now.
Original comment by jeff.johnston.mn@gmail.com
on 9 Mar 2011 at 7:41
Original issue reported on code.google.com by
peter.s...@gmail.com
on 21 Apr 2010 at 9:13