@Override
protected void doEncodeChildren(final ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
final AbstractCarousel repeater = (AbstractCarousel) component;
if (repeater.getValue() != null) {
try {
DataVisitor visitor = new DataVisitor() {
public DataVisitResult process(FacesContext context, Object rowKey, Object argument) {
repeater.setRowKey(context, rowKey);
if (repeater.isRowAvailable()) {
if (repeater.getChildCount() > 0) {