skip to content
10/11/2015
integrator - template

Change filter on image link

some time the filter on a image proposed by the controler is'nt correct.  But we can change it in the renderer.

For that we use the tag "changeFilter" for create a new url in request scope.

Import tag lib

<%@ taglib uri="/WEB-INF/javlo.tld" prefix="jv"%>

Exemple

<jv:changeFilter var="newURL" url="${image.url}" filter="reference-list" newFilter="marketing" />
<img src="${newURL}" class="img-circle" alt="${image.description}" />