Yes that seems like a better idea, so something like this one right?
<t:datatable id="tableId">
...
...
...
</t:datatable>
<s:excelExporter for="" />
This would render a button and onclick exports the datatable data to excel format.
Cagatay
On 8/23/06, Martin Marinschek <
[EMAIL PROTECTED]> wrote:
Hmm... My problem with our extended data-table is that it is much
toooo overweight already. Couldn't we work with an extra component
here, which has a for-attribute referencing a dataTable-component, and
displays the button and on click the excel data for the dataTable?
regards,
Martin
On 8/23/06, Cagatay Civici <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've created a new feature for the datatable that allows exporting presented
> data to the excel format.
>
> Simply an excel button is placed on the datatable header and clicking on it
> makes an ajax request, a popup is displayed and excel file is presented.
>
> Following are the two screenshots;
>
> http://img206.imageshack.us/my.php?image=table17gs.jpg
> http://img80.imageshack.us/img80/3568/table7xm.jpg
>
> This was a requirement needed in my last project, I think it would also be
> useful if I integrate this for our extended datatable with an attribute.
>
> What do you think?
>
> Cagatay
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
