Re: TableComponentAsXlsHandler Problem

2012-05-21 Thread khanshan
@ Mr. Ziemelis thank you it works. sorry for late reply, thanks for everyone!! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TableComponentAsXlsHandler-Problem-tp4616754p4647807.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: TableComponentAsXlsHandler Problem

2012-05-11 Thread khanshan
Ok, I want to ask lastly, I dynamically generated a workbook HSSFWorkbook, and I want client to download that file inside of onclick method of a link. (BytearrayResource doesnt work, it makes problem, please another soulution) -- View this message in context: http://apache-wicket.1842946.n4.nab

Re: TableComponentAsXlsHandler Problem

2012-05-10 Thread khanshan
MArtin, Let me summarize problem, I want to post an excel file which is populated dynamiclally from database after on click of a link. I dont want to use TableComponentAsXlsHandler coz I dont want to load all data to a Listarraycomponent, coz I have to export huge number of rows such as 100.000 r

Re: TableComponentAsXlsHandler Problem

2012-05-10 Thread khanshan
So Mr Grigorev, Byte array causes problem? is there an alternative way to respond workbook ? of converting it to file, or sth else? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TableComponentAsXlsHandler-Problem-tp4616754p4622835.html Sent from the Users forum mai

Re: TableComponentAsXlsHandler Problem

2012-05-09 Thread khanshan
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 FileoutputS

Re: TableComponentAsXlsHandler Problem

2012-05-09 Thread khanshan
Mr. Grigorov, Any idea? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TableComponentAsXlsHandler-Problem-tp4616754p4620558.html Sent from the Users forum mailing list archive at Nabble.com. - To un

Re: TableComponentAsXlsHandler Problem

2012-05-09 Thread khanshan
well, if you say so, we have problem :) I use FileOutputStream while generating excel file. For last hope I write my logic below here, onClick(){ HSSFWorkbook hwb; FileOutputStream fileOut; hwb.write(fileOut); byte[] bai = hwb.getBytes(); ByteArrayResource byteArrayResource = new ByteArrayReso

Re: TableComponentAsXlsHandler Problem

2012-05-09 Thread khanshan
Hi there, I am almost handled my problem but. I have annoying problem with excel. I get excell output file via ByteArrayResource byteArrayResource = new ByteArrayResource("application/vnd.ms-excel", bai, "ayrint.xls"); RequestCycle.get().scheduleRequestHandlerAfterCurrent(new ResourceRequestHan

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread khanshan
Mr Grigorov, I would like to ask one last thing. I handled generating excell workbook, and laoding all mass of data to excell file, Ijust need helf about posting back that excell file via onclick method. I have excell file as, HSSFWorkbook hwb=new HSSFWorkbook(); and I need to bind that excell

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread khanshan
?? Any idea? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TableComponentAsXlsHandler-Problem-tp4616754p4616938.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread khanshan
I aggree that, loading to page after optimum number of records stucks page, I dont have problem with less than 5000 records listviews, So there should be a way to export all massive number of records via excell file, By exporting with excell, I dont need to load page, Do you think I can use a tri

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread khanshan
Hi Martin, First of all thanks for your reply, Actually my main problem is listing all 90.000 records on webpage, loading aListview from resultset takes so long time, and it stucks while webpage is adding component to itself. I wanted to avioid adding listwiew object if number of records are big

Re: TableComponentAsXlsHandler Problem

2012-05-08 Thread khanshan
Let me give an example, I have a resultset with 90.000 records, after onclick. it stucks on page and doesnt post excel file. I know it stucks on loading from listview to excell file, but there must be a better to way fasten it. -- View this message in context: http://apache-wicket.1842946.n4.na

Tab onclick behaviour.

2012-04-20 Thread khanshan
Hello everyone, I an new on wicket. And I am stucked!!! I have a tabbed page. and I want to implement for each tab different behaviour from database acording to onClick of each tab. here you can see markup. - < div wicket:id="tabs"> #tabs-1 Tab1 #tabs-2 Tab2 .. ...