I use this (PrimeFaces, Java, JSF):
<p:calendar id="popupCal" yearRange="c:c+1" lang="fr" required="true"
requiredMessage="Date obligatoire" readonlyInput="true"
navigator="true" pattern="dd-M-yyyy" locale="fr"
showOn="both" value="#{commandeMB.commande.dateCmd}"
mindate="#{commandeMB.todaysDate}" />
and as I wrote, I set readonlyInput
to true
.
I tested also readonly
to true
and both to true
but no result, always the date can be changed.
Is it a bug?