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 > > > > > > >