How to stop the user in entering text for h:inputText ?

Posted by gurupriyan.e on Stack Overflow See other posts from Stack Overflow or by gurupriyan.e
Published on 2010-06-17T14:37:57Z Indexed on 2010/06/17 14:53 UTC
Read the original article Hit count: 175

Filed under:

I am using JSF 1.2 - My Faces Implementation. I have a form , I use h:inputText to display few values. There are 2 input boxes which should not be edited but shown to the user and should be submitted to the server when the submit it clicked. I tried readonly="true" and disabled="true", both did not solve the purpose! Any suggestions?

© Stack Overflow or respective owner

Related posts about jsf