jQuery in Action, 2nd edition*
The moose likes JSF and the fly likes Loosing focus on a inputText box? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Loosing focus on a inputText box?" Watch "Loosing focus on a inputText box?" New topic

Loosing focus on a inputText box?

viswanath yadav

Joined: May 25, 2009
Posts: 15
Hi Everybody !

I am loosing the focus of the Text box when i tabbed out from one text box to another. I had a code like this,

<h:inputText id="BUField" value="#{DATA_ROW.data.glUnit}" size="12" onchange="submit()" valueChangeListener="#{distribLines.modifyBuVCL}" styleClass="#{DATA_ROW.data.buStyle}" >

<h:inputText id="account" value="#{DATA_ROW.data.account}" size="6" onchange="submit()" valueChangeListener="#{distribLines.modifyAccountVCL}" styleClass="#{DATA_ROW.data.accountStyle}" >

In the above code, while i am tabbing out from first filed to second field, i am not getting the focus of the curosr, the focus is going to some where else.

Please give me a solution to get the focus of the cursor as for the order of the inputText boxes.

Thanks in Advance,


subject: Loosing focus on a inputText box?
Similar Threads
inputtext- illegal syntax for set operation
selectmanyListBox - scroll position
disabled issue for inputtext
jsf ajax rerender inputText