Is it possible to implement live scrolling or lazy scrolling in a <div> which has <forEach> loop. I have the following codes in a <div>, I want to load the contents lazily.
<div class="update" id="update">
                    <c:forEach var="p" items="#{statusBean.statusList}"
                        varStatus="loop">
                        <h:form>
                            <c:if test="${p.statusmsg!=null}">
                                <div class="status">
                                                                //content
                                </div>
                            </c:if>
                        </h:form>
                    </c:forEach>
</div>
 
    