myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Andersson" <mail.mi...@gmail.com>
Subject Re: Download File
Date Thu, 13 Sep 2007 15:50:41 GMT
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 <matzew@apache.org> wrote:
>
> On 9/13/07, Wolfgang <wkluge@ebi.ac.uk> 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 <wkluge@ebi.ac.uk> 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
>

Mime
View raw message