Getting null value in managed bean when readonly=true is given for h:inputText
Praveen Kusuma
Greenhorn
Joined: Aug 01, 2007
Posts: 3
posted
0
Hi When I am making <h:inputText> as readonly by giving readonly attribute as true, In Managed bean I am getting null value,I have also tried by making it as disable for this also it is giving as null. How to overcome this, is there any other alternative?
Thanks in Advance Praveen. [ August 01, 2007: Message edited by: PRAVEEN KUSUMA ]
Remko Strating
Ranch Hand
Joined: Dec 28, 2006
Posts: 893
posted
0
Adjust your setting so that it will not do an update when your receive null from the form or change your inputtext into an outputtext