Closed GoogleCodeExporter closed 9 years ago
That is a problem, yes. I think I have a fix for you. This will groups as much
evaluates together as possible. You can test this using the sources (branch
wicket-1.5 from github) or the 1.5 SNAPSHOT from our maven repo.
Please note that this does not group all evaluations.
Say you have component1 ... component12 and they are all WiQuery components add
them all to the AjaxRequestTarget:
You will have 12 evaluates. In each of these evaluates can be more one or more
statements. This because WiQuery scans for WiQuery enabled Behavior and WiQuery
enabled child components.
To fix this: wrap them in a container (eg WebMarkupContainer) and add the
container to the AjaxRequestTarget.
Original comment by hielke.hoeve
on 8 May 2012 at 5:36
Oki I test it on v1.5-SNAPSHOT : that's work well, but it's possible to have
this fix on v1.4 of wiquery too ?
Best regards
Duto
Original comment by dutrieux...@gmail.com
on 8 May 2012 at 7:23
Original comment by hielke.hoeve
on 22 May 2012 at 7:43
Original issue reported on code.google.com by
dutrieux...@gmail.com
on 5 Apr 2012 at 9:41