just tested p:stack with snapshot from 18 march and found an issue in EL lecture for icons.
instead of
Code: Select all
http://localhost:8080/ortho/javax.faces.resource/fav_tele_on.png.jsf?ln=images
Code: Select all
http://localhost:8080/ortho/ortho/javax.faces.resource/fav_tele_on.png.jsf?ln=images
Code: Select all
<p:stack icon="#{resource['images:stack.png']}" >
<p:stackItem icon="#{resource['images:fav_ca.png']}" label="Dossiers et CA" url="" />
<p:stackItem icon="#{resource['images:fav_mouv.png']}" label="Mouvement de stock" url="" />
<p:stackItem icon="#{resource['images:fav_panier.png']}" label="Panier" url="" />
<p:stackItem icon="#{resource['images:fav_patients.png']}" label="Dossiers et patients" url="" />
<p:stackItem icon="#{resource['images:fav_rech_art.png']}" label="Rechercher un article" url="" />
<p:stackItem icon="#{resource['images:fav_rech_cde.png']}" label="Rechercher une commande" url="" />
<p:stackItem icon="#{resource['images:fav_tele.png']}" label="Télétransmission" url="" />
</p:stack></div>