This content has been marked as final.
Show 4 replies
-
1. Re: RichFaces components in to String
ilya_shaikovsky Sep 17, 2008 6:38 AM (in response to seamnewbie)the same as described there
http://wiki.apache.org/myfaces/Exporting_DataTable_To_MS-Excel -
2. Re: RichFaces components in to String
seamnewbie Sep 17, 2008 11:40 AM (in response to seamnewbie)Yeah, I've been on that website yesterday before I posted here my question. The problem there is that they are using Tomahawk Tag Library. In my app I'm using richfaces and wondering if we can do same thing in richfaces.
-
3. Re: RichFaces components in to String
ilya_shaikovsky Sep 18, 2008 6:02 AM (in response to seamnewbie)certainly yes.. dataModel for any table is remains the same? ;) So just export your data with POI
-
4. Re: RichFaces components in to String
seamnewbie Sep 18, 2008 11:49 AM (in response to seamnewbie)Yes, datatable should remain the same.
So, if this is possible to buffer Datatable to a string then how do I do that?
Is is possible to store other JSF components to a string so I can work with it later. For example if I have this:Lable Header Lable Table1 DataTable 1 Lable Table21 DataTable 2 Lable Footer
So, i want to enclose this to a buffer tag (same as they did in that Tomahawk example) to a variable.
Is there any examples of how to do that.
Thanks