Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
rajesh ka
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 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.

Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic