Sorry for so much questions but it’s the first webapp I have to develop. How 
can I change the ContentDisposition to show the data embedded in the browser? 
Which Link or button should I use.


Mit freundlichen Grüßen
Christoph Manig
Systems Engineer

T-Systems International GmbH
Systems Integration - SC Travel, Transport & Logistics
Hoyerswerdaer Str. 18
01099 Dresden 
tel.:   +49 (0) 351 / 8152 - 188
fax:    +49 (0) 351 / 8152 – 209
email:  christoph.ma...@t-systems.com

T-SYSTEMS INTERNATIONAL GMBH
Aufsichtsrat: Thomas Dannenfeldt (Vorsitzender)
Geschäftsführung: Reinhard Clemens (Vorsitzender), Dr. Ferri Abolhassan, Thilo 
Kusch, Dr. Markus Müller, Georg Pepping, Hagen Rickmann
Handelsregister: Amtsgericht Frankfurt am Main HRB 55933
Sitz der Gesellschaft: Frankfurt am Main
WEEE-Reg.-Nr. DE50335567


-----Ursprüngliche Nachricht-----
Von: Martin Grigorov [mailto:mgrigo...@apache.org] 
Gesendet: Montag, 24. März 2014 15:25
An: users@wicket.apache.org
Betreff: Re: Show Excelsheet in Browser

You can't at the moment.

Martin Grigorov
Wicket Training and Consulting


On Mon, Mar 24, 2014 at 4:19 PM, <christoph.ma...@t-systems.com> wrote:

> How can I change the ContentDisposition while using an DownloadLink?
>
>
> Mit freundlichen Grüßen
> Christoph Manig
> Systems Engineer
>
> T-Systems International GmbH
> Systems Integration - SC Travel, Transport & Logistics Hoyerswerdaer 
> Str. 18
> 01099 Dresden
> tel.:   +49 (0) 351 / 8152 - 188
> fax:    +49 (0) 351 / 8152 – 209
> email:  christoph.ma...@t-systems.com
>
> T-SYSTEMS INTERNATIONAL GMBH
> Aufsichtsrat: Thomas Dannenfeldt (Vorsitzender)
> Geschäftsführung: Reinhard Clemens (Vorsitzender), Dr. Ferri 
> Abolhassan, Thilo Kusch, Dr. Markus Müller, Georg Pepping, Hagen 
> Rickmann
> Handelsregister: Amtsgericht Frankfurt am Main HRB 55933 Sitz der 
> Gesellschaft: Frankfurt am Main WEEE-Reg.-Nr. DE50335567
>
>
> -----Ursprüngliche Nachricht-----
> Von: Martin Grigorov [mailto:mgrigo...@apache.org]
> Gesendet: Montag, 24. März 2014 14:45
> An: users@wicket.apache.org
> Betreff: Re: Show Excelsheet in Browser
>
> Yes, DownloadLink uses ContentDisposition.ATTACHMENT. You need #INLINE.
> That's why I said to use it as an example.
>
> Martin Grigorov
> Wicket Training and Consulting
>
>
> On Mon, Mar 24, 2014 at 3:39 PM, <christoph.ma...@t-systems.com> wrote:
>
> > The DownloadLink open the save as dialog but I want to show the data 
> > in a browser embedded excel. Are there other Wicket-Components to
> implement this?
> >
> >
> > Mit freundlichen Grüßen
> > Christoph Manig
> > Systems Engineer
> >
> > T-Systems International GmbH
> > Systems Integration - SC Travel, Transport & Logistics Hoyerswerdaer 
> > Str. 18
> > 01099 Dresden
> > tel.:   +49 (0) 351 / 8152 - 188
> > fax:    +49 (0) 351 / 8152 – 209
> > email:  christoph.ma...@t-systems.com
> >
> > T-SYSTEMS INTERNATIONAL GMBH
> > Aufsichtsrat: Thomas Dannenfeldt (Vorsitzender)
> > Geschäftsführung: Reinhard Clemens (Vorsitzender), Dr. Ferri 
> > Abolhassan, Thilo Kusch, Dr. Markus Müller, Georg Pepping, Hagen 
> > Rickmann
> > Handelsregister: Amtsgericht Frankfurt am Main HRB 55933 Sitz der
> > Gesellschaft: Frankfurt am Main WEEE-Reg.-Nr. DE50335567
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Martin Grigorov [mailto:mgrigo...@apache.org]
> > Gesendet: Montag, 24. März 2014 14:25
> > An: users@wicket.apache.org
> > Betreff: Re: Show Excelsheet in Browser
> >
> > then all you need is to set few response headers:
> > Content-Disposition: Inline
> > Content-type: (see http://stackoverflow.com/a/2938188/497381)
> >
> > See org.apache.wicket.markup.html.link.DownloadLink#onClick for an 
> > example how to do this
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> >
> >
> > On Mon, Mar 24, 2014 at 3:17 PM, <christoph.ma...@t-systems.com> wrote:
> >
> > > Hello,
> > >
> > > iam getting an byte array from the backend and I want to send this 
> > > to the browser with an outputstream. So the browser notice that he 
> > > gets an excel sheet and shows this. It should be the same if you 
> > > open pdfs with the browser while downloading this data.
> > >
> > >
> > > Mit freundlichen Grüßen
> > > Christoph Manig
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Martin Grigorov [mailto:mgrigo...@apache.org]
> > > Gesendet: Montag, 24. März 2014 14:03
> > > An: users@wicket.apache.org
> > > Betreff: Re: Show Excelsheet in Browser
> > >
> > > Hi,
> > >
> > > You can use a JavaScript solution like 
> > > http://handsontable.com/index.htmlto show spreadsheet like tables.
> > > I am not sure whether it supports multiple sheets.
> > > I guess there are more such JS solutions out there.
> > >
> > > Martin Grigorov
> > > Wicket Training and Consulting
> > >
> > >
> > > On Mon, Mar 24, 2014 at 2:56 PM, <christoph.ma...@t-systems.com>
> wrote:
> > >
> > > > Hello,
> > > >
> > > > I want to show an excel data set by clicking on a wicket button.
> > > > The sheet should be shown in the browser and this data set has 
> > > > multiple
> > > table-sheets.
> > > > How can I do that with wicket?
> > > >
> > > >
> > > > Mit freundlichen Grüßen
> > > > Christoph Manig
> > > >
> > > >
> > > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to