Multiple <lift:lazy-load> in the same page does not work as expected
Multiple <lift:lazy-load> tag in one page does not work properly, Lift recognizes only the first one, remaining ones it skips.
Here is a sample html code:
<lift:surround with="default" at="content">
<table>
<lift:lazy-load>
</lift:lazy-load>
<lift:lazy-load>
</lift:lazy-load>
<lift:lazy-load>
</lift:lazy-load>
</table>
</lift:surround>
In the above example only the first tag gets executed and hence it prints only the first statement "First Lazy call". Remaining tags are skipped.
Whereas all three should have been executed.
Here is a sample html code:
<lift:surround with="default" at="content">
<table>
<lift:lazy-load>
First Lazy call
</lift:lazy-load>
<lift:lazy-load>
Second Lazy call
</lift:lazy-load>
<lift:lazy-load>
Third Lazy call
</lift:lazy-load>
</table>
</lift:surround>
In the above example only the first tag gets executed and hence it prints only the first statement "First Lazy call". Remaining tags are skipped.
Whereas all three should have been executed.
Leave a comment
file:cqNzhIKrmr37dzeJe5cbLr: An implementation of a fix
on 2010-07-17 07:32 *
By marius.danciu
Assigned to set to marius.danciu
Status changed from New to Accepted
(In revision:e3b205aebcd3847c84ad0ecf95aa92b2ffba4022) Closes #588, rectifies LazyLoader problems and also deals better with thread pools and such
Branch: master
Branch: master