Sorry wrong method name, should be "exportHtmlTableToExcel", copy pasting is
difficult ;)


On 13/09/2007, Mikael Andersson <[EMAIL PROTECTED]> wrote:
>
> You can also do this with plain jsf in a action method.
>
> Search for this method "getInstrumentsBySecCodePattern" on this page :
> http://wiki.apache.org/myfaces/Exporting_DataTable_To_MS-Excel
>
> That method could easily be changed into a normal action method. Seem to
> remeber there was a page in the wiki with howto-download information but
> couldn't find it :)
>
> Cheers,
> Mike
>
>
> On 13/09/2007, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> >
> > On 9/13/07, Wolfgang <[EMAIL PROTECTED]> wrote:
> > > Which Trinidad component should that be??
> >
> > no component; an actionListener.
> >
> > See the doc:
> >
> >
> > http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_fileDownloadActionListener.html
> >
> > source is here:
> >
> >
> > http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/listener/FileDownloadActionListener.java?revision=548532&view=markup
> >
> > > Can I also use the upload file component for downloading?
> >
> > no.
> >
> > greetings,
> > matthias
> >
> > > > Trinidad has an actionlistener for that.
> > > > If you aren't using trinidad, you still can take a look at the code
> > > > and use its logic.
> > > >
> > > > -Matthias
> > > >
> > > > On 9/13/07, Wolfgang <[EMAIL PROTECTED]> wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> is there any kind of a jsf component with which I can download
> > files?
> > > >> I need just a simple download-button on my webpage.
> > > >>
> > > >> Cheers!
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > mail: matzew-at-apache-dot-org
> >
>
>

Reply via email to