[debutant]javascript et JSF
Bonjour,
Voila j'ai un petit souci avec mon formulaire jsf.
je voudrais faire un
monForm.monBoutonSubmit.disabled=true;
en javascript au onclick sur le commandButton .....
mais voila ..... il renomme mon commandButton par monForm:monBoutonSubmit
en gros voila mon code :
Code:
1 2 3 4 5 6
|
<h:form id="illFront">
<h:commandButton type="submit" id="submitForm" value="Generate Report" onclick="illFront.illFront:submitForm.disabled=true;" action="#{maClasse.validateForm}" />
</h:form> |
une idée ?
merci pour toute aide
Pim