Cette conversation a été verrouillée en raison de son inactivité. Veuillez créer une nouvelle publication.
Niveau 1
Niveau 2
Se connecter à la communauté
Connectez-vous pour voir tous les badges
Cette conversation a été verrouillée en raison de son inactivité. Veuillez créer une nouvelle publication.
If I am setting a map variable in the activate method of the component, then how to access that in sightly?
Résolu ! Accéder à la solution.
can you share your code of the Use-class?
Vues
Réponses
Nombre de J’aime
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>
Vues
Réponses
Nombre de J’aime
Vues
Likes
Réponses