Hi mates,

I was about to suggest merging these two components (excel, pdf) export into
one component.

While I was developing the component, I intended to cope with the same
structure of the excelExport so that we can integrate them easily and
finally have a unified one component called (Exporter) for example :D which
works on standard HTML tables.

Here is an example in my mind)
<s:exporter for="<your table id>" type="pdf or xls or (xyz in the future)">
    <h:commandButton action="" value="Export"/>
</s:exporter>

I can work on making these two components in one component soon if you all
don't mind.

Thanks mates.


On Sat, Apr 5, 2008 at 11:55 AM, Matthias Wessendorf <[EMAIL PROTECTED]>
wrote:

> Hi
>
> On Sat, Apr 5, 2008 at 10:58 AM, Cagatay Civici
> <[EMAIL PROTECTED]> wrote:
> > Great!
> >
> > Does it work with client side state saving?
> >
> > Also since this is similar to excelexport which uses a phaselistener, we
> > should combine these into a ExporterPhaseListener to remove duplication.
>
> true. I thought the same. Internally we have a
> "exportCollectionActionListener" that has a type
> attribute to specify the desired *output*. We currently only support
> "excelHTML", but in order to
> support PDF, I would expect we also allow the type="pdf" case.
>
> So, a combination is desired.
>
> I have a question for you, is the excel independent from Tomahawk,
> like the PDF is ?
>
> But... anyway, this is sandbox and it is a great component. I am happy
> about it.
>
> Sandbox means not final / stable, so there might be room for
> improvements / changes.
>
> Thanks Hazem!
>
> -Matthias
>
> >
> >
> >
> >  On Sat, Apr 5, 2008 at 11:43 AM, Volker Weber <[EMAIL PROTECTED]>
> wrote:
> > > Hi,
> > >
> > > thanks Hazem,
> > >
> > > did this depends on the tomahawk datatable? Or does it also works with
> > > the standard h:datatable. If so i would prefer to see this in
> > > commons-(components ?) instead of in tomahawk.
> > >
> > >
> > > Regards,
> > >    Volker
> > >
> > >
> > >
> > > 2008/4/5, Hazem Saleh <[EMAIL PROTECTED]>:
> > >
> > >
> > >
> > > > Hi guys,
> > > > Iam pleased to tell you that the (PDFExport) component is finished.
> > > > It works like the (excelExport) component.
> > > >
> > > > for example)
> > > > <s:pdfExport for="<your table id>">
> > > >     <h:commandButton action="" value="Export as PDF"/>
> > > >  </s:pdfExport>
> > > >
> > > > Here is the patch url :
> > > > https://issues.apache.org/jira/browse/TOMAHAWK-1229
> > > >
> > > > Thanks all :).
> > > > --
> > > > Hazem Ahmed Saleh Ahmed
> > > >  http://www.jroller.com/page/HazemBlog
> > >
> > >
> > > --
> > > inexso - information exchange solutions GmbH
> > > Bismarckstraße 13      | 26122 Oldenburg
> > > Tel.: +49 441 4082 356 |
> > > FAX:  +49 441 4082 355 | www.inexso.de
> > >
> >
> >
>
>
>
> --
> 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

Reply via email to