protected void encodeFreeList(FacesContext context, DataList component) throws IOException {
        component.forEachRow((status) -> {
            try {
                renderChildren(context, component);
            }
            catch (IOException e) {
                throw new FacesException(e);
            }
        });
    }
Renders items with no strict markup

@param context FacesContext instance
@param component    DataList component
@throws IOException if an input/ output error occurs
primefaces/src/main/java/org/primefaces/component/datalist/DataListRenderer.java