Forums Register Login

ice:inputText not accepting values until tab out or mouse click

+Pie Number of slices to send: Send
Hi,
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 ice:outputText 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.

Thanks in advance.
Honk if you love justice! And honk twice for tiny ads!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1707 times.
Similar Threads
Dyanamic generation of JTabbedPane's Tab
handling cancel action effectively
Need some suggestion preventing user mouse click
Problem in Icefaces Input binding attribute
How to create copy/delete buttons for Input Text in JSF
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 03:16:40.