Extender Thymeleaf creando un nuevo tag

1 – Crear un procesador para el tag package com.cpe.thymeleaf.processor; import com.cpe.custom.util.AuthUtil; import org.springframework.security.core.Authentication; import org.thymeleaf.context.ITemplateContext; import org.thymeleaf.engine.AttributeName;...

Y de pronto… Bucle

Credits: SM List<Slide> auxList = carousel.getSlides(); for(int i=0; i<auxList.size(); i++){ if(carousel.getSlides().get(i).getActiveSlide()) auxList.add(carousel.getSlides().get(i));...