Wicket Render speed

2012-08-25 Thread steven.li
Hi All I have a dataview table, for 50 rows, it takes around 10 seconds to show the page, and the render part take around 8-9 seconds from debug log, Any way to improve this ? Each row, there are 2 input DateText filed, three labels, 4 checkbox, 2 icons and 2-3 placehoder TD. around 100 charact

Re: Slow rendering

2012-08-25 Thread steven.li
Enable wicket debug log, it will show the begin render and end render time in log file. log4j.logger.org.apache.wicket=debug -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Slow-rendering-tp4395082p4651490.html Sent from the Users forum mailing list archive at Nabbl

Re: Slow rendering

2012-08-25 Thread steven.li
how to let it render lazily? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Slow-rendering-tp4395082p4651491.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-m

Re: Wicket Render speed

2012-08-25 Thread steven.li
yes. I use loadabledetachable model. it's the initial time loading takes too long time. and from the debug log, it shows most of time are spend on "Beging Render"--"Rendered"---"End Render" -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Render-speed-tp465148

Re: Wicket Render speed

2012-08-25 Thread steven.li
what profiler can we use ? I changed to deploy mode, the result is the same . If I remove the 4 combo checkbox, it will be much faster. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Render-speed-tp4651489p4651505.html Sent from the Users forum mailing list

Re: Wicket Render speed

2012-08-27 Thread steven.li
Thanks. Found out the root cause by jprofiler. It's the model problem, too many times to read database directly in the model. Thanks for your help very much ! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Render-speed-tp4651489p4651523.html Sent from the

update parent table model from modal window

2012-10-18 Thread steven.li
Hi all I have a listview, in the populate list Item with a link, whenever I click the link, it will pop up a modal window. when I close the modal window, I need refresh the listview's model. then when I click the save button on the page, it can load the detachable model of listview, to save da

Re: Load table rows lazy when click browser scrollbar

2012-10-22 Thread steven.li
I have run the demo application, found that, the "Scroll on Page" link only show 13 rows result without go to next page when i pull down the page scroll bar. I test it on IE8. do you have the same issue ? Thanks. - Steven Li Skyworthglobal www.skyworthglobal.com -- View this message in

Re: Load table rows lazy when click browser scrollbar

2012-10-26 Thread steven.li
Yes, I can find a workround for this limit. but met into another one, in my case, each row contains multiple, and under , there are label, span. seems it doesn't work well if is wrapped by . see attached zip file, If I remove the , it works fine in IE. but failed to reload next page

AjaxCheckbox javascript with onUpdate together

2012-10-31 Thread steven.li
hi al Is it possible to call onUpdate method and at the same time set javascript for the ajaxcheckbox component with add(new AttributeModifier("onclick", xxx)) ? as I have lots of logic implemented in javascript, but right now ,I need to use the onUpdate method to keep the checkbox state from pa

SortableDataProvider setSort default sort order

2012-11-11 Thread steven.li
Hi all what's the default sort order of SortableDataProvider ? such as , I have column A,B,C, and I call setSort("C", SortOrder.descending), then how it will return results if 10 rows with the same value C ? that means, how to compare between column A and column B, which I didn't specify in the

Re: SortableDataProvider setSort default sort order

2012-11-12 Thread steven.li
thanks, you are right, that's how I do it. I use two different sql, which use different sort method, so that's the issue. but I misunderstand about this point. Thanks for your clarification. - Steven Li Skyworthglobal www.skyworthglobal.com -- View this message in context: http://apache