Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
If I am setting a map variable in the activate method of the component, then how to access that in sightly?
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
Vistas
Respuestas
Total de me gusta
can you share your code of the Use-class?
Vistas
Respuestas
Total de me gusta
Vistas
Respuestas
Total de me gusta
Thanks MacDonald, It Worked.
I also tried with a map having custom value object as value. below is the example.
public class customVO{
private String customVOAttr;
}
public class customPage extends WCMUse{
private Map<String,customVO> customVOMap;
public Map<String, customVO> getCustomVOMap() {
return customVOMap;
}
}
<div data-sly-list="${customPage.customVOMap.entrySet}">
${item.key} - ${item.value.customVOAttr}
</div>
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas