ice:inputText not accepting values until tab out or mouse click
posted 5 years ago
I have a weird situation to my ice faces web page. I have a ice:inputText and ice:selectOneMenu in a panelGroup and if user enters any data in the inputText box and clicks on a button it should convert to read only mode i.e we are displaying the user enters data in the web page with iceutputText components. We have an option for the user to edit the previous entered data in the inputText.
So if user clicks on the edit option then we are displaying the ice:inputText with previous entered data.
The problem is when we enter the data in edit mode in the ice:inputText it's not accepting the values until user tab out or mouse click on the page or any value change in the ice:selectoneMenu we have in the page.
So it's accepting values only if some action occurs in UI. But we want to directly enter the values in ice:inputText without any action to be performed. So please advise if you have solution for this situation.