required and readOnly issues in an inputText in jsf
843844Feb 4 2010 — edited Nov 22 2010hy
i'm working on a web application , and i have a inputText in a jsf page
but by the requirement i need the inputText to be readOnly and required at the same time, the value of the inputText will be choosen from a catalog taht is a pop up window , so the intention is that the user does'nt type the value, but when i put the required and the readOnly properties it does the readOnly part but ignores
the required property
i have it like this
<t:inputText id="itNuevoCodigoProveedorReemplazo" forceId="true" binding="#{bkn_Prove.inputProveedorRemply}"
readOnly="true" required="true" value="#{bkn_Prove.newCodeProve}"
size="20" >
i also try modifying in the backing bean through the binding value but i have no result
thanks for any help