probleme avec <h:commandLink
Salut;
mon but c'est d'afficher une boite de dialogue lorsque je click sur un lien, j'ai utiliser "<h:commandLink" voila quelques parties du code:
Code:
1 2 3 4 5 6 7 8 9 10
| <h:form>
<h:outputText value="Jai lu et japprouve" />
<h:commandLink id="Link1" value="les Termes et Conditions." onclick="composeDlg.show()" style="FONT-SIZE: large; FONT-WEIGHT: bold; COLOR: #0000a0; FONT-FAMILY: 'Times New Roman';"/>
<p:selectBooleanCheckbox value="#{abonneBean.value1}" />
</h:form>
<p:dialog widgetVar="composeDlg" header="Termes et Conditions" width="530" showEffect="fade" hideEffect="fade" >
<h:form>
<h:outputText value="Objet: " style="COLOR: #ff0000; FONT-WEIGHT: bold; FONT-FAMILY: 'Times New Roman'; FONT-SIZE: medium;"/> </h:form>
</p:dialog> |
mais la boite de dialogue s'affiche puis disparait! j'arrive pas a connaitre le probleme.
merci