Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

required and readOnly issues in an inputText in jsf

843844Feb 4 2010 — edited Nov 22 2010
hy
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2010
Added on Feb 4 2010
4 comments
6,811 views