no it's not possible with rich:datascroller. B.t.w. seems you need to investigate your concrete case more. Seems the demosite samples with scroller has no such performance issues?
Yes well it's still that problem from the other thread, with a4j:repeat.
again.. just general description not helps to see where the problem is.
demosite sample at http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?tab=modifiableDataModel works in FF for about a 1 sec and in IE about 2 sec. Simple example at datascroller page works even faster. So, need more careful results about where the time consumption happens in your case.
Allright well, thanks to Firebug profiler I could get a time consumption map, although only for RF3.2.2, as in 3.3.1 it only lists the onclick event in the profile results.
Anyway, here's a screenshot of the profile results. stripTags() here obviously takes all the time, not sure what happens there...
Need anything else?
Browsing a little through the code the stripTags() is just a regex expression applied to the response (if I'm correct).
Hence, I suspect the problem is just that the ajax response is 20KB and therefore takes a bit too much time? I'll try to see if I can optimise the markup a little, but I'm afraid that won't help much.
Don't you also think this is strange behaviour for Firefox anyway?
That's really time consuming. Can you please post page/bean code?
I have tried to reproduce your problem on our local environment without success. All seems good on our side. The time is about 1 sec in FF 3.5 and 90 % of the time is clearChildNodes() execution.
Can you please to prepare a simple example project with described problem and share it?
Ok thanks I'll see to create an as small as possible tryout project.
And if so, how?
Yes, it works for 3.3.1.GA also on our side after following steps:
1. Open tested page
2. Open firebug. Click Profile button.
3. Click RunReport button on your page (without the last 2 steps profile generates only onclick events, as you have written yearlier :))
4. After page reload click Profile again. After report will be generated clear log and perform necessary steps:
5. Click Profile -> open any page using datascroller -> click Profile again
I sent a PM with a link to the project.
I put in a couple of hours to make it work standalone so I hope it pays off.
Oh looks like I cannot PM you from here.
Can I get an email address because I'd rather not put a link up here.