Well, find out what are the differences between:

hwb.write(fileOut);
vs.
byte[] bai = hwb.getBytes();

It seems hwb.getBytes() doesn't return all bytes ...

On Wed, May 9, 2012 at 5:37 PM, khanshan <hakansende...@yahoo.com> wrote:
> it works! I export data to excell file, browser downloads excell file,
>  but when I want to open excel file, it gives error as "corrupt in file" and
> doesnt open file, but I reopen file by the help. (as you can guess with the
> help of excell, corrupted files from left bar)
>
> I can say that FileoutputStream does work well, coz I can get excel file to
> my local without using RequestCycle.
>
> When I want to get file with RequestCycle via onclick property, I started to
> get error on excel file. But I have to output excel file with onclick , I
> dont need excell file on my local, client should get it :)
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/TableComponentAsXlsHandler-Problem-tp4616754p4620633.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to