Hi Matzew,
What is the problem with the previous syntax :-
<s:exporter for="<your dataTable id>" fileType="<EXCEL or PDF>">
<h:commandButton action="" value="Export"/>
</s:exporter>
On Fri, Apr 18, 2008 at 6:57 PM, Matthias Wessendorf <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I would instead of:
> <s:exporter for="<your dataTable id>" fileType="<EXCEL or PDF>">
> <h:commandButton action="" value="Export"/>
> </s:exporter>
>
> expect something like:
>
> <commandButton...>
> <s:exporter/>
> </commandButton>
>
> On Fri, Apr 18, 2008 at 6:49 PM, Hazem Saleh <[EMAIL PROTECTED]>
> wrote:
> > Hi Team,
> > Generated file is now depending on the mime type :) .
> >
> > Here is an example of usage)
> > <s:exporter for="<your dataTable id>" fileType="<XLS or PDF>">
> > <h:commandButton action="" value="Export"/>
> > </s:exporter>
> > Thanks all for your suggestions.
> >
> >
> >
> > On Fri, Apr 18, 2008 at 5:45 AM, Hazem Saleh <[EMAIL PROTECTED]>
> wrote:
> > > Hi Team,
> > > Iam pleased to tell you that I integrated both the excelExport and the
> > pdfExport components into
> > > one single component called (exporter).
> > >
> > > Till now, it exports the contents of DataTables to EXCEL or PDF files.
> > >
> > > Here is an example of usage)
> > > <s:exporter for="<your dataTable id>" fileType="<EXCEL or PDF>">
> > > <h:commandButton action="" value="Export"/>
> > > </s:exporter>
> > >
> > > Here is the patch URL:
> > > https://issues.apache.org/jira/browse/TOMAHAWK-1231
> > >
> > > Thanks all very much.
> > > --
> > > Hazem Ahmed Saleh Ahmed
> > > http://www.jroller.com/page/HazemBlog
> >
> >
> >
> > --
> > Hazem Ahmed Saleh Ahmed
> > http://www.jroller.com/page/HazemBlog
>
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
>
--
Hazem Ahmed Saleh Ahmed
http://www.jroller.com/page/HazemBlog