skip to content
10/11/2015
integrator - template

Modify the filter on the 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"%>

Example

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